	.file	"extr_inode.c_hfs_inode_read_fork.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	hfs_inode_read_fork
	.type	hfs_inode_read_fork, @function
hfs_inode_read_fork:
.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	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	r15, 12[r14]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	edi, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r13, QWORD PTR 8[rbp]
	mov	DWORD PTR 8[rsp], ecx
	mov	DWORD PTR 12[rsp], r8d
	call	be32_to_cpu@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	HFS_I@PLT
	mov	edx, 4
	mov	rsi, r14
	mov	edi, DWORD PTR 24[rax]
	call	memcpy@PLT
.L2:
	mov	edi, DWORD PTR [r14]
	add	r14, 4
	call	be16_to_cpu@PLT
	add	r12, rax
	cmp	r15, r14
	jne	.L2
	mov	rdi, rbp
	call	HFS_I@PLT
	mov	rdi, rbp
	mov	QWORD PTR 16[rax], r12
	call	HFS_I@PLT
	mov	r12d, DWORD PTR 4[r13]
	mov	rdi, rbp
	mov	DWORD PTR [rax], ebx
	mov	DWORD PTR 0[rbp], ebx
	add	ebx, DWORD PTR 0[r13]
	sub	ebx, 1
	call	HFS_I@PLT
	mov	ecx, r12d
	mov	rdi, rbp
	sar	ebx, cl
	mov	DWORD PTR 4[rax], ebx
	call	HFS_I@PLT
	mov	ecx, DWORD PTR 4[r13]
	mov	rdi, rbp
	mov	esi, DWORD PTR 4[rax]
	sal	esi, cl
	call	inode_set_bytes@PLT
	mov	edi, DWORD PTR 8[rsp]
	call	be32_to_cpu@PLT
	mov	rdi, r13
	mov	ebx, eax
	call	HFS_SB@PLT
	mov	rdi, rbp
	mov	r12d, DWORD PTR [rax]
	call	HFS_I@PLT
	mov	rdi, r13
	mov	r8, rax
	mov	eax, ebx
	cdq
	idiv	r12d
	mov	DWORD PTR 8[r8], eax
	call	HFS_SB@PLT
	mov	rdi, rbp
	mov	ebx, DWORD PTR [rax]
	call	HFS_I@PLT
	mov	rdi, rbp
	mov	r9, rax
	mov	eax, DWORD PTR 12[rsp]
	cdq
	idiv	ebx
	mov	DWORD PTR 12[r9], eax
	call	HFS_I@PLT
	mov	eax, DWORD PTR 12[rax]
	test	eax, eax
	je	.L7
	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
.L7:
	.cfi_restore_state
	mov	rdi, r13
	call	HFS_SB@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	HFS_I@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	DWORD PTR 12[rax], edx
	add	rsp, 24
	.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
	.cfi_endproc
.LFE0:
	.size	hfs_inode_read_fork, .-hfs_inode_read_fork
	.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_inode.c_hfs_inode_read_fork.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	hfs_inode_read_fork
	.syntax unified
	.arm
	.fpu softvfp
	.type	hfs_inode_read_fork, %function
hfs_inode_read_fork:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r0, r2
	mov	r5, r1
	mov	r8, r3
	ldr	r7, [r4, #4]
	bl	be32_to_cpu
	mov	r9, r0
	mov	r0, r4
	bl	HFS_I
	mov	r1, r5
	mov	r2, #4
	ldr	r0, [r0, #20]
	bl	memcpy
	mov	r10, #0
	sub	r6, r5, #4
	add	r5, r5, #8
.L2:
	ldr	r0, [r6, #4]!
	bl	be16_to_cpu
	cmp	r5, r6
	add	r10, r10, r0
	bne	.L2
	mov	r0, r4
	bl	HFS_I
	str	r10, [r0, #16]
	mov	r0, r4
	bl	HFS_I
	ldr	r5, [r7]
	str	r9, [r0]
	mov	r0, r4
	str	r9, [r4]
	ldr	r6, [r7, #4]
	bl	HFS_I
	add	r5, r9, r5
	sub	r5, r5, #1
	asr	r5, r5, r6
	str	r5, [r0, #4]
	mov	r0, r4
	bl	HFS_I
	ldr	r3, [r7, #4]
	ldr	r1, [r0, #4]
	mov	r0, r4
	lsl	r1, r1, r3
	bl	inode_set_bytes
	mov	r0, r8
	bl	be32_to_cpu
	mov	r6, r0
	mov	r0, r7
	bl	HFS_SB
	mov	r3, r0
	mov	r0, r4
	ldr	r8, [r3]
	bl	HFS_I
	mov	r1, r8
	mov	r5, r0
	mov	r0, r6
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r0, r7
	str	r3, [r5, #8]
	bl	HFS_SB
	mov	r3, r0
	mov	r0, r4
	ldr	r6, [r3]
	bl	HFS_I
	mov	r1, r6
	mov	r5, r0
	ldr	r0, [sp, #32]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r0, r4
	str	r3, [r5, #12]
	bl	HFS_I
	ldr	r3, [r0, #12]
	cmp	r3, #0
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r0, r7
	bl	HFS_SB
	mov	r5, r0
	mov	r0, r4
	bl	HFS_I
	ldr	r3, [r5, #4]
	str	r3, [r0, #12]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	hfs_inode_read_fork, .-hfs_inode_read_fork
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
