	.file	"extr_lcode.c_exp2reg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	exp2reg, @function
exp2reg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	discharge2reg@PLT
	mov	rax, QWORD PTR VJMP[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L16
.L2:
	mov	rdi, rbx
	call	hasjumps@PLT
	test	rax, rax
	jne	.L17
.L3:
	mov	rax, QWORD PTR NO_JUMP[rip]
	mov	DWORD PTR 8[rbx], r12d
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR 24[rbx], rax
	mov	rax, QWORD PTR VNONRELOC[rip]
	mov	QWORD PTR [rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rsi, QWORD PTR 16[rbx]
	mov	rdi, rbp
	mov	r14, QWORD PTR NO_JUMP[rip]
	call	need_value@PLT
	test	rax, rax
	je	.L4
.L7:
	mov	rax, QWORD PTR VJMP[rip]
	mov	r13, QWORD PTR NO_JUMP[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L18
.L9:
	mov	ecx, 1
	xor	edx, edx
	mov	esi, r12d
	mov	rdi, rbp
	call	code_loadbool@PLT
	mov	esi, r12d
	mov	rdi, rbp
	xor	ecx, ecx
	mov	edx, 1
	mov	r15d, eax
	call	code_loadbool@PLT
	mov	esi, r13d
	mov	rdi, rbp
	mov	r14d, eax
	call	luaK_patchtohere@PLT
.L8:
	mov	rdi, rbp
	call	luaK_getlabel@PLT
	mov	rsi, QWORD PTR 24[rbx]
	mov	r8d, r15d
	mov	ecx, r12d
	mov	rdi, rbp
	mov	edx, eax
	mov	r13d, eax
	call	patchlistaux@PLT
	mov	rsi, QWORD PTR 16[rbx]
	mov	r8d, r14d
	mov	ecx, r12d
	mov	edx, r13d
	mov	rdi, rbp
	call	patchlistaux@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, DWORD PTR 8[rbx]
	lea	rsi, 16[rbx]
	mov	rdi, rbp
	call	luaK_concat@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, rbp
	call	luaK_jump@PLT
	mov	r13, rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rsi, QWORD PTR 24[rbx]
	mov	rdi, rbp
	mov	r15d, r14d
	call	need_value@PLT
	test	rax, rax
	je	.L8
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	exp2reg, .-exp2reg
	.comm	VNONRELOC,8,8
	.comm	VJMP,8,8
	.comm	NO_JUMP,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_lcode.c_exp2reg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	exp2reg, %function
exp2reg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	ldr	r8, .L18
	sub	sp, sp, #8
	mov	r6, r2
	mov	r5, r0
	bl	discharge2reg
	ldr	r2, [r4]
	ldr	r3, [r8]
	cmp	r2, r3
	beq	.L16
.L2:
	mov	r0, r4
	bl	hasjumps
	cmp	r0, #0
	ldr	r7, .L18+4
	bne	.L12
.L3:
	ldr	r2, .L18+8
	ldr	r3, [r7]
	ldr	r2, [r2]
	str	r3, [r4, #8]
	stm	r4, {r2, r6}
	str	r3, [r4, #12]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	mov	r0, r5
	ldr	r1, [r4, #8]
	ldr	r9, [r7]
	bl	need_value
	cmp	r0, #0
	beq	.L4
.L7:
	ldr	r3, [r8]
	ldr	r2, [r4]
	cmp	r2, r3
	bne	.L17
	ldr	r8, [r7]
.L9:
	mov	r3, #1
	mov	r2, #0
	mov	r1, r6
	mov	r0, r5
	bl	code_loadbool
	mov	r1, r6
	mov	r9, r0
	mov	r3, #0
	mov	r2, #1
	mov	r0, r5
	bl	code_loadbool
	mov	r1, r8
	mov	r10, r0
	mov	r0, r5
	bl	luaK_patchtohere
.L8:
	mov	r0, r5
	bl	luaK_getlabel
	mov	r8, r0
	str	r9, [sp]
	mov	r2, r0
	mov	r3, r6
	ldr	r1, [r4, #12]
	mov	r0, r5
	bl	patchlistaux
	str	r10, [sp]
	mov	r2, r8
	mov	r0, r5
	mov	r3, r6
	ldr	r1, [r4, #8]
	bl	patchlistaux
	b	.L3
.L16:
	mov	r0, r5
	ldr	r2, [r4, #4]
	add	r1, r4, #8
	bl	luaK_concat
	b	.L2
.L17:
	mov	r0, r5
	bl	luaK_jump
	mov	r8, r0
	b	.L9
.L4:
	mov	r0, r5
	ldr	r1, [r4, #12]
	bl	need_value
	cmp	r0, #0
	moveq	r10, r9
	beq	.L8
	b	.L7
.L19:
	.align	2
.L18:
	.word	VJMP
	.word	NO_JUMP
	.word	VNONRELOC
	.size	exp2reg, .-exp2reg
	.comm	VNONRELOC,4,4
	.comm	VJMP,4,4
	.comm	NO_JUMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
