	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_retstack_push               ## -- Begin function pt_retstack_push
	.p2align	4, 0x90
_pt_retstack_push:                      ## @pt_retstack_push
	.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.2:
	movq	(%rdi), %rcx
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rax
	movl	%esi, (%rax,%rcx,4)
	movq	_pt_retstack_size@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leaq	1(%rcx), %rsi
	xorl	%eax, %eax
	cmpq	%r8, %rcx
	cmoveq	%rax, %rsi
	leaq	1(%rdx), %rcx
	cmpq	%r8, %rdx
	cmoveq	%rax, %rcx
	cmpq	%rsi, %rdx
	cmovneq	%rdx, %rcx
	movq	%rsi, (%rdi)
	movq	%rcx, 8(%rdi)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_1:
	movq	_pte_invalid@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_invalid,4,2                ## @pte_invalid
	.comm	_pt_retstack_size,8,3           ## @pt_retstack_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_retstack_push               ; -- Begin function pt_retstack_push
	.p2align	2
_pt_retstack_push:                      ; @pt_retstack_push
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldp	x9, x10, [x8]
	ldr	x11, [x8, #16]
	str	w1, [x11, x9, lsl #2]
Lloh0:
	adrp	x11, _pt_retstack_size@GOTPAGE
Lloh1:
	ldr	x11, [x11, _pt_retstack_size@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x9, x11
	csinc	x9, xzr, x9, eq
	cmp	x10, x11
	csinc	x11, xzr, x10, eq
	cmp	x10, x9
	csel	x10, x11, x10, eq
	stp	x9, x10, [x8]
	ret
LBB0_2:
Lloh3:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_invalid,4,2                ; @pte_invalid
	.comm	_pt_retstack_size,8,3           ; @pt_retstack_size
.subsections_via_symbols
