	.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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.2:
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r14
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_fseek
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movq	_pte_bad_image@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_5:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_pte_bad_image@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_8:
	movq	%r14, %rdi
	callq	_ftell
	testq	%rax, %rax
	js	LBB0_11
## %bb.9:
	movq	%rax, %rbx
	movl	$8, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%rbx, (%rax)
	movq	%rax, (%r12)
	movq	%rbx, (%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_11:
	movq	_pte_bad_image@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_pte_nomem@GOTPCREL(%rip), %rax
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	subl	(%rax), %ebx
LBB0_15:
	movq	%r14, %rdi
	callq	_fclose
LBB0_16:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rb"

	.comm	_pte_bad_image,4,2              ## @pte_bad_image
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.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:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_7
; %bb.2:
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_fopen
	cbz	x0, LBB0_8
; %bb.3:
	mov	x19, x0
Lloh2:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_fseek
	cbz	w0, LBB0_11
LBB0_4:
Lloh5:
	adrp	x8, _pte_bad_image@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pte_bad_image@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_6:
	mov	x0, x19
	bl	_fclose
	b	LBB0_10
LBB0_7:
Lloh7:
	adrp	x8, _pte_internal@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh9:
	adrp	x8, _pte_bad_image@GOTPAGE
Lloh10:
	ldr	x8, [x8, _pte_bad_image@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_10:
	mov	x0, x22
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x19
	bl	_ftell
	tbnz	x0, #63, LBB0_4
; %bb.12:
	mov	x23, x0
	mov	w0, #8
	bl	_malloc
	cbz	x0, LBB0_14
; %bb.13:
	mov	w22, #0
	str	x23, [x0]
	str	x0, [x21]
	str	x23, [x20]
	b	LBB0_6
LBB0_14:
Lloh11:
	adrp	x8, _pte_nomem@GOTPAGE
Lloh12:
	ldr	x8, [x8, _pte_nomem@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rb"

	.comm	_pte_bad_image,4,2              ; @pte_bad_image
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_pte_nomem,4,2                  ; @pte_nomem
.subsections_via_symbols
