	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getinode                       ## -- Begin function getinode
	.p2align	4, 0x90
_getinode:                              ## @getinode
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%esi, %esi
	callq	_ERROR
	movq	40(%rbx), %rax
	imulq	56(%rbx), %rax
	cmpq	%r15, %rax
	jbe	LBB0_1
## %bb.2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	32(%rbx), %r12
	movq	(%rbx), %r14
	movq	8(%rbx), %r13
	testq	%r12, %r12
	jne	LBB0_6
## %bb.3:
	movl	48(%rbx), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	%rax, 32(%rbx)
LBB0_6:
	leaq	40(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	%r15, %r14
	ja	LBB0_8
## %bb.7:
	cmpq	%r15, %r13
	ja	LBB0_12
LBB0_8:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ino_to_fsba
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_fsbtodb
	movl	48(%rbx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	callq	_bread
	movq	%r14, %rdi
	callq	_INOPB
	movq	%rax, %rcx
	orq	%r15, %rax
	shrq	$32, %rax
	je	LBB0_9
## %bb.10:
	movq	%r15, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_11
LBB0_1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_22
LBB0_9:
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_11:
	movq	%r15, %r14
	subq	%rdx, %r14
	movq	%r14, (%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_INOPB
	addq	%r14, %rax
	movq	%rax, 8(%rbx)
LBB0_12:
	movl	16(%rbx), %eax
	cmpl	$2, %eax
	je	LBB0_16
## %bb.13:
	cmpl	$1, %eax
	jne	LBB0_21
## %bb.14:
	subq	%r14, %r15
	leaq	(%r12,%r15,4), %rcx
	movq	%rcx, 24(%rbx)
	xorl	%eax, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.15:
	movq	%rcx, (%rdx)
	jmp	LBB0_23
LBB0_16:
	subq	%r14, %r15
	leaq	(%r12,%r15,4), %rsi
	movq	%rsi, 24(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%rsi, (%rax)
	movq	24(%rbx), %rsi
LBB0_18:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ffs_verify_dinode_ckhash
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_22
LBB0_21:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_22
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_22:
	movq	%rbx, %rdi
	callq	_ERROR
	movl	$-1, %eax
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	xorl	%eax, %eax
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inode number out of range"

L_.str.1:                               ## @.str.1
	.asciz	"unable to allocate inode block"

L_.str.2:                               ## @.str.2
	.asciz	"check-hash failed for inode read from disk"

L_.str.3:                               ## @.str.3
	.asciz	"unknown UFS filesystem type"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getinode                       ; -- Begin function getinode
	.p2align	2
_getinode:                              ; @getinode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	x1, #0
	bl	_ERROR
	mov	x21, x19
	ldr	x8, [x21, #40]!
	ldr	x9, [x21, #16]
	mul	x8, x8, x9
	cmp	x8, x22
	b.ls	LBB0_10
; %bb.1:
	ldr	x23, [x19, #32]
	ldp	x24, x25, [x19]
	cbnz	x23, LBB0_4
; %bb.2:
	ldr	w0, [x19, #48]
	bl	_malloc
	cbz	x0, LBB0_16
; %bb.3:
	mov	x23, x0
	str	x0, [x19, #32]
LBB0_4:
	cmp	x24, x22
	ccmp	x25, x22, #0, ls
	b.hi	LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x22
	bl	_ino_to_fsba
	mov	x1, x0
	mov	x0, x21
	bl	_fsbtodb
	mov	x1, x0
	ldr	w3, [x19, #48]
	mov	x0, x19
	mov	x2, x23
	bl	_bread
	mov	x0, x21
	bl	_INOPB
	udiv	x8, x22, x0
	mul	x24, x8, x0
	str	x24, [x19]
	mov	x0, x21
	bl	_INOPB
	add	x8, x0, x24
	str	x8, [x19, #8]
LBB0_6:
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.eq	LBB0_11
; %bb.7:
	cmp	w8, #1
	b.ne	LBB0_15
; %bb.8:
	sub	x8, x22, x24
	add	x8, x23, x8, lsl #2
	str	x8, [x19, #24]
	mov	w0, #0
	cbz	x20, LBB0_18
; %bb.9:
	str	x8, [x20]
	b	LBB0_18
LBB0_10:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_17
LBB0_11:
	sub	x8, x22, x24
	add	x1, x23, x8, lsl #2
	str	x1, [x19, #24]
	cbz	x20, LBB0_13
; %bb.12:
	str	x1, [x20]
	ldr	x1, [x19, #24]
LBB0_13:
	mov	x0, x21
	bl	_ffs_verify_dinode_ckhash
	cbz	w0, LBB0_18
; %bb.14:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_15:
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_16:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_17:
	mov	x0, x19
	bl	_ERROR
	mov	w0, #-1
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inode number out of range"

l_.str.1:                               ; @.str.1
	.asciz	"unable to allocate inode block"

l_.str.2:                               ; @.str.2
	.asciz	"check-hash failed for inode read from disk"

l_.str.3:                               ; @.str.3
	.asciz	"unknown UFS filesystem type"

.subsections_via_symbols
