	.file	"extr_super.c_udf_find_anchor.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	udf_find_anchor, @function
udf_find_anchor:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r14, 4[rsp]
	call	UDF_SB@PLT
	mov	rdx, r13
	mov	rsi, r14
	mov	rdi, rbp
	mov	rbx, rax
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 4[rsp], eax
	call	udf_scan_anchors@PLT
	mov	r12d, eax
	add	eax, DWORD PTR EAGAIN[rip]
	je	.L7
.L2:
	test	r12d, r12d
	jne	.L1
	mov	eax, DWORD PTR 4[rsp]
	mov	DWORD PTR [rbx], eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.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
.L7:
	.cfi_restore_state
	mov	esi, DWORD PTR UDF_FLAG_VARCONV[rip]
	mov	rdi, rbp
	call	UDF_SET_FLAG@PLT
	mov	edi, DWORD PTR [rbx]
	call	udf_variable_to_fixed@PLT
	mov	rdx, r13
	mov	rsi, r14
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], eax
	call	udf_scan_anchors@PLT
	mov	r12d, eax
	add	eax, DWORD PTR EAGAIN[rip]
	jne	.L2
	mov	eax, DWORD PTR [rbx]
	mov	rdx, r13
	mov	rsi, r14
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], eax
	call	udf_scan_anchors@PLT
	mov	r12d, eax
	test	eax, eax
	jns	.L2
	mov	esi, DWORD PTR UDF_FLAG_VARCONV[rip]
	mov	rdi, rbp
	call	UDF_CLEAR_FLAG@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	udf_find_anchor, .-udf_find_anchor
	.comm	UDF_FLAG_VARCONV,4,4
	.comm	EAGAIN,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_super.c_udf_find_anchor.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	udf_find_anchor, %function
udf_find_anchor:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L9
	sub	sp, sp, #12
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r6, r0
	bl	UDF_SB
	ldr	r3, [r0]
	mov	r5, r0
	mov	r2, r7
	mov	r0, r6
	mov	r1, sp
	str	r3, [sp]
	bl	udf_scan_anchors
	ldr	r8, .L9+4
	mov	r4, r0
	ldr	r3, [r8]
	cmn	r0, r3
	beq	.L7
.L2:
	cmp	r4, #0
	ldreq	r3, [sp]
	streq	r3, [r5]
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L7:
	ldr	r9, .L9+8
	mov	r0, r6
	ldr	r1, [r9]
	bl	UDF_SET_FLAG
	ldr	r0, [r5]
	bl	udf_variable_to_fixed
	mov	r3, r0
	mov	r2, r7
	mov	r1, sp
	mov	r0, r6
	str	r3, [sp]
	bl	udf_scan_anchors
	ldr	r3, [r8]
	mov	r4, r0
	cmn	r0, r3
	bne	.L2
	ldr	r3, [r5]
	mov	r2, r7
	mov	r1, sp
	mov	r0, r6
	str	r3, [sp]
	bl	udf_scan_anchors
	subs	r4, r0, #0
	bge	.L2
	mov	r0, r6
	ldr	r1, [r9]
	bl	UDF_CLEAR_FLAG
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	EAGAIN
	.word	UDF_FLAG_VARCONV
	.size	udf_find_anchor, .-udf_find_anchor
	.comm	UDF_FLAG_VARCONV,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
