	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_os_file_type                   ## -- Begin function os_file_type
	.p2align	4, 0x90
_os_file_type:                          ## @os_file_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	leaq	-8(%rbp), %rsi
	callq	_os_stat_file
	testl	%eax, %eax
	js	LBB0_15
## %bb.1:
	movl	-8(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_OS_TYPE_DIR@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_3:
	movl	-8(%rbp), %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_OS_TYPE_SYMLINK@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_5:
	movl	-8(%rbp), %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_OS_TYPE_CHARDEV@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_7:
	movl	-8(%rbp), %edi
	callq	_S_ISBLK
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_OS_TYPE_BLOCKDEV@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_9:
	movl	-8(%rbp), %edi
	callq	_S_ISFIFO
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_OS_TYPE_FIFO@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movl	-8(%rbp), %edi
	callq	_S_ISSOCK
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_OS_TYPE_SOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_OS_TYPE_FILE@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
LBB0_15:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OS_TYPE_DIR,4,2                ## @OS_TYPE_DIR
	.comm	_OS_TYPE_SYMLINK,4,2            ## @OS_TYPE_SYMLINK
	.comm	_OS_TYPE_CHARDEV,4,2            ## @OS_TYPE_CHARDEV
	.comm	_OS_TYPE_BLOCKDEV,4,2           ## @OS_TYPE_BLOCKDEV
	.comm	_OS_TYPE_FIFO,4,2               ## @OS_TYPE_FIFO
	.comm	_OS_TYPE_SOCK,4,2               ## @OS_TYPE_SOCK
	.comm	_OS_TYPE_FILE,4,2               ## @OS_TYPE_FILE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_os_file_type                   ; -- Begin function os_file_type
	.p2align	2
_os_file_type:                          ; @os_file_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	add	x1, sp, #8
	bl	_os_stat_file
	tbnz	w0, #31, LBB0_15
; %bb.1:
	ldr	w0, [sp, #8]
	bl	_S_ISDIR
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _OS_TYPE_DIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OS_TYPE_DIR@GOTPAGEOFF]
	b	LBB0_14
LBB0_3:
	ldr	w0, [sp, #8]
	bl	_S_ISLNK
	cbz	x0, LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _OS_TYPE_SYMLINK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OS_TYPE_SYMLINK@GOTPAGEOFF]
	b	LBB0_14
LBB0_5:
	ldr	w0, [sp, #8]
	bl	_S_ISCHR
	cbz	x0, LBB0_7
; %bb.6:
Lloh4:
	adrp	x8, _OS_TYPE_CHARDEV@GOTPAGE
Lloh5:
	ldr	x8, [x8, _OS_TYPE_CHARDEV@GOTPAGEOFF]
	b	LBB0_14
LBB0_7:
	ldr	w0, [sp, #8]
	bl	_S_ISBLK
	cbz	x0, LBB0_9
; %bb.8:
Lloh6:
	adrp	x8, _OS_TYPE_BLOCKDEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OS_TYPE_BLOCKDEV@GOTPAGEOFF]
	b	LBB0_14
LBB0_9:
	ldr	w0, [sp, #8]
	bl	_S_ISFIFO
	cbz	x0, LBB0_11
; %bb.10:
Lloh8:
	adrp	x8, _OS_TYPE_FIFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OS_TYPE_FIFO@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
	ldr	w0, [sp, #8]
	bl	_S_ISSOCK
	cbz	x0, LBB0_13
; %bb.12:
Lloh10:
	adrp	x8, _OS_TYPE_SOCK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OS_TYPE_SOCK@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh12:
	adrp	x8, _OS_TYPE_FILE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OS_TYPE_FILE@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	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
	.cfi_endproc
                                        ; -- End function
	.comm	_OS_TYPE_DIR,4,2                ; @OS_TYPE_DIR
	.comm	_OS_TYPE_SYMLINK,4,2            ; @OS_TYPE_SYMLINK
	.comm	_OS_TYPE_CHARDEV,4,2            ; @OS_TYPE_CHARDEV
	.comm	_OS_TYPE_BLOCKDEV,4,2           ; @OS_TYPE_BLOCKDEV
	.comm	_OS_TYPE_FIFO,4,2               ; @OS_TYPE_FIFO
	.comm	_OS_TYPE_SOCK,4,2               ; @OS_TYPE_SOCK
	.comm	_OS_TYPE_FILE,4,2               ; @OS_TYPE_FILE
.subsections_via_symbols
