	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_snapshot
_find_snapshot:                         ## @find_snapshot
	.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	%rdi, %r12
	movl	4(%rdi), %esi
	leaq	-64(%rbp), %rdi
	callq	_ufs_disk_fillout
	cmpl	$-1, %eax
	je	LBB0_1
LBB0_2:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	-64(%rbp), %rsi
	movq	-56(%rbp), %rdx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_4:
	movq	_FSMAXSNAP@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.6:
	xorl	%ebx, %ebx
	movq	_inode@GOTPCREL(%rip), %r14
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rcx
	movq	(%rcx,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rcx, (%r14)
	movl	(%r12), %edi
	callq	_find_inum
	incl	%r13d
	movl	(%r15), %eax
	jmp	LBB0_9
LBB0_5:
	xorl	%r13d, %r13d
LBB0_10:
	testl	%r13d, %r13d
	jne	LBB0_13
## %bb.11:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_13:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ufs_disk_fillout"

	.comm	_verbose,8,3                    ## @verbose
L_.str.1:                               ## @.str.1
	.asciz	"%s mounted on %s\n"

	.comm	_FSMAXSNAP,4,2                  ## @FSMAXSNAP
	.comm	_inode,8,3                      ## @inode
L_str:                                  ## @str
	.asciz	"\tno snapshots found"

	.no_dead_strip	_find_snapshot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_snapshot
_find_snapshot:                         ; @find_snapshot
	.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
	mov	x19, x0
	ldr	w1, [x0, #4]
	add	x0, sp, #24
	bl	_ufs_disk_fillout
	cmn	w0, #1
	b.eq	LBB0_13
LBB0_1:
Lloh0:
	adrp	x20, _verbose@GOTPAGE
Lloh1:
	ldr	x20, [x20, _verbose@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	ldp	x8, x9, [sp, #24]
	stp	x8, x9, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
LBB0_3:
Lloh4:
	adrp	x21, _FSMAXSNAP@GOTPAGE
Lloh5:
	ldr	x21, [x21, _FSMAXSNAP@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x23, #0
	mov	w22, #0
Lloh6:
	adrp	x24, _inode@GOTPAGE
Lloh7:
	ldr	x24, [x24, _inode@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [sp, #40]
	ldr	x9, [x9, x23, lsl #3]
	cbz	x9, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x9, [x24]
	ldr	w0, [x19]
	bl	_find_inum
	add	w22, w22, #1
	ldr	w8, [x21]
	b	LBB0_5
LBB0_8:
	mov	w22, #0
LBB0_9:
	cbnz	w22, LBB0_12
; %bb.10:
	ldr	x8, [x20]
	cbz	x8, LBB0_12
; %bb.11:
Lloh8:
	adrp	x0, l_str@PAGE
Lloh9:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_12:
	mov	w0, #0
	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
LBB0_13:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ufs_disk_fillout"

	.comm	_verbose,8,3                    ; @verbose
l_.str.1:                               ; @.str.1
	.asciz	"%s mounted on %s\n"

	.comm	_FSMAXSNAP,4,2                  ; @FSMAXSNAP
	.comm	_inode,8,3                      ; @inode
l_str:                                  ; @str
	.asciz	"\tno snapshots found"

	.no_dead_strip	_find_snapshot
.subsections_via_symbols
