# Function generated by gcc, but modified by hand.

.machine power8
	.machine altivec
	.abiversion 2
	.section	".text"
	.align 2
	.p2align 4,,15
	.globl call_old_func
	.type	call_old_func, @function
call_old_func:
.LFB22:
	.cfi_startproc
.LCF0:
0:	addis 2,12,.TOC.-.LCF0@ha
	addi 2,2,.TOC.-.LCF0@l
	.localentry	call_old_func,.-call_old_func
	mflr %r0
	std %r30,-16(%r1)
	std %r31,-8(%r1)
	lwz %r10,0(%r9)
	std %r0,16(%r1)
	stdu %r1,-48(%r1)
	.cfi_def_cfa_offset 48
	.cfi_offset 65, 16
	.cfi_offset 30, -16
	.cfi_offset 31, -8
	std %r2,24(%r1)
#APP
 # 26 "common_c.c" 1
	mr   %r30, %r2
 # 0 "" 2
 # 27 "common_c.c" 1
	mr   %r31, %r12
 # 0 "" 2
#NO_APP
	lis %r11,0x3c4c
	rlwinm %r0,%r10,0,0,15
	cmpw %cr0,%r0,%r11
	beq %cr0,.L5
.L2:
	addi %r9,%r9,4
	mtctr %r9
	bctrl
	ld 2,24(1)
#APP
 # 65 "common_c.c" 1
	mr   %r2, %r30
 # 0 "" 2
 # 66 "common_c.c" 1
	mr   %r12, %r31
 # 0 "" 2
#NO_APP
	addi %r1,%r1,48
	.cfi_remember_state
	.cfi_def_cfa_offset 0
	ld %r0,16(%r1)
	ld %r30,-16(%r1)
	ld %r31,-8(%r1)
	mtlr %r0
	.cfi_restore 65
	.cfi_restore 31
	.cfi_restore 30
	blr
	.p2align 4,,15
.L5:
	.cfi_restore_state
	lwz %r11,4(%r9)
	lis %r0,0x3842
	rlwinm %r12,%r11,0,0,15
	cmpw %cr0,%r12,%r0
	bne %cr0,.L2
	extsh %r10,%r10
	extsh %r11,%r11
	sldi %r10,%r10,16
	add %r10,%r10,%r11
	add %r10,%r9,%r10
#APP
 # 45 "common_c.c" 1
	mr   %r2, %r10
 # 0 "" 2
 # 48 "common_c.c" 1
	mr   %r12, %r9
 # 0 "" 2
#NO_APP
	addi %r9,%r9,12
	mtctr %r9
	bctrl
	ld 2,24(1)
#APP
 # 65 "common_c.c" 1
	mr   %r2, %r30
 # 0 "" 2
 # 66 "common_c.c" 1
	mr   %r12, %r31
 # 0 "" 2
#NO_APP
	addi %r1,%r1,48
	.cfi_def_cfa_offset 0
	ld %r0,16(%r1)
	ld %r30,-16(%r1)
	ld %r31,-8(%r1)
	mtlr %r0
	.cfi_restore 65
	.cfi_restore 31
	.cfi_restore 30
	blr
	.long 0
	.byte 0,0,0,1,128,2,0,0
	.cfi_endproc
.LFE22:
	.size	call_old_func,.-call_old_func
	.ident	"GCC: (SUSE Linux) 15.1.1 20250801"
	.section	.note.GNU-stack,"",@progbits
