	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt_insn_decode_retry
_pt_insn_decode_retry:                  ## @pt_insn_decode_retry
	.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_1
## %bb.3:
	movq	%rdi, %rbx
	movslq	(%rdi), %r9
	cmpq	$8, %r9
	jne	LBB0_5
## %bb.4:
	movq	_pte_bad_insn@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movl	$8, %ecx
	subl	%r9d, %ecx
	leaq	(,%r9,4), %rdx
	addq	16(%rbx), %rdx
	addq	8(%rbx), %r9
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	movq	%r14, %r8
	callq	_pt_image_read
	testl	%eax, %eax
	jle	LBB0_6
## %bb.8:
	movl	(%rbx), %r13d
	addl	%eax, %r13d
	movl	%r13d, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_pt_ild_decode
	testl	%eax, %eax
	js	LBB0_9
## %bb.12:
	movl	$1, 4(%rbx)
	jmp	LBB0_13
LBB0_6:
	je	LBB0_1
## %bb.7:
	movq	_pte_nomap@GOTPCREL(%rip), %rcx
	movq	_pte_bad_insn@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	subl	(%rdx), %esi
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	cmovel	%esi, %eax
	jmp	LBB0_13
LBB0_1:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_pte_bad_insn@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	jne	LBB0_13
## %bb.10:
	cmpl	%r13d, (%rbx)
	jne	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_pt_insn_decode_retry
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pte_bad_insn,4,2               ## @pte_bad_insn
	.comm	_pte_nomap,4,2                  ## @pte_nomap
	.no_dead_strip	_pt_insn_decode_retry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt_insn_decode_retry
_pt_insn_decode_retry:                  ; @pt_insn_decode_retry
	.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:
	mov	x21, x0
	ldrsw	x8, [x0]
	cmp	w8, #8
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _pte_bad_insn@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_bad_insn@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	w9, #8
	sub	w3, w9, w8
	ldp	x10, x9, [x21, #8]
	add	x2, x9, x8, lsl #2
	add	x5, x10, x8
	add	x1, sp, #12
	mov	x0, x20
	mov	x4, x19
	bl	_pt_image_read
	cmp	w0, #0
	b.le	LBB0_6
; %bb.4:
	ldr	w8, [x21]
	add	w23, w8, w0
	str	w23, [x21]
	mov	x0, x21
	mov	x1, x22
	bl	_pt_ild_decode
	tbnz	w0, #31, LBB0_11
; %bb.5:
	mov	w8, #1
	str	w8, [x21, #4]
	b	LBB0_10
LBB0_6:
	cbz	w0, LBB0_8
; %bb.7:
Lloh2:
	adrp	x8, _pte_nomap@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_nomap@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _pte_bad_insn@GOTPAGE
Lloh6:
	ldr	x9, [x9, _pte_bad_insn@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmn	w0, w8
	csneg	w0, w0, w9, ne
	b	LBB0_10
LBB0_8:
Lloh8:
	adrp	x8, _pte_internal@GOTPAGE
Lloh9:
	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:
Lloh10:
	adrp	x8, _pte_bad_insn@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pte_bad_insn@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_10
; %bb.12:
	ldr	w8, [x21]
	cmp	w8, w23
	b.ne	LBB0_10
; %bb.13:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_pt_insn_decode_retry
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pte_bad_insn,4,2               ; @pte_bad_insn
	.comm	_pte_nomap,4,2                  ; @pte_nomap
	.no_dead_strip	_pt_insn_decode_retry
.subsections_via_symbols
