	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_image_copy                  ## -- Begin function pt_image_copy
	.p2align	4, 0x90
_pt_image_copy:                         ## @pt_image_copy
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	cmpq	%rsi, %rdi
	je	LBB0_7
## %bb.4:
	movq	(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.5:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%rbx), %esi
	leaq	8(%rbx), %rdx
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	movq	%r14, %rdi
	callq	_pt_image_add
	shrl	$31, %eax
	addl	%eax, %r15d
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
	jmp	LBB0_7
LBB0_2:
	movq	_pte_invalid@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_invalid,4,2                ## @pte_invalid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_image_copy                  ; -- Begin function pt_image_copy
	.p2align	2
_pt_image_copy:                         ; @pt_image_copy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x0, LBB0_6
; %bb.1:
	cbz	x1, LBB0_6
; %bb.2:
	mov	x19, x0
	cmp	x0, x1
	b.eq	LBB0_7
; %bb.3:
	ldr	x21, [x1]
	cbz	x21, LBB0_7
; %bb.4:
	mov	w20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21, #12]
	add	x2, x21, #8
	ldp	w4, w3, [x21]
	mov	x0, x19
	bl	_pt_image_add
	add	w20, w20, w0, lsr #31
	ldr	x21, [x21, #16]
	cbnz	x21, LBB0_5
	b	LBB0_8
LBB0_6:
Lloh0:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_8
LBB0_7:
	mov	w20, #0
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_invalid,4,2                ; @pte_invalid
.subsections_via_symbols
