	.file	"extr_lib_jit.c_jit_profile_callback.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	jit_profile_callback, @function
jit_profile_callback:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	lea	rsi, KEY_PROFILE_FUNC[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, ecx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r13, 4[rsp]
	mov	rdi, r13
	call	setlightudV@PLT
	mov	rdi, r12
	call	registry@PLT
	mov	edi, eax
	call	tabV@PLT
	mov	rdx, r13
	mov	rdi, r12
	mov	esi, eax
	call	lj_tab_get@PLT
	mov	rdi, rax
	mov	r13, rax
	call	tvisfunc@PLT
	test	rax, rax
	jne	.L14
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, r13
	mov	BYTE PTR 3[rsp], bl
	call	funcV@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	edx, eax
	lea	eax, 1[rsi]
	mov	DWORD PTR 0[rbp], eax
	call	setfuncV@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rdx, r12
	mov	rdi, rbp
	lea	eax, 1[rsi]
	mov	DWORD PTR 0[rbp], eax
	call	setthreadV@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, r14d
	lea	eax, 1[rdi]
	mov	DWORD PTR 0[rbp], eax
	call	setintV@PLT
	lea	rsi, 3[rsp]
	mov	edx, 1
	mov	rdi, rbp
	call	lj_str_new@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	edx, eax
	lea	eax, 1[rsi]
	mov	DWORD PTR 0[rbp], eax
	call	setstrV@PLT
	xor	ecx, ecx
	xor	edx, edx
	mov	esi, 3
	mov	rdi, rbp
	call	lua_pcall@PLT
	test	eax, eax
	jne	.L16
.L3:
	mov	rdi, rbp
	call	G@PLT
	mov	rdi, rax
	call	lj_trace_abort@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, rbp
	call	G@PLT
	cmp	QWORD PTR [rax], 0
	je	.L4
	mov	rdi, rbp
	call	G@PLT
	mov	rdi, rbp
	call	[QWORD PTR [rax]]
.L4:
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	call	exit@PLT
	jmp	.L3
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	jit_profile_callback, .-jit_profile_callback
	.comm	KEY_PROFILE_FUNC,4,4
	.comm	EXIT_FAILURE,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_lib_jit.c_jit_profile_callback.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jit_profile_callback, %function
jit_profile_callback:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r1
	sub	sp, sp, #20
	mov	r8, r3
	ldr	r3, .L20
	ldr	r1, .L20+4
	mov	r4, r0
	add	r0, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r6, r2
	bl	setlightudV
	mov	r0, r5
	bl	registry
	bl	tabV
	add	r2, sp, #8
	mov	r1, r0
	mov	r0, r5
	bl	lj_tab_get
	mov	r7, r0
	bl	tvisfunc
	cmp	r0, #0
	bne	.L17
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L17:
	ldr	r9, [r4]
	mov	r0, r7
	add	r3, r9, #1
	str	r3, [r4]
	strb	r8, [sp, #7]
	bl	funcV
	mov	r1, r9
	mov	r2, r0
	mov	r0, r4
	bl	setfuncV
	ldr	r1, [r4]
	mov	r2, r5
	add	r3, r1, #1
	str	r3, [r4]
	mov	r0, r4
	bl	setthreadV
	ldr	r0, [r4]
	mov	r1, r6
	add	r3, r0, #1
	str	r3, [r4]
	bl	setintV
	mov	r2, #1
	ldr	r5, [r4]
	add	r1, sp, #7
	add	r3, r5, r2
	str	r3, [r4]
	mov	r0, r4
	bl	lj_str_new
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	setstrV
	mov	r3, #0
	mov	r1, #3
	mov	r2, r3
	mov	r0, r4
	bl	lua_pcall
	cmp	r0, #0
	bne	.L19
.L3:
	mov	r0, r4
	bl	G
	bl	lj_trace_abort
	b	.L1
.L19:
	mov	r0, r4
	bl	G
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L4
	mov	r0, r4
	bl	G
	mov	r3, r0
	mov	r0, r4
	ldr	r3, [r3]
	blx	r3
.L4:
	ldr	r3, .L20+8
	ldr	r0, [r3]
	bl	exit
	b	.L3
.L18:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	KEY_PROFILE_FUNC
	.word	EXIT_FAILURE
	.size	jit_profile_callback, .-jit_profile_callback
	.comm	KEY_PROFILE_FUNC,4,4
	.comm	EXIT_FAILURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
