	.file	"extr_lj_asm_x86.h_asm_fuseahuref.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	asm_fuseahuref, @function
asm_fuseahuref:
.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	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	edi, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	IR@PLT
	mov	edi, DWORD PTR 12[rax]
	mov	r13, rax
	call	ra_noreg@PLT
	test	rax, rax
	je	.L3
	mov	eax, DWORD PTR 8[r13]
	cmp	eax, 129
	je	.L4
	cmp	eax, 130
	je	.L5
	cmp	eax, 128
	je	.L26
	cmp	eax, DWORD PTR IR_HREF[rip]
	mov	edi, 1
	je	.L10
	cmp	eax, DWORD PTR IR_NEWREF[rip]
	je	.L10
	cmp	eax, DWORD PTR IR_UREFO[rip]
	je	.L10
	xor	edi, edi
	cmp	DWORD PTR IR_KKPTR[rip], eax
	sete	dil
.L10:
	call	lua_assert@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, r14d
	mov	esi, r12d
	mov	rdi, rbp
	call	ra_alloc1@PLT
	mov	QWORD PTR 8[rbp], 0
	mov	QWORD PTR 16[rbp], rax
	mov	rax, QWORD PTR RID_NONE[rip]
	mov	QWORD PTR 0[rbp], rax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.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
.L26:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[r13]
	call	irref_isk@PLT
	test	eax, eax
	je	.L3
	mov	edi, DWORD PTR 0[r13]
	call	IR@PLT
	mov	rdi, rax
	call	ir_kfunc@PLT
	mov	r8, rax
	mov	eax, DWORD PTR 4[r13]
	mov	rdx, QWORD PTR [r8]
	sar	eax, 8
	cdqe
	mov	edi, DWORD PTR [rdx+rax*4]
	call	gcref@PLT
	mov	rdi, rax
	call	ptr2addr@PLT
	mov	QWORD PTR 8[rbp], rax
	mov	rax, QWORD PTR RID_NONE[rip]
	mov	QWORD PTR 0[rbp], rax
	mov	QWORD PTR 16[rbp], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, r12d
	mov	rdi, rbp
	call	mayfuse@PLT
	test	eax, eax
	je	.L3
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edx, r14d
	mov	rsi, r13
	mov	rdi, rbp
	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
	jmp	asm_fusearef@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, r12d
	mov	rdi, rbp
	call	mayfuse@PLT
	test	eax, eax
	je	.L3
	mov	esi, DWORD PTR 0[r13]
	mov	edx, r14d
	mov	rdi, rbp
	call	ra_alloc1@PLT
	mov	edi, DWORD PTR 4[r13]
	mov	QWORD PTR 16[rbp], rax
	call	IR@PLT
	movsx	rax, DWORD PTR 4[rax]
	sal	rax, 2
	mov	QWORD PTR 8[rbp], rax
	mov	rax, QWORD PTR RID_NONE[rip]
	mov	QWORD PTR 0[rbp], rax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	asm_fuseahuref, .-asm_fuseahuref
	.comm	RID_NONE,8,8
	.comm	IR_UREFO,4,4
	.comm	IR_NEWREF,4,4
	.comm	IR_KKPTR,4,4
	.comm	IR_HREF,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_asm_x86.h_asm_fuseahuref.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	asm_fuseahuref, %function
asm_fuseahuref:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r0, r1
	mov	r5, r1
	mov	r7, r2
	bl	IR
	mov	r6, r0
	ldr	r0, [r0, #12]
	bl	ra_noreg
	cmp	r0, #0
	beq	.L3
	ldr	r0, [r6, #8]
	cmp	r0, #129
	beq	.L4
	cmp	r0, #130
	beq	.L5
	cmp	r0, #128
	beq	.L26
	ldr	r3, .L27
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	ldr	r3, .L27+4
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	ldr	r3, .L27+8
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L13
	ldr	r3, .L27+12
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L10
.L13:
	mov	r0, #1
.L10:
	bl	lua_assert
.L3:
	mov	r2, r7
	mov	r1, r5
	mov	r0, r4
	bl	ra_alloc1
	mov	r2, #0
	ldr	r3, .L27+16
	str	r0, [r4, #8]
	ldr	r3, [r3]
	str	r2, [r4, #4]
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L26:
	ldr	r0, [r6]
	bl	irref_isk
	cmp	r0, #0
	beq	.L3
	ldr	r0, [r6]
	bl	IR
	bl	ir_kfunc
	ldr	r3, [r6, #4]
	ldr	r2, [r0]
	asr	r3, r3, #8
	ldr	r0, [r2, r3, lsl #2]
	bl	gcref
	bl	ptr2addr
	ldr	r3, .L27+16
	str	r0, [r4, #4]
	ldr	r3, [r3]
	str	r3, [r4]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r1, r5
	mov	r0, r4
	bl	mayfuse
	cmp	r0, #0
	beq	.L3
	mov	r2, r7
	mov	r1, r6
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	asm_fusearef
.L4:
	mov	r1, r5
	mov	r0, r4
	bl	mayfuse
	cmp	r0, #0
	beq	.L3
	mov	r2, r7
	ldr	r1, [r6]
	mov	r0, r4
	bl	ra_alloc1
	mov	r3, r0
	ldr	r0, [r6, #4]
	str	r3, [r4, #8]
	bl	IR
	ldr	r2, .L27+16
	ldr	r3, [r0, #4]
	ldr	r2, [r2]
	lsl	r3, r3, #2
	stm	r4, {r2, r3}
	pop	{r4, r5, r6, r7, r8, pc}
.L28:
	.align	2
.L27:
	.word	IR_HREF
	.word	IR_NEWREF
	.word	IR_UREFO
	.word	IR_KKPTR
	.word	RID_NONE
	.size	asm_fuseahuref, .-asm_fuseahuref
	.comm	RID_NONE,4,4
	.comm	IR_UREFO,4,4
	.comm	IR_NEWREF,4,4
	.comm	IR_KKPTR,4,4
	.comm	IR_HREF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
