	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_register_cache             ## -- Begin function set_register_cache
	.p2align	4, 0x90
_set_register_cache:                    ## @set_register_cache
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_reg_defs@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_num_registers@GOTPCREL(%rip), %rax
	movl	%esi, (%rax)
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movl	%esi, %r8d
	cmpl	$1, %esi
	jne	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_4:
	movl	%r8d, %esi
	andl	$-2, %esi
	leaq	24(%rdi), %rax
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, -24(%rax)
	addl	-16(%rax), %edx
	movl	%edx, -8(%rax)
	addl	(%rax), %edx
	addq	$2, %rcx
	addq	$32, %rax
	cmpq	%rcx, %rsi
	jne	LBB0_5
LBB0_6:
	testb	$1, %r8b
	je	LBB0_8
## %bb.7:
	shlq	$4, %rcx
	movl	%edx, (%rdi,%rcx)
	addl	8(%rdi,%rcx), %edx
LBB0_8:
	leal	7(%rdx), %eax
	testl	%edx, %edx
	cmovnsl	%edx, %eax
	sarl	$3, %eax
LBB0_9:
	movq	_register_bytes@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_reg_defs,8,3                   ## @reg_defs
	.comm	_num_registers,4,2              ## @num_registers
	.comm	_register_bytes,4,2             ## @register_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_register_cache             ; -- Begin function set_register_cache
	.p2align	2
_set_register_cache:                    ; @set_register_cache
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _reg_defs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _reg_defs@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x8, _num_registers@GOTPAGE
Lloh4:
	ldr	x8, [x8, _num_registers@GOTPAGEOFF]
Lloh5:
	str	w1, [x8]
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w8, #0
	mov	w9, w1
	add	x10, x0, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	stur	w8, [x10, #-8]
	ldr	w11, [x10], #16
	add	w8, w8, w11
	subs	x9, x9, #1
	b.ne	LBB0_2
; %bb.3:
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	b	LBB0_5
LBB0_4:
	mov	w8, #0
LBB0_5:
Lloh6:
	adrp	x9, _register_bytes@GOTPAGE
Lloh7:
	ldr	x9, [x9, _register_bytes@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	ret
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_reg_defs,8,3                   ; @reg_defs
	.comm	_num_registers,4,2              ; @num_registers
	.comm	_register_bytes,4,2             ; @register_bytes
.subsections_via_symbols
