	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getino                         ## -- Begin function getino
	.p2align	4, 0x90
_getino:                                ## @getino
	.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	%rsi, %r14
	movq	%rdi, %r13
	cmpq	$0, _getino.inoblock(%rip)
	jne	LBB0_3
## %bb.1:
	movq	_sblock@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdi
	callq	_malloc
	movq	%rax, _getino.inoblock(%rip)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_quit
LBB0_3:
	movq	_curino@GOTPCREL(%rip), %rax
	movq	%r13, (%rax)
	cmpq	%r13, _getino.minino(%rip)
	jg	LBB0_5
## %bb.4:
	cmpq	%r13, _getino.maxino(%rip)
	jg	LBB0_9
LBB0_5:
	movq	_sblock@GOTPCREL(%rip), %r12
	movq	(%r12), %r15
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_ino_to_fsba
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fsbtodb
	movq	_getino.inoblock(%rip), %rsi
	movq	(%r12), %rcx
	movl	8(%rcx), %edx
	movl	%eax, %edi
	callq	_blkread
	movq	(%r12), %rdi
	callq	_INOPB
	movq	%rax, %rcx
	orq	%r13, %rax
	shrq	$32, %rax
	je	LBB0_6
## %bb.7:
	movq	%r13, %rax
	cqto
	idivq	%rcx
	jmp	LBB0_8
LBB0_6:
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_8:
	movq	%r13, %rbx
	subq	%rdx, %rbx
	movq	%rbx, _getino.minino(%rip)
	movq	(%r12), %rdi
	callq	_INOPB
	addq	%rbx, %rax
	movq	%rax, _getino.maxino(%rip)
LBB0_9:
	movq	_sblock@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_FS_UFS1_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_getino.inoblock(%rip), %rdx
	subq	_getino.minino(%rip), %r13
	leaq	(%rdx,%r13,4), %rax
	movq	_IFMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rdx,%r13,4), %ecx
	movl	%ecx, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_getino.minino,8,3 ## @getino.minino
.zerofill __DATA,__bss,_getino.maxino,8,3 ## @getino.maxino
.zerofill __DATA,__bss,_getino.inoblock,8,3 ## @getino.inoblock
	.comm	_sblock,8,3                     ## @sblock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot allocate inode memory.\n"

	.comm	_curino,8,3                     ## @curino
	.comm	_FS_UFS1_MAGIC,8,3              ## @FS_UFS1_MAGIC
	.comm	_IFMT,4,2                       ## @IFMT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getino                         ; -- Begin function getino
	.p2align	2
_getino:                                ; @getino
	.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	x19, x1
	mov	x20, x0
	adrp	x22, _getino.inoblock@PAGE
	ldr	x8, [x22, _getino.inoblock@PAGEOFF]
Lloh0:
	adrp	x23, _sblock@GOTPAGE
Lloh1:
	ldr	x23, [x23, _sblock@GOTPAGEOFF]
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x23]
	ldr	x0, [x8, #8]
	bl	_malloc
	str	x0, [x22, _getino.inoblock@PAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_quit
LBB0_3:
Lloh4:
	adrp	x8, _curino@GOTPAGE
Lloh5:
	ldr	x8, [x8, _curino@GOTPAGEOFF]
Lloh6:
	str	x20, [x8]
	adrp	x24, _getino.minino@PAGE
	ldr	x8, [x24, _getino.minino@PAGEOFF]
	adrp	x25, _getino.maxino@PAGE
	ldr	x9, [x25, _getino.maxino@PAGEOFF]
	cmp	x8, x20
	ccmp	x9, x20, #4, le
	b.gt	LBB0_5
; %bb.4:
	ldr	x21, [x23]
	mov	x0, x21
	mov	x1, x20
	bl	_ino_to_fsba
	mov	x1, x0
	mov	x0, x21
	bl	_fsbtodb
	ldr	x1, [x22, _getino.inoblock@PAGEOFF]
	ldr	x8, [x23]
	ldr	w2, [x8, #8]
	bl	_blkread
	ldr	x0, [x23]
	bl	_INOPB
	sdiv	x8, x20, x0
	mul	x21, x8, x0
	str	x21, [x24, _getino.minino@PAGEOFF]
	ldr	x0, [x23]
	bl	_INOPB
	add	x8, x0, x21
	str	x8, [x25, _getino.maxino@PAGEOFF]
LBB0_5:
	ldr	x8, [x23]
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _FS_UFS1_MAGIC@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FS_UFS1_MAGIC@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	ldr	x8, [x22, _getino.inoblock@PAGEOFF]
	ldr	x9, [x24, _getino.minino@PAGEOFF]
	sub	x9, x20, x9
	add	x0, x8, x9, lsl #2
	ldr	w8, [x0]
Lloh10:
	adrp	x9, _IFMT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IFMT@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_getino.minino,8,3 ; @getino.minino
.zerofill __DATA,__bss,_getino.maxino,8,3 ; @getino.maxino
.zerofill __DATA,__bss,_getino.inoblock,8,3 ; @getino.inoblock
	.comm	_sblock,8,3                     ; @sblock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot allocate inode memory.\n"

	.comm	_curino,8,3                     ; @curino
	.comm	_FS_UFS1_MAGIC,8,3              ; @FS_UFS1_MAGIC
	.comm	_IFMT,4,2                       ; @IFMT
.subsections_via_symbols
