	.file	"extr_super.c_udf_check_vsd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Starting at sector %u (%lu byte sectors)\n"
	.text
	.p2align 4
	.type	udf_check_vsd, @function
udf_check_vsd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, 4
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	ebx, DWORD PTR VSD_FIRST_SECTOR_OFFSET[rip]
	call	UDF_SB@PLT
	mov	edx, DWORD PTR [r15]
	mov	ecx, DWORD PTR 4[r15]
	lea	rdi, .LC0[rip]
	mov	ebp, DWORD PTR [rax]
	mov	r13, rax
	cmp	edx, 4
	cmovnb	r12d, edx
	sal	ebp, cl
	xor	r14d, r14d
	add	ebp, ebx
	mov	esi, ebp
	sar	esi, cl
	call	udf_debug@PLT
.L3:
	cmp	DWORD PTR VSD_MAX_SECTOR_OFFSET[rip], ebp
	jle	.L21
.L9:
	mov	ecx, DWORD PTR 4[r15]
	mov	esi, ebp
	mov	rdi, r15
	sar	esi, cl
	call	udf_tread@PLT
	mov	r14, rax
	test	rax, rax
	je	.L4
	mov	eax, DWORD PTR [r15]
	lea	ebx, -1[rax]
	and	ebx, ebp
	movsx	rbx, ebx
	add	rbx, QWORD PTR [r14]
	mov	rdi, rbx
	call	identify_vsd@PLT
	test	eax, eax
	jne	.L22
	add	ebp, r12d
	cmp	DWORD PTR [r15], 4096
	je	.L8
	mov	rdi, r14
	call	brelse@PLT
	cmp	DWORD PTR VSD_MAX_SECTOR_OFFSET[rip], ebp
	jg	.L9
.L11:
	xor	eax, eax
.L23:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rdi, 4[rbx]
	call	identify_vsd@PLT
	mov	rdi, r14
	mov	ebx, eax
	call	brelse@PLT
	test	ebx, ebx
	jle	.L3
.L10:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L21:
	.cfi_restore_state
	test	r14, r14
	jne	.L11
.L4:
	mov	ecx, DWORD PTR 4[r15]
	mov	eax, DWORD PTR 0[r13]
	sal	eax, cl
	sub	ebp, eax
	xor	eax, eax
	cmp	ebp, DWORD PTR VSD_FIRST_SECTOR_OFFSET[rip]
	sete	al
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	neg	eax
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	rdi, r14
	mov	DWORD PTR 12[rsp], eax
	call	brelse@PLT
	mov	edx, DWORD PTR 12[rsp]
	test	edx, edx
	jg	.L10
	xor	eax, eax
	jmp	.L23
	.cfi_endproc
.LFE0:
	.size	udf_check_vsd, .-udf_check_vsd
	.comm	VSD_MAX_SECTOR_OFFSET,4,4
	.comm	VSD_FIRST_SECTOR_OFFSET,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_check_vsd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Starting at sector %u (%lu byte sectors)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	udf_check_vsd, %function
udf_check_vsd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, .L22
	sub	sp, sp, #12
	mov	r10, r0
	ldr	r5, [r9]
	bl	UDF_SB
	ldr	r1, [r10, #4]
	ldr	r3, [r0]
	ldr	r2, [r10]
	add	r5, r5, r3, lsl r1
	cmp	r2, #4
	mov	r8, r0
	asr	r1, r5, r1
	ldr	r0, .L22+4
	movcs	r6, r2
	movcc	r6, #4
	mov	fp, #0
	bl	udf_debug
	ldr	r7, .L22+8
.L3:
	ldr	r3, [r7]
	cmp	r3, r5
	ble	.L20
.L9:
	ldr	r1, [r10, #4]
	mov	r0, r10
	asr	r1, r5, r1
	bl	udf_tread
	subs	fp, r0, #0
	beq	.L4
	ldr	r4, [r10]
	ldr	r3, [fp]
	sub	r4, r4, #1
	and	r4, r4, r5
	add	r4, r4, r3
	mov	r0, r4
	bl	identify_vsd
	subs	r3, r0, #0
	bne	.L21
	ldr	r3, [r10]
	add	r5, r5, r6
	cmp	r3, #4096
	beq	.L8
	mov	r0, fp
	bl	brelse
	ldr	r3, [r7]
	cmp	r3, r5
	bgt	.L9
.L11:
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	add	r0, r4, #4
	bl	identify_vsd
	mov	r4, r0
	mov	r0, fp
	bl	brelse
	cmp	r4, #0
	ble	.L3
.L10:
	mov	r0, #1
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	cmp	fp, #0
	bne	.L11
.L4:
	ldr	r2, [r8]
	ldr	r3, [r10, #4]
	ldr	r0, [r9]
	sub	r5, r5, r2, lsl r3
	cmp	r5, r0
	movne	r0, #0
	mvneq	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
	mov	r0, fp
	str	r3, [sp, #4]
	bl	brelse
	ldr	r3, [sp, #4]
	cmp	r3, #0
	bgt	.L10
	b	.L11
.L23:
	.align	2
.L22:
	.word	VSD_FIRST_SECTOR_OFFSET
	.word	.LC0
	.word	VSD_MAX_SECTOR_OFFSET
	.size	udf_check_vsd, .-udf_check_vsd
	.comm	VSD_MAX_SECTOR_OFFSET,4,4
	.comm	VSD_FIRST_SECTOR_OFFSET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
