	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_next_frame_reg
_read_next_frame_reg:                   ## @read_next_frame_reg
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_NUM_REGS@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpl	%esi, (%r15)
	setle	%dil
	callq	_gdb_assert
	testq	%r14, %r14
	je	LBB0_5
## %bb.1:
	movl	%ebx, %eax
	cltd
	idivl	(%r15)
	movq	_SP_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	movl	%edx, %esi
	jmp	LBB0_3
LBB0_5:
	movq	_current_regcache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-28(%rbp), %rdx
	movl	%ebx, %esi
	callq	_regcache_cooked_read_signed
	movl	-28(%rbp), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	movl	%ebx, %esi
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_frame_unwind_register_signed   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_REGS,4,2                   ## @NUM_REGS
	.comm	_current_regcache,4,2           ## @current_regcache
	.comm	_SP_REGNUM,4,2                  ## @SP_REGNUM
	.no_dead_strip	_read_next_frame_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_next_frame_reg
_read_next_frame_reg:                   ; @read_next_frame_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _NUM_REGS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NUM_REGS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, w1
	cset	w0, le
	bl	_gdb_assert
	cbz	x20, LBB0_4
; %bb.1:
	ldr	w8, [x21]
	sdiv	w9, w19, w8
	msub	w1, w9, w8, w19
Lloh2:
	adrp	x8, _SP_REGNUM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SP_REGNUM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	x0, x20
	cmp	w1, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x1, x19
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_frame_unwind_register_signed
LBB0_4:
Lloh5:
	adrp	x8, _current_regcache@GOTPAGE
Lloh6:
	ldr	x8, [x8, _current_regcache@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x2, sp, #12
	mov	x1, x19
	bl	_regcache_cooked_read_signed
	ldr	w0, [sp, #12]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_REGS,4,2                   ; @NUM_REGS
	.comm	_current_regcache,4,2           ; @current_regcache
	.comm	_SP_REGNUM,4,2                  ; @SP_REGNUM
	.no_dead_strip	_read_next_frame_reg
.subsections_via_symbols
