	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skd010_recover
_skd010_recover:                        ## @skd010_recover
	.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
	pushq	%rax
	.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_4
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movq	%rcx, %r15
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.6:
	movq	%r8, %r12
	movq	%rdi, %rbx
	movl	24(%rdi), %eax
	movl	%eax, -48(%rbp)
	leaq	32(%rdi), %rdx
	leaq	-48(%rbp), %rdi
	callq	_pt_last_ip_update_ip
	testl	%eax, %eax
	js	LBB0_11
## %bb.7:
	leaq	48(%rbx), %rdi
	callq	_pt_evq_standalone
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	movq	%rax, %r13
	movq	_ptev_overflow@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_pt_last_ip_query
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	addq	32(%rbx), %r12
	movq	%r12, 40(%rbx)
	movl	$1, (%rbx)
	movl	-48(%rbp), %eax
	movl	%eax, 24(%rbx)
	movl	(%r15), %eax
	movl	%eax, 20(%rbx)
	movl	(%r14), %eax
	movl	%eax, 16(%rbx)
	movq	%r13, 8(%rbx)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_pt_qry_event_time
	jmp	LBB0_11
LBB0_4:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_pte_bad_context@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_ptev_overflow,4,2              ## @ptev_overflow
	.comm	_pte_bad_context,4,2            ## @pte_bad_context
	.no_dead_strip	_skd010_recover
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skd010_recover
_skd010_recover:                        ; @skd010_recover
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_8
; %bb.1:
	cbz	x1, LBB0_8
; %bb.2:
	mov	x20, x2
	cbz	x2, LBB0_8
; %bb.3:
	mov	x21, x3
	cbz	x3, LBB0_8
; %bb.4:
	mov	x22, x4
	mov	x19, x0
	ldr	w8, [x0, #24]
	str	w8, [sp, #8]
	add	x2, x0, #32
	add	x0, sp, #8
	bl	_pt_last_ip_update_ip
	tbnz	w0, #31, LBB0_10
; %bb.5:
	add	x0, x19, #48
	bl	_pt_evq_standalone
	cbz	x0, LBB0_8
; %bb.6:
	mov	x23, x0
Lloh0:
	adrp	x8, _ptev_overflow@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ptev_overflow@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	add	x1, sp, #8
	bl	_pt_last_ip_query
	tbnz	w0, #31, LBB0_11
; %bb.7:
	ldr	x8, [x19, #32]
	add	x8, x8, x22
	str	x8, [x19, #40]
	mov	w8, #1
	str	w8, [x19]
	ldr	w8, [sp, #8]
	str	w8, [x19, #24]
	ldr	w8, [x21]
	str	w8, [x19, #20]
	ldr	w8, [x20]
	str	w8, [x19, #16]
	str	x23, [x19, #8]
	mov	x0, x23
	mov	x1, x19
	bl	_pt_qry_event_time
	b	LBB0_10
LBB0_8:
Lloh3:
	adrp	x8, _pte_internal@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
Lloh5:
	adrp	x8, _pte_bad_context@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pte_bad_context@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_ptev_overflow,4,2              ; @ptev_overflow
	.comm	_pte_bad_context,4,2            ; @pte_bad_context
	.no_dead_strip	_skd010_recover
.subsections_via_symbols
