	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_retstack_pop                ## -- Begin function pt_retstack_pop
	.p2align	4, 0x90
_pt_retstack_pop:                       ## @pt_retstack_pop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movl	(%rdi), %ecx
	cmpl	4(%rdi), %ecx
	jne	LBB0_5
## %bb.4:
	movq	_pte_retstack_empty@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_pte_invalid@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	subl	$1, %ecx
	jae	LBB0_7
## %bb.6:
	movq	_pt_retstack_size@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_7:
	movl	%ecx, (%rdi)
	xorl	%eax, %eax
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:
	movq	8(%rdi), %rdx
	movslq	%ecx, %rcx
	movl	(%rdx,%rcx,4), %ecx
	movl	%ecx, (%rsi)
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_invalid,4,2                ## @pte_invalid
	.comm	_pte_retstack_empty,4,2         ## @pte_retstack_empty
	.comm	_pt_retstack_size,4,2           ## @pt_retstack_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_retstack_pop                ; -- Begin function pt_retstack_pop
	.p2align	2
_pt_retstack_pop:                       ; @pt_retstack_pop
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	mov	x8, x0
	ldp	w9, w10, [x0]
	cmp	w9, w10
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _pte_retstack_empty@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_retstack_empty@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_5:
Lloh4:
	adrp	x10, _pt_retstack_size@GOTPAGE
Lloh5:
	ldr	x10, [x10, _pt_retstack_size@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	sub	w11, w9, #1
	cmp	w9, #0
	csel	w9, w10, w11, eq
	str	w9, [x8]
	mov	w0, #0
	cbz	x1, LBB0_7
; %bb.6:
	ldr	x8, [x8, #8]
	ldr	w8, [x8, w9, sxtw #2]
	str	w8, [x1]
LBB0_7:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_invalid,4,2                ; @pte_invalid
	.comm	_pte_retstack_empty,4,2         ; @pte_retstack_empty
	.comm	_pt_retstack_size,4,2           ; @pt_retstack_size
.subsections_via_symbols
