	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_samefile                     ## -- Begin function c_samefile
	.p2align	4, 0x90
_c_samefile:                            ## @c_samefile
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_nextarg
	movq	%rax, %r14
	movq	_FTS_NOSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_ftsoptions@GOTPCREL(%rip), %r15
	andl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_palloc
	movq	%rax, %rbx
	movq	_FTS_PHYSICAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_lstat
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%r14, %rdx
	callq	_err
LBB0_5:
	movl	-32(%rbp), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_stat
	testl	%eax, %eax
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_FTS_NOSTAT,4,2                 ## @FTS_NOSTAT
	.comm	_ftsoptions,4,2                 ## @ftsoptions
	.comm	_FTS_PHYSICAL,4,2               ## @FTS_PHYSICAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_samefile                     ; -- Begin function c_samefile
	.p2align	2
_c_samefile:                            ; @c_samefile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	bl	_nextarg
	mov	x19, x0
Lloh0:
	adrp	x8, _FTS_NOSTAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FTS_NOSTAT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _ftsoptions@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ftsoptions@GOTPAGEOFF]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
	mov	x0, x20
	bl	_palloc
	mov	x20, x0
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _FTS_PHYSICAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FTS_PHYSICAL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	add	x1, sp, #8
	mov	x0, x19
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	bl	_lstat
	cbz	w0, LBB0_3
LBB0_2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_err
LBB0_3:
	ldr	w8, [sp, #8]
	str	w8, [x20]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	bl	_stat
	cbnz	w0, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FTS_NOSTAT,4,2                 ; @FTS_NOSTAT
	.comm	_ftsoptions,4,2                 ; @ftsoptions
	.comm	_FTS_PHYSICAL,4,2               ; @FTS_PHYSICAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

.subsections_via_symbols
