	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thumb_get_next_pc              ## -- Begin function thumb_get_next_pc
	.p2align	4, 0x90
_thumb_get_next_pc:                     ## @thumb_get_next_pc
	.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
	movl	%edi, %r15d
	movl	$2, %esi
	callq	_read_memory_integer
	movzwl	%ax, %r12d
	movl	%r12d, %eax
	andl	$65280, %eax                    ## imm = 0xFF00
	cmpl	$48384, %eax                    ## imm = 0xBD00
	jne	LBB0_2
## %bb.1:
	movl	%r12d, %edi
	xorl	%esi, %esi
	movl	$7, %edx
	callq	_bits
	movl	%eax, %edi
	callq	_bitcount
	movq	%rax, %rbx
	movq	_DEPRECATED_REGISTER_SIZE@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	movq	_ARM_SP_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_read_register
	addl	%eax, %ebx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_read_memory_integer
	movzwl	%ax, %edi
LBB0_15:
	callq	_ADDR_BITS_REMOVE
	movl	%eax, %ebx
	cmpl	%r15d, %eax
	jne	LBB0_17
## %bb.16:
	leaq	L_.str(%rip), %rdi
	callq	_error
	movl	%r15d, %ebx
	jmp	LBB0_17
LBB0_2:
	movl	%r15d, %r14d
	addq	$4, %r14
	leal	2(%r15), %ebx
	movl	%r12d, %ecx
	andl	$61440, %ecx                    ## imm = 0xF000
	cmpl	$53248, %ecx                    ## imm = 0xD000
	jne	LBB0_7
## %bb.3:
	movq	_ARM_PS_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_read_register
	movq	%rax, %r15
	movl	%r12d, %edi
	movl	$8, %esi
	movl	$11, %edx
	callq	_bits
	cmpl	$15, %eax
	je	LBB0_17
## %bb.4:
	movslq	%eax, %rdi
	movq	%r15, %rsi
	callq	_condition_true
	testq	%rax, %rax
	je	LBB0_17
## %bb.5:
	movl	%r12d, %edi
	xorl	%esi, %esi
	movl	$7, %edx
	jmp	LBB0_6
LBB0_7:
	movl	%r12d, %ecx
	andl	$63488, %ecx                    ## imm = 0xF800
	cmpl	$61440, %ecx                    ## imm = 0xF000
	je	LBB0_10
## %bb.8:
	movzwl	%cx, %ecx
	cmpl	$57344, %ecx                    ## imm = 0xE000
	jne	LBB0_11
## %bb.9:
	movl	%r12d, %edi
	xorl	%esi, %esi
	movl	$10, %edx
LBB0_6:
	callq	_sbits
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r14,%rax,2), %ebx
	jmp	LBB0_17
LBB0_10:
	movl	%ebx, %edi
	movl	$2, %esi
	callq	_read_memory_integer
	movl	%eax, %r15d
	movl	%r12d, %edi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_sbits
	movl	%eax, %ebx
	shll	$12, %ebx
	movzwl	%r15w, %r15d
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_bits
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %r14d
	leal	(%r14,%rax,2), %r14d
	movl	%r15d, %edi
	movl	$11, %esi
	movl	$12, %edx
	callq	_bits
	movl	%r14d, %ebx
	andl	$-4, %ebx
	cmpl	$1, %eax
	cmovnel	%r14d, %ebx
	jmp	LBB0_17
LBB0_11:
	cmpl	$18176, %eax                    ## imm = 0x4700
	jne	LBB0_17
## %bb.12:
	movl	%r12d, %edi
	movl	$3, %esi
	movl	$6, %edx
	callq	_bits
	cmpl	$15, %eax
	je	LBB0_14
## %bb.13:
	movl	%r12d, %edi
	movl	$3, %esi
	movl	$6, %edx
	callq	_bits
	movl	%eax, %edi
	callq	_read_register
	movq	%rax, %r14
LBB0_14:
	movl	%r14d, %edi
	jmp	LBB0_15
LBB0_17:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEPRECATED_REGISTER_SIZE,8,3   ## @DEPRECATED_REGISTER_SIZE
	.comm	_ARM_SP_REGNUM,4,2              ## @ARM_SP_REGNUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Infinite loop detected"

	.comm	_ARM_PS_REGNUM,4,2              ## @ARM_PS_REGNUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_thumb_get_next_pc              ; -- Begin function thumb_get_next_pc
	.p2align	2
_thumb_get_next_pc:                     ; @thumb_get_next_pc
	.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
	mov	x19, x0
	mov	w1, #2
	bl	_read_memory_integer
	mov	x21, x0
	and	w8, w0, #0xff00
	mov	w9, #48384
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x21
	mov	w1, #0
	mov	w2, #7
	bl	_bits
	bl	_bitcount
	mov	x20, x0
Lloh0:
	adrp	x8, _DEPRECATED_REGISTER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEPRECATED_REGISTER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _ARM_SP_REGNUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARM_SP_REGNUM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_read_register
	madd	w0, w21, w20, w0
	mov	w1, #4
	bl	_read_memory_integer
LBB0_2:
	bl	_ADDR_BITS_REMOVE
	mov	x22, x0
	cmp	w0, w19
	b.ne	LBB0_17
; %bb.3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	mov	x22, x19
	b	LBB0_17
LBB0_4:
	mov	w9, w19
	add	x20, x9, #4
	add	w22, w19, #2
	and	w9, w21, #0xf000
	cmp	w9, #13, lsl #12                ; =53248
	b.ne	LBB0_8
; %bb.5:
Lloh8:
	adrp	x8, _ARM_PS_REGNUM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARM_PS_REGNUM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_read_register
	mov	x19, x0
	mov	x0, x21
	mov	w1, #8
	mov	w2, #11
	bl	_bits
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #15
	b.eq	LBB0_17
; %bb.6:
	sxtw	x0, w0
	mov	x1, x19
	bl	_condition_true
	cbz	x0, LBB0_17
; %bb.7:
	mov	x0, x21
	mov	w1, #0
	mov	w2, #7
	b	LBB0_11
LBB0_8:
	and	w9, w21, #0xf800
	cmp	w9, #15, lsl #12                ; =61440
	b.eq	LBB0_12
; %bb.9:
	cmp	w9, #14, lsl #12                ; =57344
	b.ne	LBB0_13
; %bb.10:
	mov	x0, x21
	mov	w1, #0
	mov	w2, #10
LBB0_11:
	bl	_sbits
	add	w22, w20, w0, lsl #1
	b	LBB0_17
LBB0_12:
	mov	x0, x22
	mov	w1, #2
	bl	_read_memory_integer
	mov	x19, x0
	mov	x0, x21
	mov	w1, #0
	mov	w2, #10
	bl	_sbits
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #10
	bl	_bits
	add	w8, w20, w21, lsl #12
	add	w20, w8, w0, lsl #1
	mov	x0, x19
	mov	w1, #11
	mov	w2, #12
	bl	_bits
	and	w8, w20, #0xfffffffc
	cmp	w0, #1
	csel	w22, w8, w20, eq
	b	LBB0_17
LBB0_13:
	mov	w9, #18176
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.14:
	mov	x0, x21
	mov	w1, #3
	mov	w2, #6
	bl	_bits
	cmp	w0, #15
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x21
	mov	w1, #3
	mov	w2, #6
	bl	_bits
	bl	_read_register
	mov	x20, x0
LBB0_16:
	mov	x0, x20
	b	LBB0_2
LBB0_17:
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DEPRECATED_REGISTER_SIZE,8,3   ; @DEPRECATED_REGISTER_SIZE
	.comm	_ARM_SP_REGNUM,4,2              ; @ARM_SP_REGNUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Infinite loop detected"

	.comm	_ARM_PS_REGNUM,4,2              ; @ARM_PS_REGNUM
.subsections_via_symbols
