	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_sync_set                    ## -- Begin function pt_sync_set
	.p2align	4, 0x90
_pt_sync_set:                           ## @pt_sync_set
	.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_3
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.5:
	movq	%rdi, %r14
	movq	(%rbx), %rsi
	movq	8(%rbx), %r12
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_pt_sync_within_bounds
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	16(%r15), %rax
	cmpq	%rax, %r12
	jae	LBB0_8
LBB0_6:
	movq	_pte_eos@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	(%r15), %rax
	movq	_pt_opc_psb@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	8(%r15), %rax
	movq	_pt_ext_psb@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.11:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_pt_pkt_read_psb
	testl	%eax, %eax
	js	LBB0_13
## %bb.12:
	movq	%r15, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_10:
	movq	_pte_nosync@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pte_eos,4,2                    ## @pte_eos
	.comm	_pt_opc_psb,8,3                 ## @pt_opc_psb
	.comm	_pt_ext_psb,8,3                 ## @pt_ext_psb
	.comm	_pte_nosync,4,2                 ## @pte_nosync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_sync_set                    ; -- Begin function pt_sync_set
	.p2align	2
_pt_sync_set:                           ; @pt_sync_set
	.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:
	mov	x19, x1
	cbz	x1, LBB0_6
; %bb.2:
	mov	x21, x2
	cbz	x2, LBB0_6
; %bb.3:
	mov	x20, x0
	ldp	x1, x22, [x21]
	mov	x0, x19
	mov	x2, x22
	bl	_pt_sync_within_bounds
	cbz	w0, LBB0_5
; %bb.4:
	add	x8, x19, #16
	cmp	x22, x8
	b.hs	LBB0_9
LBB0_5:
Lloh0:
	adrp	x8, _pte_eos@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_eos@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _pte_internal@GOTPAGE
Lloh3:
	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
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x8, [x19]
Lloh4:
	adrp	x9, _pt_opc_psb@GOTPAGE
Lloh5:
	ldr	x9, [x9, _pt_opc_psb@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.10:
	ldr	x8, [x19, #8]
Lloh7:
	adrp	x9, _pt_ext_psb@GOTPAGE
Lloh8:
	ldr	x9, [x9, _pt_ext_psb@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x19
	mov	x1, x21
	bl	_pt_pkt_read_psb
	tbnz	w0, #31, LBB0_8
; %bb.12:
	mov	w0, #0
	str	x19, [x20]
	b	LBB0_8
LBB0_13:
Lloh10:
	adrp	x8, _pte_nosync@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pte_nosync@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pte_eos,4,2                    ; @pte_eos
	.comm	_pt_opc_psb,8,3                 ; @pt_opc_psb
	.comm	_pt_ext_psb,8,3                 ; @pt_ext_psb
	.comm	_pte_nosync,4,2                 ; @pte_nosync
.subsections_via_symbols
