	.file	"extr_emit_arm.c_emit_call.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"  ldr r%d, [%s]\n"
.LC1:
	.string	"  ldr r0, %s"
.LC2:
	.string	"  blx r0\n"
.LC3:
	.string	"  bl %s\n"
	.text
	.p2align 4
	.type	emit_call, @function
emit_call:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rax, QWORD PTR lastargs[rip]
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	mov	edx, DWORD PTR lastarg[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	lea	rbx, .LC0[rip]
	test	edx, edx
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rcx, QWORD PTR [rax+r13*8]
	sub	edx, 1
	mov	rsi, rbx
	mov	rdi, r14
	sub	edx, r13d
	xor	eax, eax
	call	r_egg_printf@PLT
	mov	rax, QWORD PTR lastargs[rip]
	mov	rdx, QWORD PTR [rax+r13*8]
	add	r13, 1
	mov	QWORD PTR [rdx], 0
	mov	edx, DWORD PTR lastarg[rip]
	cmp	edx, r13d
	jg	.L5
.L6:
	test	ebp, ebp
	je	.L13
	mov	rdi, r14
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	r_egg_printf@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r14
	pop	rbp
	.cfi_def_cfa_offset 32
	lea	rsi, .LC2[rip]
	pop	r12
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	r_egg_printf@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdx, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	rdi, r14
	pop	r12
	.cfi_def_cfa_offset 24
	lea	rsi, .LC3[rip]
	pop	r13
	.cfi_def_cfa_offset 16
	xor	eax, eax
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	r_egg_printf@PLT
	.cfi_endproc
.LFE0:
	.size	emit_call, .-emit_call
	.comm	lastargs,8,8
	.comm	lastarg,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_emit_arm.c_emit_call.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"  ldr r%d, [%s]\012\000"
	.align	2
.LC1:
	.ascii	"  ldr r0, %s\000"
	.align	2
.LC2:
	.ascii	"  blx r0\012\000"
	.align	2
.LC3:
	.ascii	"  bl %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	emit_call, %function
emit_call:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, .L12
	mov	r5, r0
	ldr	r3, [r6]
	mov	r9, r1
	cmp	r3, #0
	mov	r10, r2
	ble	.L6
	mov	r4, #0
	mov	r8, r4
	ldr	r7, .L12+4
	ldr	fp, .L12+8
	ldr	r1, [r7]
.L5:
	sub	r2, r3, #1
	sub	r2, r2, r4
	ldr	r3, [r1, r4, lsl #2]
	mov	r0, r5
	mov	r1, fp
	bl	r_egg_printf
	ldr	r1, [r7]
	ldr	r3, [r6]
	ldr	r2, [r1, r4, lsl #2]
	add	r4, r4, #1
	cmp	r3, r4
	str	r8, [r2]
	bgt	.L5
.L6:
	cmp	r10, #0
	beq	.L11
	mov	r2, r9
	mov	r0, r5
	ldr	r1, .L12+12
	bl	r_egg_printf
	mov	r0, r5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r1, .L12+16
	b	r_egg_printf
.L11:
	mov	r2, r9
	mov	r0, r5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r1, .L12+20
	b	r_egg_printf
.L13:
	.align	2
.L12:
	.word	lastarg
	.word	lastargs
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	emit_call, .-emit_call
	.comm	lastargs,4,4
	.comm	lastarg,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
