	.file	"extr_lj_emit_x86.h_emit_loadu64.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	emit_loadu64, @function
emit_loadu64:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	rdi, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	call	checku32@PLT
	test	rax, rax
	je	.L2
	mov	rdx, r12
	mov	esi, ebp
	mov	rdi, r13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	emit_loadi@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r12
	call	checki32@PLT
	test	rax, rax
	jne	.L7
	mov	rax, QWORD PTR 0[r13]
	mov	edx, ebp
	sar	ebp, 3
	and	ebp, 1
	and	edx, 7
	mov	QWORD PTR -32[rax], r12
	add	ebp, 72
	add	edx, DWORD PTR XI_MOVri[rip]
	sub	rax, 40
	mov	DWORD PTR 4[rax], edx
	mov	DWORD PTR [rax], ebp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	QWORD PTR 0[r13], rax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r8, QWORD PTR 0[r13]
	mov	edx, DWORD PTR REX_64[rip]
	mov	ecx, ebp
	mov	r9d, -4
	mov	esi, DWORD PTR XM_REG[rip]
	mov	edi, DWORD PTR XO_MOVmi[rip]
	mov	QWORD PTR -16[r8], r12
	call	emit_opm@PLT
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	mov	QWORD PTR 0[r13], rax
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	emit_loadu64, .-emit_loadu64
	.comm	XO_MOVmi,4,4
	.comm	XO_LEA,4,4
	.comm	XM_REG,4,4
	.comm	XI_MOVri,8,8
	.comm	RID_RIP,4,4
	.comm	RID_DISPATCH,4,4
	.comm	REX_64,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_lj_emit_x86.h_emit_loadu64.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	emit_loadu64, %function
emit_loadu64:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	sub	sp, sp, #8
	mov	r0, r2
	mov	r5, r2
	mov	r4, r1
	bl	checku32
	cmp	r0, #0
	beq	.L2
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	emit_loadi
.L2:
	mov	r0, r5
	bl	checki32
	cmp	r0, #0
	bne	.L7
	ldr	r2, [r6]
	ldr	r1, .L8
	mov	r3, r2
	str	r5, [r2, #-32]
	ldr	r0, [r1]
	and	r1, r4, #7
	asr	r4, r4, #3
	and	r4, r4, #1
	add	r1, r1, r0
	add	r4, r4, #72
	str	r1, [r2, #-36]
	str	r4, [r3, #-40]!
	str	r3, [r6]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	mvn	lr, #3
	ldr	r2, [r6]
	ldr	ip, .L8+4
	ldr	r1, .L8+8
	ldr	r0, .L8+12
	str	r5, [r2, #-16]
	str	r2, [sp]
	str	lr, [sp, #4]
	mov	r3, r4
	ldr	r2, [ip]
	ldr	r1, [r1]
	ldr	r0, [r0]
	bl	emit_opm
	str	r0, [r6]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	XI_MOVri
	.word	REX_64
	.word	XM_REG
	.word	XO_MOVmi
	.size	emit_loadu64, .-emit_loadu64
	.comm	XO_MOVmi,4,4
	.comm	XO_LEA,4,4
	.comm	XM_REG,4,4
	.comm	XI_MOVri,4,4
	.comm	RID_RIP,4,4
	.comm	RID_DISPATCH,4,4
	.comm	REX_64,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
