	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function volume_progress
_volume_progress:                       ## @volume_progress
	.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
	cmpl	$2, %edi
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	_mfi_unit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mfi_open
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	%eax, %r14d
	movq	8(%r15), %rsi
	leaq	-44(%rbp), %rdx
	movl	%eax, %edi
	callq	_mfi_lookup_volume
	testq	%rax, %rax
	js	LBB0_5
## %bb.7:
	movl	-44(%rbp), %esi
	leaq	-64(%rbp), %rdx
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	callq	_mfi_ld_get_info
	testq	%rax, %rax
	js	LBB0_8
## %bb.9:
	movl	-64(%rbp), %eax
	movq	_MFI_LD_PROGRESS_CC@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	je	LBB0_11
## %bb.10:
	leaq	-48(%rbp), %rsi
	leaq	L_.str.6(%rip), %rdi
	callq	_mfi_display_progress
	movl	-64(%rbp), %eax
LBB0_11:
	movq	_MFI_LD_PROGRESS_BGI@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_13
## %bb.12:
	leaq	-52(%rbp), %rsi
	leaq	L_.str.7(%rip), %rdi
	callq	_mfi_display_progress
	movl	-64(%rbp), %eax
LBB0_13:
	movq	_MFI_LD_PROGRESS_FGI@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_15
## %bb.14:
	leaq	-56(%rbp), %rsi
	leaq	L_.str.8(%rip), %rdi
	callq	_mfi_display_progress
	movl	-64(%rbp), %eax
LBB0_15:
	movq	_MFI_LD_PROGRESS_RECON@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	testl	%eax, %ecx
	je	LBB0_17
## %bb.16:
	leaq	-60(%rbp), %rsi
	leaq	L_.str.9(%rip), %rdi
	callq	_mfi_display_progress
	movl	-64(%rbp), %eax
	movl	(%rbx), %ecx
LBB0_17:
	movl	(%r12), %edx
	orl	(%r15), %edx
	orl	(%r13), %edx
	orl	%ecx, %edx
	testl	%eax, %edx
	jne	LBB0_19
## %bb.18:
	movl	-44(%rbp), %esi
	movl	%r14d, %edi
	callq	_mfi_volume_name
	leaq	L_.str.10(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
LBB0_19:
	movl	%r14d, %edi
	callq	_close
	xorl	%ebx, %ebx
	jmp	LBB0_20
LBB0_1:
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmovgq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_20
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	jmp	LBB0_20
LBB0_5:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%r15), %rsi
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_6
LBB0_8:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-44(%rbp), %esi
	movl	%r14d, %edi
	callq	_mfi_volume_name
	leaq	L_.str.5(%rip), %rdi
	movq	%rax, %rsi
LBB0_6:
	xorl	%eax, %eax
	callq	_warn
	movl	%r14d, %edi
	callq	_close
LBB0_20:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"volume progress: %s"

L_.str.1:                               ## @.str.1
	.asciz	"extra arguments"

L_.str.2:                               ## @.str.2
	.asciz	"volume required"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_mfi_unit,4,2                   ## @mfi_unit
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_errno,4,2                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	"mfi_open"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid volume: %s"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to fetch info for volume %s"

	.comm	_MFI_LD_PROGRESS_CC,4,2         ## @MFI_LD_PROGRESS_CC
L_.str.6:                               ## @.str.6
	.asciz	"Consistency Check"

	.comm	_MFI_LD_PROGRESS_BGI,4,2        ## @MFI_LD_PROGRESS_BGI
L_.str.7:                               ## @.str.7
	.asciz	"Background Init"

	.comm	_MFI_LD_PROGRESS_FGI,4,2        ## @MFI_LD_PROGRESS_FGI
L_.str.8:                               ## @.str.8
	.asciz	"Foreground Init"

	.comm	_MFI_LD_PROGRESS_RECON,4,2      ## @MFI_LD_PROGRESS_RECON
L_.str.9:                               ## @.str.9
	.asciz	"Reconstruction"

L_.str.10:                              ## @.str.10
	.asciz	"No activity in progress for volume %s.\n"

	.no_dead_strip	_volume_progress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function volume_progress
_volume_progress:                       ; @volume_progress
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cmp	w0, #2
	b.ne	LBB0_15
; %bb.1:
	mov	x21, x1
Lloh0:
	adrp	x8, _mfi_unit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mfi_unit@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_mfi_open
	tbnz	w0, #31, LBB0_16
; %bb.2:
	mov	x19, x0
	ldr	x1, [x21, #8]
	add	x2, sp, #20
	bl	_mfi_lookup_volume
	tbnz	x0, #63, LBB0_17
; %bb.3:
	ldr	w1, [sp, #20]
	add	x2, sp, #24
	mov	x0, x19
	mov	x3, #0
	bl	_mfi_ld_get_info
	tbnz	x0, #63, LBB0_18
; %bb.4:
	ldr	w8, [sp, #24]
Lloh6:
	adrp	x20, _MFI_LD_PROGRESS_CC@GOTPAGE
Lloh7:
	ldr	x20, [x20, _MFI_LD_PROGRESS_CC@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	add	x8, sp, #24
	add	x1, x8, #16
Lloh8:
	adrp	x0, l_.str.6@PAGE
Lloh9:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_mfi_display_progress
	ldr	w8, [sp, #24]
LBB0_6:
Lloh10:
	adrp	x21, _MFI_LD_PROGRESS_BGI@GOTPAGE
Lloh11:
	ldr	x21, [x21, _MFI_LD_PROGRESS_BGI@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	add	x8, sp, #24
	add	x1, x8, #12
Lloh12:
	adrp	x0, l_.str.7@PAGE
Lloh13:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_mfi_display_progress
	ldr	w8, [sp, #24]
LBB0_8:
Lloh14:
	adrp	x22, _MFI_LD_PROGRESS_FGI@GOTPAGE
Lloh15:
	ldr	x22, [x22, _MFI_LD_PROGRESS_FGI@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	add	x8, sp, #24
	add	x1, x8, #8
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_mfi_display_progress
	ldr	w8, [sp, #24]
LBB0_10:
Lloh18:
	adrp	x23, _MFI_LD_PROGRESS_RECON@GOTPAGE
Lloh19:
	ldr	x23, [x23, _MFI_LD_PROGRESS_RECON@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	add	x8, sp, #24
	orr	x1, x8, #0x4
Lloh20:
	adrp	x0, l_.str.9@PAGE
Lloh21:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_mfi_display_progress
	ldr	w8, [sp, #24]
	ldr	w9, [x23]
LBB0_12:
	ldr	w10, [x20]
	ldr	w11, [x21]
	orr	w10, w11, w10
	ldr	w11, [x22]
	orr	w10, w10, w11
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_14
; %bb.13:
	ldr	w1, [sp, #20]
	mov	x0, x19
	bl	_mfi_volume_name
	mov	x1, x0
Lloh22:
	adrp	x0, l_.str.10@PAGE
Lloh23:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf
LBB0_14:
	mov	x0, x19
	bl	_close
	mov	w20, #0
	b	LBB0_20
LBB0_15:
Lloh24:
	adrp	x8, l_.str.2@PAGE
Lloh25:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh26:
	adrp	x9, l_.str.1@PAGE
Lloh27:
	add	x9, x9, l_.str.1@PAGEOFF
	csel	x1, x9, x8, gt
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
Lloh30:
	adrp	x8, _EINVAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh32:
	ldr	w20, [x8]
	b	LBB0_20
LBB0_16:
Lloh33:
	adrp	x8, _errno@GOTPAGE
Lloh34:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh35:
	ldr	w20, [x8]
Lloh36:
	adrp	x0, l_.str.3@PAGE
Lloh37:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warn
	b	LBB0_20
LBB0_17:
Lloh38:
	adrp	x8, _errno@GOTPAGE
Lloh39:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh40:
	ldr	w20, [x8]
	ldr	x8, [x21, #8]
	str	x8, [sp]
Lloh41:
	adrp	x0, l_.str.4@PAGE
Lloh42:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh43:
	adrp	x8, _errno@GOTPAGE
Lloh44:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh45:
	ldr	w20, [x8]
	ldr	w1, [sp, #20]
	mov	x0, x19
	bl	_mfi_volume_name
	str	x0, [sp]
Lloh46:
	adrp	x0, l_.str.5@PAGE
Lloh47:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_19:
	bl	_warn
	mov	x0, x19
	bl	_close
LBB0_20:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"volume progress: %s"

l_.str.1:                               ; @.str.1
	.asciz	"extra arguments"

l_.str.2:                               ; @.str.2
	.asciz	"volume required"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_mfi_unit,4,2                   ; @mfi_unit
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_errno,4,2                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	"mfi_open"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid volume: %s"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to fetch info for volume %s"

	.comm	_MFI_LD_PROGRESS_CC,4,2         ; @MFI_LD_PROGRESS_CC
l_.str.6:                               ; @.str.6
	.asciz	"Consistency Check"

	.comm	_MFI_LD_PROGRESS_BGI,4,2        ; @MFI_LD_PROGRESS_BGI
l_.str.7:                               ; @.str.7
	.asciz	"Background Init"

	.comm	_MFI_LD_PROGRESS_FGI,4,2        ; @MFI_LD_PROGRESS_FGI
l_.str.8:                               ; @.str.8
	.asciz	"Foreground Init"

	.comm	_MFI_LD_PROGRESS_RECON,4,2      ; @MFI_LD_PROGRESS_RECON
l_.str.9:                               ; @.str.9
	.asciz	"Reconstruction"

l_.str.10:                              ; @.str.10
	.asciz	"No activity in progress for volume %s.\n"

	.no_dead_strip	_volume_progress
.subsections_via_symbols
