	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filstat
_filstat:                               ## @filstat
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	cmpl	$130, %esi
	jne	LBB0_3
## %bb.1:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_lstat
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.2:
	movl	-32(%rbp), %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_S_ISLNK                        ## TAILCALL
LBB0_3:
	movl	%esi, %ebx
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_stat
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_5
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	addl	$-128, %ebx
	cmpl	$16, %ebx
	ja	LBB0_30
## %bb.6:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	movl	$1, %eax
	jmpq	*%rcx
LBB0_7:
	movq	_W_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_8:
	movl	-24(%rbp), %ebx
	xorl	%eax, %eax
	callq	_geteuid
	jmp	LBB0_19
LBB0_9:
	movq	_S_ISUID@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	movq	_S_ISVTX@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movl	-32(%rbp), %edi
	callq	_S_ISSOCK
	jmp	LBB0_4
LBB0_12:
	movq	_S_ISGID@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %ecx
LBB0_14:
	xorl	%eax, %eax
	testl	%ecx, -32(%rbp)
	setne	%al
	jmp	LBB0_4
LBB0_15:
	movl	-32(%rbp), %edi
	callq	_S_ISREG
	jmp	LBB0_4
LBB0_16:
	movq	_R_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_17:
	xorl	%eax, %eax
	cmpl	$0, -20(%rbp)
	setg	%al
	jmp	LBB0_4
LBB0_18:
	movl	-28(%rbp), %ebx
	xorl	%eax, %eax
	callq	_getegid
LBB0_19:
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %ebx
	jmp	LBB0_23
LBB0_20:
	movl	-32(%rbp), %edi
	callq	_S_ISFIFO
	jmp	LBB0_4
LBB0_21:
	movq	_F_OK@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eaccess
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
LBB0_23:
	sete	%al
	jmp	LBB0_4
LBB0_24:
	movq	_X_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eaccess
	movl	%eax, %ecx
	movl	$0, %eax
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.25:
	movl	-32(%rbp), %edi
	callq	_S_ISDIR
	testl	%eax, %eax
	je	LBB0_31
LBB0_30:
	movl	$1, %eax
	jmp	LBB0_4
LBB0_27:
	movl	-32(%rbp), %edi
	callq	_S_ISDIR
	jmp	LBB0_4
LBB0_28:
	movl	-32(%rbp), %edi
	callq	_S_ISCHR
	jmp	LBB0_4
LBB0_29:
	movl	-32(%rbp), %edi
	callq	_S_ISBLK
	jmp	LBB0_4
LBB0_31:
	xorl	%eax, %eax
	callq	_geteuid
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.32:
	movq	_S_IXUSR@GOTPCREL(%rip), %rax
	movq	_S_IXGRP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_S_IXOTH@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	jmp	LBB0_14
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_20
	.long	L0_0_set_21
	.long	L0_0_set_24
	.long	L0_0_set_27
	.long	L0_0_set_28
	.long	L0_0_set_29
	.end_data_region
                                        ## -- End function
	.comm	_R_OK,4,2                       ## @R_OK
	.comm	_W_OK,4,2                       ## @W_OK
	.comm	_X_OK,4,2                       ## @X_OK
	.comm	_S_IXUSR,4,2                    ## @S_IXUSR
	.comm	_S_IXGRP,4,2                    ## @S_IXGRP
	.comm	_S_IXOTH,4,2                    ## @S_IXOTH
	.comm	_F_OK,4,2                       ## @F_OK
	.comm	_S_ISUID,4,2                    ## @S_ISUID
	.comm	_S_ISGID,4,2                    ## @S_ISGID
	.comm	_S_ISVTX,4,2                    ## @S_ISVTX
	.no_dead_strip	_filstat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filstat
_filstat:                               ; @filstat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	cmp	w1, #130
	b.ne	LBB0_3
; %bb.1:
	mov	x1, sp
	mov	x0, x19
	bl	_lstat
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	w0, [sp]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_S_ISLNK
LBB0_3:
	mov	x20, x1
	mov	x1, sp
	mov	x0, x19
	bl	_stat
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	mov	w0, #1
	sub	w8, w20, #128
	cmp	w8, #16
	b.hi	LBB0_5
; %bb.7:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
Lloh2:
	adrp	x8, _W_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _W_OK@GOTPAGEOFF]
	b	LBB0_22
LBB0_9:
	ldr	w19, [sp, #8]
	bl	_geteuid
	b	LBB0_19
LBB0_10:
	ldr	w8, [sp]
Lloh4:
	adrp	x9, _S_ISUID@GOTPAGE
Lloh5:
	ldr	x9, [x9, _S_ISUID@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
	ldr	w8, [sp]
Lloh6:
	adrp	x9, _S_ISVTX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _S_ISVTX@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
	ldr	w0, [sp]
	bl	_S_ISSOCK
	b	LBB0_5
LBB0_13:
	ldr	w8, [sp]
Lloh8:
	adrp	x9, _S_ISGID@GOTPAGE
Lloh9:
	ldr	x9, [x9, _S_ISGID@GOTPAGEOFF]
LBB0_14:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	b	LBB0_5
LBB0_15:
	ldr	w0, [sp]
	bl	_S_ISREG
	b	LBB0_5
LBB0_16:
Lloh10:
	adrp	x8, _R_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _R_OK@GOTPAGEOFF]
	b	LBB0_22
LBB0_17:
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cset	w0, gt
	b	LBB0_5
LBB0_18:
	ldr	w19, [sp, #4]
	bl	_getegid
LBB0_19:
	cmp	w19, w0
	b	LBB0_23
LBB0_20:
	ldr	w0, [sp]
	bl	_S_ISFIFO
	b	LBB0_5
LBB0_21:
Lloh12:
	adrp	x8, _F_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _F_OK@GOTPAGEOFF]
LBB0_22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eaccess
	cmp	w0, #0
LBB0_23:
	cset	w0, eq
	b	LBB0_5
LBB0_24:
Lloh14:
	adrp	x8, _X_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _X_OK@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eaccess
	cbnz	w0, LBB0_4
; %bb.25:
	ldr	w0, [sp]
	bl	_S_ISDIR
	cbnz	w0, LBB0_27
; %bb.26:
	bl	_geteuid
	cbz	w0, LBB0_31
LBB0_27:
	mov	w0, #1
	b	LBB0_5
LBB0_28:
	ldr	w0, [sp]
	bl	_S_ISDIR
	b	LBB0_5
LBB0_29:
	ldr	w0, [sp]
	bl	_S_ISCHR
	b	LBB0_5
LBB0_30:
	ldr	w0, [sp]
	bl	_S_ISBLK
	b	LBB0_5
LBB0_31:
Lloh17:
	adrp	x8, _S_IXUSR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _S_IXUSR@GOTPAGEOFF]
	ldr	w9, [sp]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x10, _S_IXGRP@GOTPAGE
Lloh21:
	ldr	x10, [x10, _S_IXGRP@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w8, w10, w8
Lloh23:
	adrp	x10, _S_IXOTH@GOTPAGE
Lloh24:
	ldr	x10, [x10, _S_IXOTH@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	orr	w8, w8, w10
	tst	w8, w9
	cset	w0, ne
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_16-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
	.byte	(LBB0_20-LBB0_5)>>2
	.byte	(LBB0_21-LBB0_5)>>2
	.byte	(LBB0_24-LBB0_5)>>2
	.byte	(LBB0_28-LBB0_5)>>2
	.byte	(LBB0_29-LBB0_5)>>2
	.byte	(LBB0_30-LBB0_5)>>2
                                        ; -- End function
	.comm	_R_OK,4,2                       ; @R_OK
	.comm	_W_OK,4,2                       ; @W_OK
	.comm	_X_OK,4,2                       ; @X_OK
	.comm	_S_IXUSR,4,2                    ; @S_IXUSR
	.comm	_S_IXGRP,4,2                    ; @S_IXGRP
	.comm	_S_IXOTH,4,2                    ; @S_IXOTH
	.comm	_F_OK,4,2                       ; @F_OK
	.comm	_S_ISUID,4,2                    ; @S_ISUID
	.comm	_S_ISGID,4,2                    ; @S_ISGID
	.comm	_S_ISVTX,4,2                    ; @S_ISVTX
	.no_dead_strip	_filstat
.subsections_via_symbols
