	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_reg_offset
_set_reg_offset:                        ## @set_reg_offset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%esi, %rax
	cmpq	$0, (%rdi,%rax,8)
	je	LBB0_1
## %bb.2:
	popq	%rbp
	retq
LBB0_1:
	movq	%rdx, (%rdi,%rax,8)
	movq	_NUM_REGS@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%rax, %rcx
	movq	%rdx, (%rdi,%rcx,8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_REGS,4,2                   ## @NUM_REGS
	.no_dead_strip	_set_reg_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_reg_offset
_set_reg_offset:                        ; @set_reg_offset
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0, w1, sxtw #3]
	cbz	x8, LBB0_2
; %bb.1:
	ret
LBB0_2:
	sxtw	x8, w1
	str	x2, [x0, x8, lsl #3]
Lloh0:
	adrp	x8, _NUM_REGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_REGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w8, w8, w1
	str	x2, [x0, w8, sxtw #3]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_REGS,4,2                   ; @NUM_REGS
	.no_dead_strip	_set_reg_offset
.subsections_via_symbols
