	.file	"extr_export.c_isofs_export_encode_fh.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	isofs_export_encode_fh, @function
isofs_export_encode_fh:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	ISOFS_I@PLT
	mov	edx, DWORD PTR 0[rbp]
	test	r12, r12
	je	.L2
	cmp	edx, 4
	jg	.L2
	mov	DWORD PTR 0[rbp], 5
	mov	eax, DWORD PTR FILEID_INVALID[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	cmp	edx, 2
	jle	.L15
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 24[rbx], 0
	mov	DWORD PTR [rbx], edx
	mov	QWORD PTR 16[rbx], rax
	mov	eax, DWORD PTR 0[r13]
	mov	DWORD PTR 8[rbx], eax
	test	r12, r12
	je	.L6
	mov	rdi, r12
	call	ISOFS_I@PLT
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR 12[rbx], edx
	mov	edx, 5
	mov	QWORD PTR 24[rbx], rax
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR 16[rbx], eax
	mov	eax, 2
.L5:
	mov	DWORD PTR 0[rbp], edx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	DWORD PTR 0[rbp], 3
	mov	eax, DWORD PTR FILEID_INVALID[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, 1
	mov	edx, 3
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	isofs_export_encode_fh, .-isofs_export_encode_fh
	.comm	FILEID_INVALID,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_export.c_isofs_export_encode_fh.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	isofs_export_encode_fh, %function
isofs_export_encode_fh:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r5, r3
	mov	r7, r1
	mov	r6, r0
	bl	ISOFS_I
	ldr	r2, [r4]
	cmp	r2, #4
	movgt	r3, #0
	movle	r3, #1
	cmp	r5, #0
	moveq	r3, #0
	cmp	r3, #0
	bne	.L9
	cmp	r2, #2
	ble	.L10
	ldr	r2, [r0, #4]
	cmp	r5, #0
	str	r2, [r7]
	ldr	r2, [r6]
	moveq	r0, #1
	str	r3, [r7, #12]
	str	r2, [r7, #8]
	moveq	r3, #3
	beq	.L5
	mov	r0, r5
	bl	ISOFS_I
	ldr	r3, [r5]
	ldr	r2, [r0]
	str	r3, [r7, #16]
	mov	r0, #2
	mov	r3, #5
	str	r2, [r7, #12]
.L5:
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r2, #3
	ldr	r3, .L11
	str	r2, [r4]
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r2, #5
	ldr	r3, .L11
	str	r2, [r4]
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	FILEID_INVALID
	.size	isofs_export_encode_fh, .-isofs_export_encode_fh
	.comm	FILEID_INVALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
