	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_image_read                  ## -- Begin function pt_image_read
	.p2align	4, 0x90
_pt_image_read:                         ## @pt_image_read
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r13
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	movl	%r9d, %r14d
	movq	%r8, %rbx
	movq	%rdi, %r15
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, %rsi
	movl	%r9d, %edx
	callq	_pt_image_fetch_section
	testl	%eax, %eax
	js	LBB0_11
## %bb.3:
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%r15), %r14
	testq	%r14, %r14
	je	LBB0_9
## %bb.4:
	movl	(%r14), %eax
	movl	%eax, (%r13)
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_pt_msec_section
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_pt_section_map
	testl	%eax, %eax
	js	LBB0_15
## %bb.5:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	callq	_pt_msec_read
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_pt_section_unmap
	testl	%eax, %eax
	js	LBB0_15
## %bb.6:
	testl	%r12d, %r12d
	jns	LBB0_10
## %bb.7:
	movq	_pte_nomap@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r12d, %eax
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	jne	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_13
LBB0_9:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	%eax, %r12d
	movq	_pte_nomap@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r12d, %eax
	jne	LBB0_10
## %bb.12:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%rbx, %r8
LBB0_13:
	movl	%r14d, %r9d
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pt_image_read_callback         ## TAILCALL
LBB0_15:
	movl	%eax, %r12d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pte_nomap,4,2                  ## @pte_nomap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_image_read                  ; -- Begin function pt_image_read
	.p2align	2
_pt_image_read:                         ; @pt_image_read
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_7
; %bb.1:
	mov	x23, x1
	cbz	x1, LBB0_7
; %bb.2:
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x24, x0
	mov	x1, x4
	mov	x2, x5
	bl	_pt_image_fetch_section
	tbnz	w0, #31, LBB0_9
; %bb.3:
	ldr	x26, [x24]
	cbz	x26, LBB0_7
; %bb.4:
	ldr	w8, [x26], #4
	str	w8, [x23]
	mov	x0, x26
	bl	_pt_msec_section
	mov	x27, x0
	bl	_pt_section_map
	tbnz	w0, #31, LBB0_12
; %bb.5:
	mov	x0, x26
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_pt_msec_read
	mov	x25, x0
	mov	x0, x27
	bl	_pt_section_unmap
	tbnz	w0, #31, LBB0_12
; %bb.6:
	tbz	w25, #31, LBB0_8
	b	LBB0_10
LBB0_7:
Lloh0:
	adrp	x8, _pte_internal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_8:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x25, x0
LBB0_10:
Lloh3:
	adrp	x8, _pte_nomap@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pte_nomap@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w25, w8
	b.ne	LBB0_8
; %bb.11:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_pt_image_read_callback
LBB0_12:
	mov	x25, x0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pte_nomap,4,2                  ; @pte_nomap
.subsections_via_symbols
