	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ce_mode_from_stat
_ce_mode_from_stat:                     ## @ce_mode_from_stat
	.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	%esi, %ebx
	movq	%rdi, %r14
	movq	_has_symlinks@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
LBB0_4:
	movq	_trust_executable_bit@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
LBB0_10:
	movl	%ebx, %edi
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_create_ce_mode                 ## TAILCALL
LBB0_1:
	movl	%ebx, %edi
	callq	_S_ISREG
	testq	%r14, %r14
	je	LBB0_4
## %bb.2:
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_4
LBB0_5:
	movl	%ebx, %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movl	(%r14), %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_8
LBB0_11:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movl	$438, %edi                      ## imm = 0x1B6
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ce_mode_from_stat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ce_mode_from_stat
_ce_mode_from_stat:                     ; @ce_mode_from_stat
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _has_symlinks@GOTPAGE
Lloh1:
	ldr	x8, [x8, _has_symlinks@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
LBB0_1:
Lloh3:
	adrp	x8, _trust_executable_bit@GOTPAGE
Lloh4:
	ldr	x8, [x8, _trust_executable_bit@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
LBB0_2:
	mov	x0, x20
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_create_ce_mode
LBB0_4:
	mov	x0, x20
	bl	_S_ISREG
	cbz	x19, LBB0_1
; %bb.5:
	cbz	x0, LBB0_1
; %bb.6:
	ldr	w0, [x19]
	bl	_S_ISLNK
	cbnz	x0, LBB0_10
	b	LBB0_1
LBB0_7:
	mov	x0, x20
	bl	_S_ISREG
	cbz	x0, LBB0_2
; %bb.8:
	cbz	x19, LBB0_11
; %bb.9:
	ldr	w0, [x19]
	bl	_S_ISREG
	cbz	x0, LBB0_11
LBB0_10:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w0, #438
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ce_mode_from_stat
.subsections_via_symbols
