	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_file_status
_check_file_status:                     ## @check_file_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	leaq	-24(%rbp), %rax
	movl	%esi, %edi
	movq	%rax, %rsi
	callq	__fstat
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_pte_bad_file@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_4:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.5:
	movq	-24(%rbp), %rax
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	-16(%rbp), %rdx
	xorl	%eax, %eax
	cmpq	8(%rcx), %rdx
	je	LBB0_9
LBB0_7:
	movq	_pte_bad_image@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_1:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pte_bad_file,4,2               ## @pte_bad_file
	.comm	_pte_bad_image,4,2              ## @pte_bad_image
	.no_dead_strip	_check_file_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_file_status
_check_file_status:                     ; @check_file_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_7
; %bb.1:
	mov	x8, x1
	mov	x19, x0
	mov	x1, sp
	mov	x0, x8
	bl	__fstat
	cbz	w0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _pte_bad_file@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_bad_file@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x9, [sp]
	ldr	x10, [x8]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.5:
	ldr	x9, [sp, #8]
	ldr	x8, [x8, #8]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
Lloh2:
	adrp	x8, _pte_internal@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_10:
Lloh4:
	adrp	x8, _pte_bad_image@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pte_bad_image@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pte_bad_file,4,2               ; @pte_bad_file
	.comm	_pte_bad_image,4,2              ; @pte_bad_image
	.no_dead_strip	_check_file_status
.subsections_via_symbols
