	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fileerror                      ## -- Begin function fileerror
	.p2align	4, 0x90
_fileerror:                             ## @fileerror
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_pwarn
	movq	_UFS_ROOTINO@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jg	LBB0_2
## %bb.1:
	movq	_maxino@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jl	LBB0_2
## %bb.4:
	movq	%rbx, %rdi
	callq	_ginode
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_prtinode
	movl	$10, %edi
	callq	_putchar
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_getpathname
	movq	%r12, %rdi
	callq	_ftypeok
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_di_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_DIP
	movq	_IFMT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_IFDIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.5(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_pfatal
	jmp	LBB0_7
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_9
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pfatal                         ## TAILCALL
LBB0_6:
	leaq	L_.str.6(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_pfatal
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s "

	.comm	_UFS_ROOTINO,8,3                ## @UFS_ROOTINO
	.comm	_maxino,8,3                     ## @maxino
L_.str.1:                               ## @.str.1
	.asciz	"out-of-range inode number %ju"

L_.str.3:                               ## @.str.3
	.asciz	"%s=%s\n"

	.comm	_di_mode,4,2                    ## @di_mode
	.comm	_IFMT,4,2                       ## @IFMT
	.comm	_IFDIR,4,2                      ## @IFDIR
L_.str.4:                               ## @.str.4
	.asciz	"DIR"

L_.str.5:                               ## @.str.5
	.asciz	"FILE"

L_.str.6:                               ## @.str.6
	.asciz	"NAME=%s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fileerror                      ; -- Begin function fileerror
	.p2align	2
_fileerror:                             ; @fileerror
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x2
	bl	_pwarn
Lloh10:
	adrp	x8, _UFS_ROOTINO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UFS_ROOTINO@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _maxino@GOTPAGE
Lloh14:
	ldr	x9, [x9, _maxino@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x20
	ccmp	x9, x20, #8, le
	b.ge	LBB0_3
; %bb.1:
	ldur	x8, [x29, #-40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.2:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pfatal
LBB0_3:
	mov	x0, x20
	bl	_ginode
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	bl	_prtinode
	mov	w0, #10
	bl	_putchar
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_getpathname
	mov	x0, x22
	bl	_ftypeok
	cbz	x0, LBB0_5
; %bb.4:
Lloh21:
	adrp	x8, _di_mode@GOTPAGE
Lloh22:
	ldr	x8, [x8, _di_mode@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_DIP
Lloh24:
	adrp	x8, _IFMT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IFMT@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh27:
	adrp	x9, _IFDIR@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IFDIR@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, l_.str.5@PAGE
Lloh31:
	add	x10, x10, l_.str.5@PAGEOFF
Lloh32:
	adrp	x11, l_.str.4@PAGE
Lloh33:
	add	x11, x11, l_.str.4@PAGEOFF
	cmp	w8, w9
	csel	x1, x11, x10, eq
	str	x19, [sp, #-16]!
Lloh34:
	adrp	x0, l_.str.3@PAGE
Lloh35:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pfatal
	add	sp, sp, #16
	b	LBB0_6
LBB0_5:
Lloh36:
	adrp	x0, l_.str.6@PAGE
Lloh37:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_pfatal
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s "

	.comm	_UFS_ROOTINO,8,3                ; @UFS_ROOTINO
	.comm	_maxino,8,3                     ; @maxino
l_.str.1:                               ; @.str.1
	.asciz	"out-of-range inode number %ju"

l_.str.3:                               ; @.str.3
	.asciz	"%s=%s\n"

	.comm	_di_mode,4,2                    ; @di_mode
	.comm	_IFMT,4,2                       ; @IFMT
	.comm	_IFDIR,4,2                      ; @IFDIR
l_.str.4:                               ; @.str.4
	.asciz	"DIR"

l_.str.5:                               ; @.str.5
	.asciz	"FILE"

l_.str.6:                               ; @.str.6
	.asciz	"NAME=%s\n"

.subsections_via_symbols
