	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filetype
_filetype:                              ## @filetype
	.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
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_nostat
	movb	$32, %cl
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_Strspl
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_short2str
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_xfree
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	callq	_lstat
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.3:
	movq	_S_IXUSR@GOTPCREL(%rip), %rax
	movq	_S_IXGRP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_S_IXOTH@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movb	$42, %cl
	testl	%edx, -24(%rbp)
	jne	LBB0_5
LBB0_4:
	movb	$32, %cl
LBB0_5:
	movzbl	%cl, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_IXUSR,4,2                    ## @S_IXUSR
	.comm	_S_IXGRP,4,2                    ## @S_IXGRP
	.comm	_S_IXOTH,4,2                    ## @S_IXOTH
	.comm	_STRlistlinks,4,2               ## @STRlistlinks
	.no_dead_strip	_filetype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filetype
_filetype:                              ; @filetype
	.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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_nostat
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #32
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_Strspl
	mov	x19, x0
	bl	_short2str
	mov	x20, x0
	mov	x0, x19
	bl	_xfree
	add	x1, sp, #8
	mov	x0, x20
	bl	_lstat
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.5:
	ldr	w8, [sp, #8]
Lloh0:
	adrp	x9, _S_IXUSR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _S_IXUSR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _S_IXGRP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _S_IXGRP@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _S_IXOTH@GOTPAGE
Lloh7:
	ldr	x10, [x10, _S_IXOTH@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_2
; %bb.6:
	mov	w0, #42
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S_IXUSR,4,2                    ; @S_IXUSR
	.comm	_S_IXGRP,4,2                    ; @S_IXGRP
	.comm	_S_IXOTH,4,2                    ; @S_IXOTH
	.comm	_STRlistlinks,4,2               ; @STRlistlinks
	.no_dead_strip	_filetype
.subsections_via_symbols
