	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r100_set_safe_registers
_r100_set_safe_registers:               ## @r100_set_safe_registers
	.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
	movq	%rdi, %rbx
	callq	_ASIC_IS_RN50
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_rn50_reg_safe_bm@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	(%rbx), %rax
	movq	_CHIP_R200@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_5
## %bb.4:
	movq	_r100_reg_safe_bm@GOTPCREL(%rip), %rax
LBB0_2:
	movq	(%rax), %rdi
	movq	%rdi, 16(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_r200_set_safe_registers        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rn50_reg_safe_bm,8,3           ## @rn50_reg_safe_bm
	.comm	_CHIP_R200,8,3                  ## @CHIP_R200
	.comm	_r100_reg_safe_bm,8,3           ## @r100_reg_safe_bm
	.no_dead_strip	_r100_set_safe_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r100_set_safe_registers
_r100_set_safe_registers:               ; @r100_set_safe_registers
	.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
	mov	x19, x0
	bl	_ASIC_IS_RN50
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _rn50_reg_safe_bm@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rn50_reg_safe_bm@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _CHIP_R200@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CHIP_R200@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _r100_reg_safe_bm@GOTPAGE
Lloh6:
	ldr	x8, [x8, _r100_reg_safe_bm@GOTPAGEOFF]
LBB0_4:
	ldr	x0, [x8]
	str	x0, [x19, #16]
	bl	_ARRAY_SIZE
	str	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_r200_set_safe_registers
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_rn50_reg_safe_bm,8,3           ; @rn50_reg_safe_bm
	.comm	_CHIP_R200,8,3                  ; @CHIP_R200
	.comm	_r100_reg_safe_bm,8,3           ; @r100_reg_safe_bm
	.no_dead_strip	_r100_set_safe_registers
.subsections_via_symbols
