	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function journal_findfile
_journal_findfile:                      ## @journal_findfile
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_UFS_ROOTINO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_disk@GOTPCREL(%rip), %rbx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_getinode
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_warn
	jmp	LBB0_16
LBB0_2:
	movq	_sblock@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FS_UFS1_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.3:
	movq	-48(%rbp), %rax
	movq	8(%rax), %rbx
	movq	_UFS_NDADDR@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_sblock@GOTPCREL(%rip), %rdi
	callq	_lblktosize
	cmpq	%rax, %rbx
	jge	LBB0_15
## %bb.4:
	cmpl	$0, (%r13)
	jle	LBB0_19
## %bb.5:
	xorl	%r15d, %r15d
	movq	_sblock@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movq	(%rax), %rcx
	movq	(%rcx,%rbx,8), %r12
	testq	%r12, %r12
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rax), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_sblksize
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_dir_search
	testl	%eax, %eax
	jne	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
	jmp	LBB0_17
LBB0_9:
	movq	-48(%rbp), %rax
	movq	8(%rax), %rbx
	movq	_UFS_NDADDR@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_sblock@GOTPCREL(%rip), %rdi
	callq	_lblktosize
	cmpq	%rax, %rbx
	jge	LBB0_15
## %bb.10:
	cmpl	$0, (%r13)
	jle	LBB0_19
## %bb.11:
	xorl	%r15d, %r15d
	movq	_sblock@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movq	(%rax), %rcx
	movq	(%rcx,%rbx,8), %r12
	testq	%r12, %r12
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	8(%rax), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_sblksize
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_dir_search
	testl	%eax, %eax
	jne	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_12
	jmp	LBB0_17
LBB0_15:
	leaq	L_.str.1(%rip), %rdi
	callq	_warnx
LBB0_16:
	movl	$-1, %r15d
LBB0_17:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	xorl	%r15d, %r15d
	jmp	LBB0_17
LBB0_20:
	movl	%eax, %r15d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_disk,4,2                       ## @disk
	.comm	_UFS_ROOTINO,4,2                ## @UFS_ROOTINO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get root inode: %s"

	.comm	_sblock,8,3                     ## @sblock
	.comm	_FS_UFS1_MAGIC,8,3              ## @FS_UFS1_MAGIC
	.comm	_UFS_NDADDR,4,2                 ## @UFS_NDADDR
L_.str.1:                               ## @.str.1
	.asciz	"UFS_ROOTINO extends beyond direct blocks."

	.no_dead_strip	_journal_findfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function journal_findfile
_journal_findfile:                      ; @journal_findfile
	.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
Lloh0:
	adrp	x8, _UFS_ROOTINO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UFS_ROOTINO@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x19, _disk@GOTPAGE
Lloh4:
	ldr	x19, [x19, _disk@GOTPAGEOFF]
	add	x1, sp, #8
	mov	x0, x19
	bl	_getinode
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	b	LBB0_16
LBB0_2:
Lloh7:
	adrp	x8, _sblock@GOTPAGE
Lloh8:
	ldr	x8, [x8, _sblock@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _FS_UFS1_MAGIC@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FS_UFS1_MAGIC@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.3:
	ldr	x8, [sp, #8]
	ldr	x19, [x8, #8]
Lloh13:
	adrp	x22, _UFS_NDADDR@GOTPAGE
Lloh14:
	ldr	x22, [x22, _UFS_NDADDR@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh15:
	adrp	x0, _sblock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _sblock@GOTPAGEOFF]
	bl	_lblktosize
	cmp	x19, x0
	b.ge	LBB0_15
; %bb.4:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.5:
	mov	x19, #0
Lloh17:
	adrp	x20, _sblock@GOTPAGE
Lloh18:
	ldr	x20, [x20, _sblock@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	ldr	x21, [x9, x19, lsl #3]
	cbz	x21, LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x8, #8]
	mov	x0, x20
	mov	x2, x19
	bl	_sblksize
	mov	x1, x0
	mov	x0, x21
	bl	_dir_search
	cbnz	w0, LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x22]
	cmp	x19, x8
	b.lt	LBB0_6
	b	LBB0_17
LBB0_9:
	ldr	x8, [sp, #8]
	ldr	x19, [x8, #8]
Lloh19:
	adrp	x22, _UFS_NDADDR@GOTPAGE
Lloh20:
	ldr	x22, [x22, _UFS_NDADDR@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh21:
	adrp	x0, _sblock@GOTPAGE
Lloh22:
	ldr	x0, [x0, _sblock@GOTPAGEOFF]
	bl	_lblktosize
	cmp	x19, x0
	b.ge	LBB0_15
; %bb.10:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.11:
	mov	x19, #0
Lloh23:
	adrp	x20, _sblock@GOTPAGE
Lloh24:
	ldr	x20, [x20, _sblock@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x8]
	ldr	x21, [x9, x19, lsl #3]
	cbz	x21, LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x1, [x8, #8]
	mov	x0, x20
	mov	x2, x19
	bl	_sblksize
	mov	x1, x0
	mov	x0, x21
	bl	_dir_search
	cbnz	w0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x22]
	cmp	x19, x8
	b.lt	LBB0_12
	b	LBB0_17
LBB0_15:
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
LBB0_16:
	mov	w0, #-1
LBB0_17:
	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_18:
	mov	w0, #0
	b	LBB0_17
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_disk,4,2                       ; @disk
	.comm	_UFS_ROOTINO,4,2                ; @UFS_ROOTINO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get root inode: %s"

	.comm	_sblock,8,3                     ; @sblock
	.comm	_FS_UFS1_MAGIC,8,3              ; @FS_UFS1_MAGIC
	.comm	_UFS_NDADDR,4,2                 ; @UFS_NDADDR
l_.str.1:                               ; @.str.1
	.asciz	"UFS_ROOTINO extends beyond direct blocks."

	.no_dead_strip	_journal_findfile
.subsections_via_symbols
