	.file	"extr_lj_trace.c_trace_exit_regs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	trace_exit_regs, @function
trace_exit_regs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	mov	rsi, QWORD PTR RID_NUM_GPR[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR [rdi]
	lea	eax, 1[rdi]
	mov	DWORD PTR [rbx], eax
	call	setintV@PLT
	mov	edi, DWORD PTR [rbx]
	mov	rsi, QWORD PTR RID_NUM_FPR[rip]
	lea	eax, 1[rdi]
	mov	DWORD PTR [rbx], eax
	call	setintV@PLT
	cmp	QWORD PTR RID_NUM_GPR[rip], 0
	je	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR 8[r12]
	mov	edi, DWORD PTR [rbx]
	mov	rsi, QWORD PTR [rax+rbp*8]
	lea	eax, 1[rdi]
	add	rbp, 1
	mov	DWORD PTR [rbx], eax
	call	setintV@PLT
	cmp	QWORD PTR RID_NUM_GPR[rip], rbp
	ja	.L2
.L5:
	cmp	QWORD PTR RID_NUM_FPR[rip], 0
	je	.L1
	mov	edi, DWORD PTR [rbx]
	xor	ebp, ebp
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR [rbx]
	add	rbp, 1
	cmp	QWORD PTR RID_NUM_FPR[rip], rbp
	lea	edi, 1[rax]
	mov	DWORD PTR [rbx], edi
	jbe	.L1
.L7:
	mov	rax, QWORD PTR [r12]
	mov	esi, DWORD PTR [rax+rbp*4]
	call	setnumV@PLT
	mov	edi, DWORD PTR [rbx]
	call	tvisnan@PLT
	mov	edi, eax
	call	LJ_UNLIKELY@PLT
	test	rax, rax
	je	.L6
	mov	edi, DWORD PTR [rbx]
	call	setnanV@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	trace_exit_regs, .-trace_exit_regs
	.comm	RID_NUM_GPR,8,8
	.comm	RID_NUM_FPR,8,8
	.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_lj_trace.c_trace_exit_regs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	trace_exit_regs, %function
trace_exit_regs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0]
	ldr	r8, .L17
	add	r3, r0, #1
	str	r3, [r4]
	mov	r6, r1
	ldr	r1, [r8]
	bl	setintV
	ldr	r0, [r4]
	ldr	r7, .L17+4
	add	r3, r0, #1
	str	r3, [r4]
	ldr	r1, [r7]
	bl	setintV
	ldr	r3, [r8]
	cmp	r3, #0
	movne	r5, #0
	beq	.L5
.L2:
	ldr	r0, [r4]
	ldr	r3, [r6, #4]
	add	r2, r0, #1
	ldr	r1, [r3, r5, lsl #2]
	str	r2, [r4]
	bl	setintV
	ldr	r3, [r8]
	add	r5, r5, #1
	cmp	r3, r5
	bhi	.L2
.L5:
	ldr	r3, [r7]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r5, #0
	ldr	r0, [r4]
	b	.L7
.L6:
	ldr	r0, [r4]
	ldr	r3, [r7]
	add	r0, r0, #1
	cmp	r3, r5
	str	r0, [r4]
	popls	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, [r6]
	ldr	r1, [r3, r5, lsl #2]
	bl	setnumV
	ldr	r0, [r4]
	bl	tvisnan
	bl	LJ_UNLIKELY
	cmp	r0, #0
	add	r5, r5, #1
	beq	.L6
	ldr	r0, [r4]
	bl	setnanV
	b	.L6
.L18:
	.align	2
.L17:
	.word	RID_NUM_GPR
	.word	RID_NUM_FPR
	.size	trace_exit_regs, .-trace_exit_regs
	.comm	RID_NUM_GPR,4,4
	.comm	RID_NUM_FPR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
