	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc_set_arb0_registers
_btc_set_arb0_registers:                ## @btc_set_arb0_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_MC_ARB_DRAM_TIMING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rsi), %esi
	callq	_WREG32
	movq	_MC_ARB_DRAM_TIMING2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_WREG32
	movq	_POWERMODE0_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	andl	(%rbx), %edi
	movq	_POWERMODE0_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edi
	movq	_MC_ARB_RFSH_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_POWERMODE0
	movl	(%r15), %edx
	notl	%edx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_WREG32_P
	movq	_STATE0_MASK@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	andl	4(%rbx), %edi
	movq	_STATE0_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edi
	movq	_MC_ARB_BURST_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_STATE0
	movl	(%r14), %edx
	notl	%edx
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32_P                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_ARB_DRAM_TIMING,4,2         ## @MC_ARB_DRAM_TIMING
	.comm	_MC_ARB_DRAM_TIMING2,4,2        ## @MC_ARB_DRAM_TIMING2
	.comm	_POWERMODE0_MASK,4,2            ## @POWERMODE0_MASK
	.comm	_POWERMODE0_SHIFT,4,2           ## @POWERMODE0_SHIFT
	.comm	_MC_ARB_RFSH_RATE,4,2           ## @MC_ARB_RFSH_RATE
	.comm	_STATE0_MASK,4,2                ## @STATE0_MASK
	.comm	_STATE0_SHIFT,4,2               ## @STATE0_SHIFT
	.comm	_MC_ARB_BURST_TIME,4,2          ## @MC_ARB_BURST_TIME
	.no_dead_strip	_btc_set_arb0_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc_set_arb0_registers
_btc_set_arb0_registers:                ; @btc_set_arb0_registers
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _MC_ARB_DRAM_TIMING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MC_ARB_DRAM_TIMING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x1, #12]
	bl	_WREG32
Lloh3:
	adrp	x8, _MC_ARB_DRAM_TIMING2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MC_ARB_DRAM_TIMING2@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	_WREG32
	ldr	w8, [x19]
Lloh6:
	adrp	x21, _POWERMODE0_MASK@GOTPAGE
Lloh7:
	ldr	x21, [x21, _POWERMODE0_MASK@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh8:
	adrp	x10, _POWERMODE0_SHIFT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _POWERMODE0_SHIFT@GOTPAGEOFF]
	and	w8, w9, w8
Lloh10:
	ldr	w9, [x10]
	asr	w0, w8, w9
Lloh11:
	adrp	x8, _MC_ARB_RFSH_RATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MC_ARB_RFSH_RATE@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
	bl	_POWERMODE0
	mov	x1, x0
	ldr	w8, [x21]
	mvn	w2, w8
	mov	x0, x20
	bl	_WREG32_P
	ldr	w8, [x19, #4]
Lloh14:
	adrp	x20, _STATE0_MASK@GOTPAGE
Lloh15:
	ldr	x20, [x20, _STATE0_MASK@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh16:
	adrp	x10, _STATE0_SHIFT@GOTPAGE
Lloh17:
	ldr	x10, [x10, _STATE0_SHIFT@GOTPAGEOFF]
	and	w8, w9, w8
Lloh18:
	ldr	w9, [x10]
	asr	w0, w8, w9
Lloh19:
	adrp	x8, _MC_ARB_BURST_TIME@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MC_ARB_BURST_TIME@GOTPAGEOFF]
Lloh21:
	ldr	w19, [x8]
	bl	_STATE0
	mov	x1, x0
	ldr	w8, [x20]
	mvn	w2, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_WREG32_P
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MC_ARB_DRAM_TIMING,4,2         ; @MC_ARB_DRAM_TIMING
	.comm	_MC_ARB_DRAM_TIMING2,4,2        ; @MC_ARB_DRAM_TIMING2
	.comm	_POWERMODE0_MASK,4,2            ; @POWERMODE0_MASK
	.comm	_POWERMODE0_SHIFT,4,2           ; @POWERMODE0_SHIFT
	.comm	_MC_ARB_RFSH_RATE,4,2           ; @MC_ARB_RFSH_RATE
	.comm	_STATE0_MASK,4,2                ; @STATE0_MASK
	.comm	_STATE0_SHIFT,4,2               ; @STATE0_SHIFT
	.comm	_MC_ARB_BURST_TIME,4,2          ; @MC_ARB_BURST_TIME
	.no_dead_strip	_btc_set_arb0_registers
.subsections_via_symbols
