	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filesys_xfs_file_chunk
_filesys_xfs_file_chunk:                ## @filesys_xfs_file_chunk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %eax
	movq	_curfile@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpl	(%r15), %eax
	sete	%dil
	callq	_assert
	movl	(%r14), %eax
	xorl	%edi, %edi
	cmpl	4(%r15), %eax
	setl	%dil
	callq	_assert
	movslq	4(%r14), %rbx
	incq	%rbx
	movl	4(%r15), %eax
	decl	%eax
	cmpl	%eax, (%r14)
	sete	%al
	cmpl	$65536, %ebx                    ## imm = 0x10000
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	8(%r15), %rdi
	shlq	$2, %rdi
	addq	24(%r15), %rdi
	movq	8(%r14), %rsi
	movl	%ebx, %edx
	callq	_memcpy
	addq	%rbx, 8(%r15)
	movl	(%r15), %edx
	movl	4(%r15), %ecx
	incl	%edx
	movl	%edx, (%r15)
	movl	16(%r15), %r8d
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	callq	_vkprintf
	movl	(%r15), %eax
	cmpl	4(%r15), %eax
	jne	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_process_file                   ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curfile,32,3                   ## @curfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d chunk of %d chunks readed (%s).\n"

	.no_dead_strip	_filesys_xfs_file_chunk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filesys_xfs_file_chunk
_filesys_xfs_file_chunk:                ; @filesys_xfs_file_chunk
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _curfile@GOTPAGE
Lloh1:
	ldr	x21, [x21, _curfile@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19]
	ldr	w9, [x21, #4]
	cmp	w8, w9
	cset	w0, lt
	bl	_assert
	ldp	w9, w8, [x19]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x20, x8, #1
	ldr	w8, [x21, #4]
	sub	w8, w8, #1
	cmp	w9, w8
	mov	w8, #65536
	ccmp	w20, w8, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	x8, [x21, #24]
	ldr	x9, [x21, #8]
	add	x0, x8, x9, lsl #2
	ldr	x1, [x19, #8]
	mov	x2, x20
	bl	_memcpy
	ldr	x8, [x21, #8]
	add	x8, x8, x20
	str	x8, [x21, #8]
	ldp	w8, w3, [x21]
	add	w2, w8, #1
	str	w2, [x21]
	ldr	w4, [x21, #16]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	bl	_vkprintf
	ldp	w8, w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_process_file
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_curfile,32,3                   ; @curfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d chunk of %d chunks readed (%s).\n"

	.no_dead_strip	_filesys_xfs_file_chunk
.subsections_via_symbols
