	.file	"extr_lj_parse.c_fs_fixup_uv2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fs_fixup_uv2, @function
fs_fixup_uv2:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR [rdi]
	mov	rdi, rsi
	mov	rbx, QWORD PTR [rax]
	call	proto_uv@PLT
	mov	rdx, QWORD PTR 0[rbp]
	test	rdx, rdx
	je	.L1
	mov	r8d, DWORD PTR VSTACK_VAR_RW[rip]
	lea	rdi, [rax+rdx*8]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L12:
	sub	rdx, rcx
	add	rax, 8
	mov	QWORD PTR -8[rax], rdx
	cmp	rdi, rax
	je	.L1
.L6:
	mov	rdx, QWORD PTR [rax]
	mov	rcx, QWORD PTR LJ_MAX_VSTACK[rip]
	cmp	rcx, rdx
	jbe	.L12
	sal	rdx, 4
	mov	rcx, QWORD PTR PROTO_UV_LOCAL[rip]
	add	rdx, rbx
	mov	rsi, QWORD PTR 8[rdx]
	test	DWORD PTR [rdx], r8d
	jne	.L10
	or	rcx, QWORD PTR PROTO_UV_IMMUTABLE[rip]
.L10:
	or	rcx, rsi
	add	rax, 8
	mov	QWORD PTR -8[rax], rcx
	cmp	rdi, rax
	jne	.L6
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fs_fixup_uv2, .-fs_fixup_uv2
	.comm	VSTACK_VAR_RW,4,4
	.comm	PROTO_UV_LOCAL,8,8
	.comm	PROTO_UV_IMMUTABLE,8,8
	.comm	LJ_MAX_VSTACK,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_parse.c_fs_fixup_uv2.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fs_fixup_uv2, %function
fs_fixup_uv2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	ldr	r3, [r0]
	mov	r0, r1
	ldr	r4, [r3]
	bl	proto_uv
	ldr	r1, [r5]
	cmp	r1, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L12
	add	r1, r0, r1, lsl #2
	ldr	r6, [r3]
	ldr	lr, .L12+4
	ldr	r5, .L12+8
	ldr	r7, .L12+12
	sub	r1, r1, #4
	sub	r0, r0, #4
.L6:
	ldr	r3, [r0, #4]!
	ldr	r2, [lr]
	add	ip, r4, r3, lsl #3
	cmp	r2, r3
	sub	r2, r3, r2
	strls	r2, [r0]
	bls	.L4
	ldr	r3, [r4, r3, lsl #3]
	ldr	r2, [ip, #4]
	tst	r6, r3
	ldreq	ip, [r7]
	ldr	r3, [r5]
	orreq	r3, r3, ip
	orr	r3, r3, r2
	str	r3, [r0]
.L4:
	cmp	r0, r1
	bne	.L6
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	VSTACK_VAR_RW
	.word	LJ_MAX_VSTACK
	.word	PROTO_UV_LOCAL
	.word	PROTO_UV_IMMUTABLE
	.size	fs_fixup_uv2, .-fs_fixup_uv2
	.comm	VSTACK_VAR_RW,4,4
	.comm	PROTO_UV_LOCAL,4,4
	.comm	PROTO_UV_IMMUTABLE,4,4
	.comm	LJ_MAX_VSTACK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
