	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function packet_reg_from_regnum
_packet_reg_from_regnum:                ## @packet_reg_from_regnum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rsi, %rsi
	jns	LBB0_3
## %bb.1:
	movq	_NUM_REGS@GOTPCREL(%rip), %rax
	movq	_NUM_PSEUDO_REGS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	cmpq	%rsi, %rcx
	jle	LBB0_2
LBB0_3:
	movq	(%rdi), %rax
	leaq	(%rax,%rsi,8), %rbx
	xorl	%edi, %edi
	cmpq	%rsi, (%rax,%rsi,8)
	sete	%dil
	callq	_gdb_assert
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_REGS,8,3                   ## @NUM_REGS
	.comm	_NUM_PSEUDO_REGS,8,3            ## @NUM_PSEUDO_REGS
	.no_dead_strip	_packet_reg_from_regnum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function packet_reg_from_regnum
_packet_reg_from_regnum:                ; @packet_reg_from_regnum
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	tbz	x1, #63, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _NUM_REGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_REGS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _NUM_PSEUDO_REGS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NUM_PSEUDO_REGS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x8, x9, x8
	cmp	x8, x1
	b.le	LBB0_3
LBB0_2:
	ldr	x8, [x0]
	add	x19, x8, x1, lsl #3
	ldr	x8, [x19]
	cmp	x8, x1
	cset	w0, eq
	bl	_gdb_assert
	b	LBB0_4
LBB0_3:
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_REGS,8,3                   ; @NUM_REGS
	.comm	_NUM_PSEUDO_REGS,8,3            ; @NUM_PSEUDO_REGS
	.no_dead_strip	_packet_reg_from_regnum
.subsections_via_symbols
