	.file	"extr_lj_emit_x86.h_emit_loadofs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	emit_loadofs, @function
emit_loadofs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rcx
	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	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, r8d
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR RID_MAX_GPR[rip], rdx
	jle	.L2
	mov	rsi, rdx
	call	REX_64IR@PLT
	mov	esi, DWORD PTR XO_MOV[rip]
	mov	r8d, ebx
	mov	rcx, r13
	mov	rdx, rax
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	emit_rmro@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR [rsi]
	call	irt_isnum@PLT
	mov	r8d, ebx
	mov	rcx, r13
	mov	rdx, r12
	mov	esi, DWORD PTR XO_MOVSD[rip]
	test	rax, rax
	cmove	esi, DWORD PTR XO_MOVSS[rip]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	emit_loadofs, .-emit_loadofs
	.comm	XO_MOVSS,4,4
	.comm	XO_MOVSD,4,4
	.comm	XO_MOV,4,4
	.comm	RID_MAX_GPR,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_emit_x86.h_emit_loadofs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	emit_loadofs, %function
emit_loadofs:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	ldr	r2, .L7
	mov	r5, r0
	ldr	r2, [r2]
	mov	r0, r1
	cmp	r2, r4
	mov	r6, r3
	ldr	r7, [sp, #24]
	ble	.L2
	ldr	r3, .L7+4
	mov	r1, r4
	ldr	r4, [r3]
	bl	REX_64IR
	mov	r1, r4
	mov	r2, r0
	mov	r3, r6
	mov	r0, r5
	str	r7, [sp, #24]
	pop	{r4, r5, r6, r7, r8, lr}
	b	emit_rmro
.L2:
	ldr	r0, [r1]
	bl	irt_isnum
	cmp	r0, #0
	ldrne	r3, .L7+8
	ldreq	r3, .L7+12
	mov	r2, r4
	ldr	r1, [r3]
	mov	r0, r5
	mov	r3, r6
	str	r7, [sp, #24]
	pop	{r4, r5, r6, r7, r8, lr}
	b	emit_rmro
.L8:
	.align	2
.L7:
	.word	RID_MAX_GPR
	.word	XO_MOV
	.word	XO_MOVSD
	.word	XO_MOVSS
	.size	emit_loadofs, .-emit_loadofs
	.comm	XO_MOVSS,4,4
	.comm	XO_MOVSD,4,4
	.comm	XO_MOV,4,4
	.comm	RID_MAX_GPR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
