	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ce_to_dtype
_ce_to_dtype:                           ## @ce_to_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %edi
	callq	_ntohl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_DT_REG@GOTPCREL(%rip), %r14
	jmp	LBB0_7
LBB0_2:
	movl	%ebx, %edi
	callq	_S_ISDIR
	movq	_DT_DIR@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movl	%ebx, %edi
	callq	_S_ISGITLINK
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movl	%ebx, %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	_DT_UNKNOWN@GOTPCREL(%rip), %r14
	jmp	LBB0_7
LBB0_5:
	movq	_DT_LNK@GOTPCREL(%rip), %r14
LBB0_7:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_REG,4,2                     ## @DT_REG
	.comm	_DT_DIR,4,2                     ## @DT_DIR
	.comm	_DT_LNK,4,2                     ## @DT_LNK
	.comm	_DT_UNKNOWN,4,2                 ## @DT_UNKNOWN
	.no_dead_strip	_ce_to_dtype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ce_to_dtype
_ce_to_dtype:                           ; @ce_to_dtype
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w0, [x0]
	bl	_ntohl
	mov	x19, x0
	bl	_S_ISREG
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _DT_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DT_REG@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_S_ISDIR
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_S_ISGITLINK
	cbz	x0, LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _DT_DIR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DT_DIR@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	bl	_S_ISLNK
Lloh4:
	adrp	x8, _DT_LNK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DT_LNK@GOTPAGEOFF]
Lloh6:
	adrp	x9, _DT_UNKNOWN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DT_UNKNOWN@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_REG,4,2                     ; @DT_REG
	.comm	_DT_DIR,4,2                     ; @DT_DIR
	.comm	_DT_LNK,4,2                     ; @DT_LNK
	.comm	_DT_UNKNOWN,4,2                 ; @DT_UNKNOWN
	.no_dead_strip	_ce_to_dtype
.subsections_via_symbols
