	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt_sec_windows_fstat
_pt_sec_windows_fstat:                  ## @pt_sec_windows_fstat
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	__O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	__open
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.4:
	movl	%eax, %ebx
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	__fstat
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	__close
	testl	%r14d, %r14d
	je	LBB0_5
LBB0_6:
	movq	_pte_bad_file@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_2:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_7:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	__O_RDONLY,4,2                  ## @_O_RDONLY
	.comm	_pte_bad_file,4,2               ## @pte_bad_file
	.no_dead_strip	_pt_sec_windows_fstat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt_sec_windows_fstat
_pt_sec_windows_fstat:                  ; @pt_sec_windows_fstat
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, __O_RDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, __O_RDONLY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	__open
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	mov	x20, x0
	mov	x1, x19
	bl	__fstat
	mov	x19, x0
	mov	x0, x20
	bl	__close
	cbz	w19, LBB0_8
LBB0_4:
Lloh3:
	adrp	x8, _pte_bad_file@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pte_bad_file@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _pte_internal@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	__O_RDONLY,4,2                  ; @_O_RDONLY
	.comm	_pte_bad_file,4,2               ; @pte_bad_file
	.no_dead_strip	_pt_sec_windows_fstat
.subsections_via_symbols
