	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function if_exists_else_spec_function
_if_exists_else_spec_function:          ## @if_exists_else_spec_function
	.cfi_startproc
## %bb.0:
	cmpl	$2, %edi
	jne	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rsi), %rdi
	callq	_IS_ABSOLUTE_PATH
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rdi
	movq	_R_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_access
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	addq	$8, %rbx
LBB0_5:
	movq	(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_OK,4,2                       ## @R_OK
	.no_dead_strip	_if_exists_else_spec_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function if_exists_else_spec_function
_if_exists_else_spec_function:          ; @if_exists_else_spec_function
	.cfi_startproc
; %bb.0:
	cmp	w0, #2
	b.ne	LBB0_5
; %bb.1:
	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	x19, x1
	ldr	x0, [x1]
	bl	_IS_ABSOLUTE_PATH
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _R_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_OK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_access
	cbz	w0, LBB0_4
LBB0_3:
	add	x19, x19, #8
LBB0_4:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_R_OK,4,2                       ; @R_OK
	.no_dead_strip	_if_exists_else_spec_function
.subsections_via_symbols
