	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_dtype
_get_dtype:                             ## @get_dtype
	.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
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %r12
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_DTYPE
	movl	%eax, %ebx
	movq	_DT_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_11
LBB0_2:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_get_index_dtype
	movl	%eax, %ebx
	movq	_DT_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_11
## %bb.3:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_lstat
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	movl	-40(%rbp), %r14d
	movl	%r14d, %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_DT_REG@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_6:
	movl	%r14d, %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_DT_DIR@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movl	%r14d, %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	_DT_LNK@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_UNKNOWN,4,2                 ## @DT_UNKNOWN
	.comm	_DT_REG,4,2                     ## @DT_REG
	.comm	_DT_DIR,4,2                     ## @DT_DIR
	.comm	_DT_LNK,4,2                     ## @DT_LNK
	.no_dead_strip	_get_dtype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_dtype
_get_dtype:                             ; @get_dtype
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
Lloh0:
	adrp	x23, _DT_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DT_UNKNOWN@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_DTYPE
	mov	x19, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_9
LBB0_2:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_get_index_dtype
	mov	x19, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.3:
	add	x1, sp, #8
	mov	x0, x20
	bl	_lstat
	cbnz	x0, LBB0_9
; %bb.4:
	ldr	w20, [sp, #8]
	mov	x0, x20
	bl	_S_ISREG
	cbz	x0, LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, _DT_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DT_REG@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	b	LBB0_9
LBB0_6:
	mov	x0, x20
	bl	_S_ISDIR
	cbz	x0, LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _DT_DIR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DT_DIR@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_S_ISLNK
Lloh8:
	adrp	x8, _DT_LNK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DT_LNK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w19, w19, w8, eq
LBB0_9:
	mov	x0, 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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_UNKNOWN,4,2                 ; @DT_UNKNOWN
	.comm	_DT_REG,4,2                     ; @DT_REG
	.comm	_DT_DIR,4,2                     ; @DT_DIR
	.comm	_DT_LNK,4,2                     ; @DT_LNK
	.no_dead_strip	_get_dtype
.subsections_via_symbols
