	.file	"extr_super.c_udf_fill_partdesc_info.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Partition (%d type %x) starts at physical %u, block length %u\n"
	.align 8
.LC1:
	.string	"cannot load unallocSpaceTable (part %d)\n"
	.align 8
.LC2:
	.string	"unallocSpaceTable (part %d) @ %lu\n"
	.align 8
.LC3:
	.string	"unallocSpaceBitmap (part %d) @ %u\n"
	.text
	.p2align 4
	.type	udf_fill_partdesc_info, @function
udf_fill_partdesc_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	UDF_SB@PLT
	mov	edi, DWORD PTR 20[rbp]
	mov	r8, rax
	movsx	rax, r14d
	lea	rbx, [rax+rax*2]
	sal	rbx, 4
	add	rbx, QWORD PTR [r8]
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	QWORD PTR 24[rbx], rax
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR PD_ACCESS_TYPE_READ_ONLY[rip]
	mov	r12, QWORD PTR 0[rbp]
	mov	QWORD PTR 32[rbx], rax
	call	cpu_to_le32@PLT
	cmp	r12, rax
	jne	.L2
	mov	eax, DWORD PTR UDF_PART_FLAG_READ_ONLY[rip]
	or	DWORD PTR [rbx], eax
.L2:
	mov	edi, DWORD PTR PD_ACCESS_TYPE_WRITE_ONCE[rip]
	mov	r12, QWORD PTR 0[rbp]
	call	cpu_to_le32@PLT
	cmp	r12, rax
	jne	.L3
	mov	eax, DWORD PTR UDF_PART_FLAG_WRITE_ONCE[rip]
	or	DWORD PTR [rbx], eax
.L3:
	mov	edi, DWORD PTR PD_ACCESS_TYPE_REWRITABLE[rip]
	mov	r12, QWORD PTR 0[rbp]
	call	cpu_to_le32@PLT
	cmp	r12, rax
	jne	.L4
	mov	eax, DWORD PTR UDF_PART_FLAG_REWRITABLE[rip]
	or	DWORD PTR [rbx], eax
.L4:
	mov	edi, DWORD PTR PD_ACCESS_TYPE_OVERWRITABLE[rip]
	mov	r12, QWORD PTR 0[rbp]
	call	cpu_to_le32@PLT
	cmp	r12, rax
	jne	.L5
	mov	eax, DWORD PTR UDF_PART_FLAG_OVERWRITABLE[rip]
	or	DWORD PTR [rbx], eax
.L5:
	mov	rcx, QWORD PTR 32[rbx]
	mov	edx, DWORD PTR 40[rbx]
	mov	esi, r14d
	xor	eax, eax
	mov	r8, QWORD PTR 24[rbx]
	lea	rdi, .LC0[rip]
	call	udf_debug@PLT
	mov	rdx, rbx
	mov	rsi, rbp
	mov	rdi, r13
	call	check_partition_desc@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L15
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L15:
	.cfi_restore_state
	mov	esi, DWORD PTR UDF_FLAG_RW_INCOMPAT[rip]
	mov	rdi, r13
	call	UDF_QUERY_FLAG@PLT
	test	rax, rax
	jne	.L1
	mov	rbp, QWORD PTR 8[rbp]
	cmp	QWORD PTR 24[rbp], 0
	jne	.L17
.L8:
	cmp	QWORD PTR 8[rbp], 0
	je	.L1
	mov	rdi, r13
	mov	esi, r14d
	call	udf_sb_alloc_bitmap@PLT
	mov	r13, rax
	test	rax, rax
	je	.L18
	mov	QWORD PTR 8[rbx], rax
	mov	edi, DWORD PTR 0[rbp]
	call	le32_to_cpu@PLT
	mov	esi, r14d
	lea	rdi, .LC3[rip]
	mov	QWORD PTR 0[r13], rax
	mov	rdx, rax
	mov	eax, DWORD PTR UDF_PART_FLAG_UNALLOC_BITMAP[rip]
	or	DWORD PTR [rbx], eax
	xor	eax, eax
	call	udf_debug@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR 16[rbp]
	call	le32_to_cpu@PLT
	mov	rdi, r13
	mov	rsi, rsp
	mov	DWORD PTR 8[rsp], r14d
	mov	QWORD PTR [rsp], rax
	call	udf_iget_special@PLT
	mov	rdi, rax
	mov	r15, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L19
	mov	eax, DWORD PTR UDF_PART_FLAG_UNALLOC_TABLE[rip]
	mov	rdx, QWORD PTR [r15]
	mov	QWORD PTR 16[rbx], r15
	mov	esi, r14d
	or	DWORD PTR [rbx], eax
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	udf_debug@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	mov	esi, r14d
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	udf_debug@PLT
	mov	rdi, r15
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	udf_fill_partdesc_info, .-udf_fill_partdesc_info
	.comm	UDF_PART_FLAG_WRITE_ONCE,4,4
	.comm	UDF_PART_FLAG_UNALLOC_TABLE,4,4
	.comm	UDF_PART_FLAG_UNALLOC_BITMAP,4,4
	.comm	UDF_PART_FLAG_REWRITABLE,4,4
	.comm	UDF_PART_FLAG_READ_ONLY,4,4
	.comm	UDF_PART_FLAG_OVERWRITABLE,4,4
	.comm	UDF_FLAG_RW_INCOMPAT,4,4
	.comm	PD_ACCESS_TYPE_WRITE_ONCE,4,4
	.comm	PD_ACCESS_TYPE_REWRITABLE,4,4
	.comm	PD_ACCESS_TYPE_READ_ONLY,4,4
	.comm	PD_ACCESS_TYPE_OVERWRITABLE,4,4
	.comm	ENOMEM,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_fill_partdesc_info.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Partition (%d type %x) starts at physical %u, block"
	.ascii	" length %u\012\000"
	.align	2
.LC1:
	.ascii	"cannot load unallocSpaceTable (part %d)\012\000"
	.align	2
.LC2:
	.ascii	"unallocSpaceTable (part %d) @ %lu\012\000"
	.align	2
.LC3:
	.ascii	"unallocSpaceBitmap (part %d) @ %u\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	udf_fill_partdesc_info, %function
udf_fill_partdesc_info:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L26
	sub	sp, sp, #28
	mov	r6, r2
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r9, r0
	bl	UDF_SB
	ldr	r8, [r0]
	ldr	r0, [r4, #12]
	bl	le32_to_cpu
	mov	r3, r0
	add	r5, r6, r6, lsl #1
	lsl	r10, r5, #3
	add	r5, r8, r5, lsl #3
	ldr	r0, [r4, #8]
	str	r3, [r5, #12]
	bl	le32_to_cpu
	ldr	r3, .L26+4
	str	r0, [r5, #16]
	ldr	r0, [r3]
	ldr	r7, [r4]
	bl	cpu_to_le32
	cmp	r7, r0
	ldreq	r2, .L26+8
	ldreq	r3, [r8, r10]
	ldreq	r2, [r2]
	ldr	r7, [r4]
	orreq	r3, r3, r2
	streq	r3, [r8, r10]
	ldr	r3, .L26+12
	ldr	r0, [r3]
	bl	cpu_to_le32
	cmp	r7, r0
	ldreq	r2, .L26+16
	ldreq	r3, [r8, r10]
	ldreq	r2, [r2]
	ldr	r7, [r4]
	orreq	r3, r3, r2
	streq	r3, [r8, r10]
	ldr	r3, .L26+20
	ldr	r0, [r3]
	bl	cpu_to_le32
	cmp	r7, r0
	ldreq	r2, .L26+24
	ldreq	r3, [r8, r10]
	ldreq	r2, [r2]
	ldr	r7, [r4]
	orreq	r3, r3, r2
	streq	r3, [r8, r10]
	ldr	r3, .L26+28
	ldr	r0, [r3]
	bl	cpu_to_le32
	cmp	r7, r0
	ldreq	r2, .L26+32
	ldreq	r3, [r8, r10]
	ldreq	r2, [r2]
	ldr	r1, [r5, #12]
	orreq	r3, r3, r2
	streq	r3, [r8, r10]
	ldr	r2, [r5, #20]
	ldr	r3, [r5, #16]
	ldr	r0, .L26+36
	str	r1, [sp]
	mov	r1, r6
	bl	udf_debug
	mov	r2, r5
	mov	r1, r4
	mov	r0, r9
	bl	check_partition_desc
	subs	r7, r0, #0
	beq	.L21
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, r7
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
	ldr	r3, .L26+40
	mov	r0, r9
	ldr	r1, [r3]
	bl	UDF_QUERY_FLAG
	cmp	r0, #0
	bne	.L1
	ldr	r4, [r4, #4]
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L23
.L8:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L1
	mov	r0, r9
	mov	r1, r6
	bl	udf_sb_alloc_bitmap
	subs	r7, r0, #0
	beq	.L24
	str	r7, [r5, #4]
	ldr	r0, [r4]
	bl	le32_to_cpu
	ldr	r1, .L26+44
	ldr	r3, [r8, r10]
	ldr	r1, [r1]
	mov	r2, r0
	orr	r3, r3, r1
	str	r0, [r7]
	mov	r1, r6
	ldr	r0, .L26+48
	str	r3, [r8, r10]
	bl	udf_debug
	mov	r7, #0
	b	.L1
.L23:
	ldr	r0, [r4, #8]
	bl	le32_to_cpu
	mov	r3, r0
	add	r1, sp, #12
	mov	r0, r9
	str	r3, [sp, #12]
	str	r6, [sp, #16]
	bl	udf_iget_special
	mov	fp, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L25
	ldr	r2, .L26+52
	ldr	r3, [r8, r10]
	ldr	r2, [r2]
	str	fp, [r5, #8]
	orr	r3, r3, r2
	mov	r1, r6
	ldr	r2, [fp]
	ldr	r0, .L26+56
	str	r3, [r8, r10]
	bl	udf_debug
	b	.L8
.L25:
	mov	r1, r6
	ldr	r0, .L26+60
	bl	udf_debug
	mov	r0, fp
	bl	PTR_ERR
	mov	r7, r0
	b	.L1
.L24:
	ldr	r3, .L26+64
	ldr	r0, [r3]
	rsb	r7, r0, #0
	b	.L1
.L22:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC4
	.word	PD_ACCESS_TYPE_READ_ONLY
	.word	UDF_PART_FLAG_READ_ONLY
	.word	PD_ACCESS_TYPE_WRITE_ONCE
	.word	UDF_PART_FLAG_WRITE_ONCE
	.word	PD_ACCESS_TYPE_REWRITABLE
	.word	UDF_PART_FLAG_REWRITABLE
	.word	PD_ACCESS_TYPE_OVERWRITABLE
	.word	UDF_PART_FLAG_OVERWRITABLE
	.word	.LC0
	.word	UDF_FLAG_RW_INCOMPAT
	.word	UDF_PART_FLAG_UNALLOC_BITMAP
	.word	.LC3
	.word	UDF_PART_FLAG_UNALLOC_TABLE
	.word	.LC2
	.word	.LC1
	.word	ENOMEM
	.size	udf_fill_partdesc_info, .-udf_fill_partdesc_info
	.comm	UDF_PART_FLAG_WRITE_ONCE,4,4
	.comm	UDF_PART_FLAG_UNALLOC_TABLE,4,4
	.comm	UDF_PART_FLAG_UNALLOC_BITMAP,4,4
	.comm	UDF_PART_FLAG_REWRITABLE,4,4
	.comm	UDF_PART_FLAG_READ_ONLY,4,4
	.comm	UDF_PART_FLAG_OVERWRITABLE,4,4
	.comm	UDF_FLAG_RW_INCOMPAT,4,4
	.comm	PD_ACCESS_TYPE_WRITE_ONCE,4,4
	.comm	PD_ACCESS_TYPE_REWRITABLE,4,4
	.comm	PD_ACCESS_TYPE_READ_ONLY,4,4
	.comm	PD_ACCESS_TYPE_OVERWRITABLE,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
