	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disk_read
_disk_read:                             ## @disk_read
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_FALSE@GOTPCREL(%rip), %r15
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	%edi, -48(%rbp)
	movq	_BtrFsInfo@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax), %edi
	movq	_SeekAbsolute@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rsi
	callq	_ArcSeek
	movq	_ESUCCESS@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_2
## %bb.3:
	movq	(%r12), %rax
	movl	(%rax), %edi
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_ArcRead
	cmpq	(%r13), %rax
	jne	LBB0_6
## %bb.4:
	cmpq	%r14, -56(%rbp)
	jne	LBB0_6
## %bb.5:
	movq	_TRUE@GOTPCREL(%rip), %r15
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
LBB0_7:
	movq	%rax, %rsi
	callq	_ERR
LBB0_8:
	movl	(%r15), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_BtrFsInfo,8,3                  ## @BtrFsInfo
	.comm	_SeekAbsolute,4,2               ## @SeekAbsolute
	.comm	_ESUCCESS,8,3                   ## @ESUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ArcSeek returned status %lu\n"

L_.str.1:                               ## @.str.1
	.asciz	"ArcRead returned status %lu\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_disk_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disk_read
_disk_read:                             ; @disk_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_6
; %bb.1:
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x21, _BtrFsInfo@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BtrFsInfo@GOTPAGEOFF]
	str	w0, [sp, #8]
	ldr	x8, [x21]
	ldr	w0, [x8]
Lloh2:
	adrp	x8, _SeekAbsolute@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SeekAbsolute@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x1, sp, #8
	bl	_ArcSeek
Lloh5:
	adrp	x22, _ESUCCESS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _ESUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x3, sp
	mov	x1, x20
	mov	x2, x19
	bl	_ArcRead
	ldr	x8, [x22]
	ldr	x9, [sp]
	cmp	x0, x8
	ccmp	x9, x19, #0, eq
	b.eq	LBB0_8
; %bb.3:
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
LBB0_5:
	bl	_ERR
LBB0_6:
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
Lloh13:
	adrp	x8, _TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_BtrFsInfo,8,3                  ; @BtrFsInfo
	.comm	_SeekAbsolute,4,2               ; @SeekAbsolute
	.comm	_ESUCCESS,8,3                   ; @ESUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ArcSeek returned status %lu\n"

l_.str.1:                               ; @.str.1
	.asciz	"ArcRead returned status %lu\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_disk_read
.subsections_via_symbols
