	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_section_mk_status           ## -- Begin function pt_section_mk_status
	.p2align	4, 0x90
_pt_section_mk_status:                  ## @pt_section_mk_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.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.4:
	movq	%rdi, %rbx
	leaq	-24(%rbp), %rsi
	movq	%rdx, %rdi
	callq	_pt_sec_windows_fstat
	testl	%eax, %eax
	js	LBB0_10
## %bb.5:
	cmpq	$0, -24(%rbp)
	js	LBB0_6
## %bb.7:
	movl	$8, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	-24(%rbp), %rcx
	movq	%rcx, (%rax)
	movq	%rax, (%rbx)
	movq	-24(%rbp), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_2:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_pte_bad_image@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_8:
	movq	_pte_nomem@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pte_bad_image,4,2              ## @pte_bad_image
	.comm	_pte_nomem,4,2                  ## @pte_nomem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_section_mk_status           ; -- Begin function pt_section_mk_status
	.p2align	2
_pt_section_mk_status:                  ; @pt_section_mk_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_6
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_6
; %bb.2:
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, x2
	bl	_pt_sec_windows_fstat
	tbnz	w0, #31, LBB0_8
; %bb.3:
	ldr	x8, [sp, #8]
	tbnz	x8, #63, LBB0_9
; %bb.4:
	mov	w0, #8
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.5:
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [sp, #8]
	str	x9, [x8]
	str	x8, [x20]
	ldr	x8, [sp, #8]
	str	x8, [x19]
	b	LBB0_8
LBB0_6:
Lloh0:
	adrp	x8, _pte_internal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
Lloh2:
	adrp	x8, _pte_bad_image@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_bad_image@GOTPAGEOFF]
	b	LBB0_7
LBB0_10:
Lloh4:
	adrp	x8, _pte_nomem@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pte_nomem@GOTPAGEOFF]
	b	LBB0_7
	.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_image,4,2              ; @pte_bad_image
	.comm	_pte_nomem,4,2                  ; @pte_nomem
.subsections_via_symbols
