	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtsx_usb_switch_clock          ## -- Begin function rtsx_usb_switch_clock
	.p2align	4, 0x90
_rtsx_usb_switch_clock:                 ## @rtsx_usb_switch_clock
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movl	%r8d, %r15d
	movl	%ecx, %r14d
	movl	%esi, %ebx
	testl	%ecx, %ecx
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	jne	LBB0_4
## %bb.2:
	movq	_SD_CLK_DIVIDE_0@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movl	$0, (%r12)
	xorl	%r13d, %r13d
	jmp	LBB0_27
LBB0_4:
	movq	_SD_CLK_DIVIDE_128@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ecx
	movq	_SD_CFG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SD_CLK_DIVIDE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_rtsx_usb_write_register
	testl	%eax, %eax
	js	LBB0_26
## %bb.6:
	movl	%ebx, %eax
	imulq	$1125899907, %rax, %rax         ## imm = 0x431BDE83
	shrq	$50, %rax
	testl	%r14d, %r14d
	sete	%bl
	movl	$30, %r14d
	cmovel	%eax, %r14d
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	testl	%r15d, %r15d
	setne	%cl
	andb	%bl, %cl
	shll	%cl, %r14d
	movq	8(%r12), %rdi
	movl	(%r12), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	cmpl	(%r12), %r14d
	je	LBB0_27
## %bb.7:
	cmpl	$3, %r14d
	jb	LBB0_16
## %bb.8:
	leal	-2(%r14), %ebx
	movq	_MAX_DIV_N@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jg	LBB0_16
## %bb.9:
	movw	$60, %ax
	xorl	%edx, %edx
	divw	%r14w
                                        ## kill: def $ax killed $ax def $eax
	cmpw	$12, %ax
	movl	$12, %ecx
	cmovbl	%eax, %ecx
	addl	$3, %ecx
	movq	_CLK_DIV_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_MIN_DIV_N@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jge	LBB0_13
## %bb.10:
	movq	_CLK_DIV_4@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, %r13d
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	addl	%ebx, %ebx
	addl	$2, %ebx
	incl	%r13d
	cmpl	%eax, %ebx
	jl	LBB0_11
LBB0_13:
	movzwl	%cx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	8(%r12), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.14:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_double_ssc_depth
	movl	%eax, %edi
	jmp	LBB0_18
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_27
LBB0_17:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
LBB0_18:
	movl	%r13d, %esi
	callq	_revise_ssc_depth
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r12), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	%r12, %rdi
	callq	_rtsx_usb_init_cmd
	movq	_WRITE_REG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CLK_DIV@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_CLK_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%ecx, %r8d
	callq	_rtsx_usb_add_cmd
	movq	_WRITE_REG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rax, %r15
	shll	$4, %r13d
	orl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	movq	%r12, %rdi
	movl	$63, %ecx
	movl	%r13d, %r8d
	callq	_rtsx_usb_add_cmd
	movl	(%r15), %esi
	movq	_SSC_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSC_RSTB@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%r12, %rdi
	xorl	%r8d, %r8d
	callq	_rtsx_usb_add_cmd
	movl	(%r15), %esi
	movq	_SSC_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSC_DEPTH_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_rtsx_usb_add_cmd
	movl	(%r15), %esi
	movq	_SSC_DIV_N_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$255, %ecx
	movl	%ebx, %r8d
	callq	_rtsx_usb_add_cmd
	movq	%r15, %rbx
	movl	(%r15), %esi
	movq	_SSC_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%r12, %rdi
	movl	%ecx, %r8d
	callq	_rtsx_usb_add_cmd
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
## %bb.19:
	movq	%rbx, %r15
	movl	(%rbx), %esi
	movq	_SD_VPCLK0_CTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_PHASE_NOT_RESET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	xorl	%r8d, %r8d
	callq	_rtsx_usb_add_cmd
	movl	(%r15), %esi
	movl	(%r13), %edx
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	movl	%ecx, %r8d
	callq	_rtsx_usb_add_cmd
LBB0_20:
	movq	_MODE_C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$2000, %edx                     ## imm = 0x7D0
	callq	_rtsx_usb_send_cmd
	testl	%eax, %eax
	js	LBB0_26
## %bb.21:
	movq	_SSC_8X_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SSC_RSTB@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_SSC_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSC_SEL_4M@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_rtsx_usb_write_register
	testl	%eax, %eax
	js	LBB0_26
## %bb.22:
	movl	$100, %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_usleep_range
	movq	_CLK_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CLK_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_rtsx_usb_write_register
	testl	%eax, %eax
	js	LBB0_26
## %bb.23:
	movl	%r14d, (%r12)
	jmp	LBB0_27
LBB0_26:
	movl	%eax, %r13d
LBB0_27:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SD_CLK_DIVIDE_128,4,2          ## @SD_CLK_DIVIDE_128
	.comm	_SD_CLK_DIVIDE_0,4,2            ## @SD_CLK_DIVIDE_0
	.comm	_SD_CFG1,4,2                    ## @SD_CFG1
	.comm	_SD_CLK_DIVIDE_MASK,4,2         ## @SD_CLK_DIVIDE_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Switch card clock to %dMHz\n"

L_.str.1:                               ## @.str.1
	.asciz	"Internal SSC clock: %dMHz (cur_clk = %d)\n"

	.comm	_MAX_DIV_N,4,2                  ## @MAX_DIV_N
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CLK_DIV_1,4,2                  ## @CLK_DIV_1
	.comm	_MIN_DIV_N,4,2                  ## @MIN_DIV_N
	.comm	_CLK_DIV_4,4,2                  ## @CLK_DIV_4
L_.str.2:                               ## @.str.2
	.asciz	"n = %d, div = %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"ssc_depth = %d\n"

	.comm	_WRITE_REG_CMD,4,2              ## @WRITE_REG_CMD
	.comm	_CLK_DIV,4,2                    ## @CLK_DIV
	.comm	_CLK_CHANGE,4,2                 ## @CLK_CHANGE
	.comm	_SSC_CTL1,4,2                   ## @SSC_CTL1
	.comm	_SSC_RSTB,4,2                   ## @SSC_RSTB
	.comm	_SSC_CTL2,4,2                   ## @SSC_CTL2
	.comm	_SSC_DEPTH_MASK,4,2             ## @SSC_DEPTH_MASK
	.comm	_SSC_DIV_N_0,4,2                ## @SSC_DIV_N_0
	.comm	_SD_VPCLK0_CTL,4,2              ## @SD_VPCLK0_CTL
	.comm	_PHASE_NOT_RESET,4,2            ## @PHASE_NOT_RESET
	.comm	_MODE_C,4,2                     ## @MODE_C
	.comm	_SSC_8X_EN,4,2                  ## @SSC_8X_EN
	.comm	_SSC_SEL_4M,4,2                 ## @SSC_SEL_4M
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtsx_usb_switch_clock          ; -- Begin function rtsx_usb_switch_clock
	.p2align	2
_rtsx_usb_switch_clock:                 ; @rtsx_usb_switch_clock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	cbz	w1, LBB0_4
; %bb.1:
	mov	x21, x5
	mov	x24, x4
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
Lloh0:
	adrp	x8, _SD_CLK_DIVIDE_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SD_CLK_DIVIDE_0@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SD_CLK_DIVIDE_128@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SD_CLK_DIVIDE_128@GOTPAGEOFF]
	cmp	w3, #0
	csel	x8, x8, x9, eq
	ldr	w3, [x8]
Lloh4:
	adrp	x8, _SD_CFG1@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SD_CFG1@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _SD_CLK_DIVIDE_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SD_CLK_DIVIDE_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rtsx_usb_write_register
	tbnz	w0, #31, LBB0_19
; %bb.2:
	mov	w8, #56963
	movk	w8, #17179, lsl #16
	umull	x8, w22, w8
	lsr	x8, x8, #50
	mov	w9, #30
	cmp	w20, #0
	csel	w20, w8, w9, eq
	cset	w22, eq
	ldr	x0, [x19, #8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_dbg
	cmp	w24, #0
	cset	w8, ne
	and	w8, w22, w8
	lsl	w20, w20, w8
	ldr	x0, [x19, #8]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_dev_dbg
	ldr	w8, [x19]
	cmp	w20, w8
	b.ne	LBB0_5
; %bb.3:
	mov	w0, #0
	b	LBB0_19
LBB0_4:
	mov	w0, #0
	str	wzr, [x19]
	b	LBB0_19
LBB0_5:
	cmp	w20, #3
	b.lo	LBB0_18
; %bb.6:
	sub	w22, w20, #2
Lloh14:
	adrp	x8, _MAX_DIV_N@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_DIV_N@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w22, w8
	b.gt	LBB0_18
; %bb.7:
	mov	w8, #60
	udiv	w8, w8, w20
	mov	w9, #12
Lloh17:
	adrp	x10, _CLK_DIV_1@GOTPAGE
Lloh18:
	ldr	x10, [x10, _CLK_DIV_1@GOTPAGEOFF]
	cmp	w8, #12
	csel	w8, w8, w9, lo
Lloh19:
	ldr	w25, [x10]
Lloh20:
	adrp	x9, _MIN_DIV_N@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MIN_DIV_N@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w22, w9
	b.ge	LBB0_10
; %bb.8:
Lloh23:
	adrp	x10, _CLK_DIV_4@GOTPAGE
Lloh24:
	ldr	x10, [x10, _CLK_DIV_4@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	cmp	w25, w10
	b.ge	LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w11, w22, #1
	add	w22, w11, #2
	add	w25, w25, #1
	cmp	w22, w9
	ccmp	w25, w10, #0, lt
	b.lt	LBB0_9
LBB0_10:
	add	w28, w8, #3
	ldr	x0, [x19, #8]
	str	x25, [sp]
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x22
	bl	_dev_dbg
	cbz	w24, LBB0_12
; %bb.11:
	mov	x0, x23
	bl	_double_ssc_depth
	mov	x23, x0
LBB0_12:
	mov	x0, x23
	mov	x1, x25
	bl	_revise_ssc_depth
	mov	x23, x0
	ldr	x0, [x19, #8]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x23
	bl	_dev_dbg
	mov	x0, x19
	bl	_rtsx_usb_init_cmd
Lloh30:
	adrp	x27, _WRITE_REG_CMD@GOTPAGE
Lloh31:
	ldr	x27, [x27, _WRITE_REG_CMD@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh32:
	adrp	x24, _CLK_DIV@GOTPAGE
Lloh33:
	ldr	x24, [x24, _CLK_DIV@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh34:
	adrp	x26, _CLK_CHANGE@GOTPAGE
Lloh35:
	ldr	x26, [x26, _CLK_CHANGE@GOTPAGEOFF]
	ldr	w3, [x26]
	mov	x0, x19
	mov	x4, x3
	bl	_rtsx_usb_add_cmd
	ldr	w1, [x27]
	ldr	w2, [x24]
	orr	w4, w28, w25, lsl #4
	mov	x0, x19
	mov	w3, #63
	bl	_rtsx_usb_add_cmd
	ldr	w1, [x27]
Lloh36:
	adrp	x25, _SSC_CTL1@GOTPAGE
Lloh37:
	ldr	x25, [x25, _SSC_CTL1@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh38:
	adrp	x28, _SSC_RSTB@GOTPAGE
Lloh39:
	ldr	x28, [x28, _SSC_RSTB@GOTPAGEOFF]
	ldr	w3, [x28]
	mov	x0, x19
	mov	w4, #0
	bl	_rtsx_usb_add_cmd
	ldr	w1, [x27]
Lloh40:
	adrp	x8, _SSC_CTL2@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SSC_CTL2@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
Lloh43:
	adrp	x8, _SSC_DEPTH_MASK@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SSC_DEPTH_MASK@GOTPAGEOFF]
Lloh45:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x4, x23
	bl	_rtsx_usb_add_cmd
	ldr	w1, [x27]
Lloh46:
	adrp	x8, _SSC_DIV_N_0@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SSC_DIV_N_0@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #255
	mov	x4, x22
	bl	_rtsx_usb_add_cmd
	ldr	w1, [x27]
	ldr	w2, [x25]
	ldr	w3, [x28]
	mov	x0, x19
	mov	x4, x3
	bl	_rtsx_usb_add_cmd
	cbz	w21, LBB0_14
; %bb.13:
	ldr	w1, [x27]
Lloh49:
	adrp	x21, _SD_VPCLK0_CTL@GOTPAGE
Lloh50:
	ldr	x21, [x21, _SD_VPCLK0_CTL@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh51:
	adrp	x22, _PHASE_NOT_RESET@GOTPAGE
Lloh52:
	ldr	x22, [x22, _PHASE_NOT_RESET@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x19
	mov	w4, #0
	bl	_rtsx_usb_add_cmd
	ldr	w1, [x27]
	ldr	w2, [x21]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x4, x3
	bl	_rtsx_usb_add_cmd
LBB0_14:
Lloh53:
	adrp	x8, _MODE_C@GOTPAGE
Lloh54:
	ldr	x8, [x8, _MODE_C@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2000
	bl	_rtsx_usb_send_cmd
	tbnz	w0, #31, LBB0_19
; %bb.15:
	ldr	w1, [x25]
	ldr	w8, [x28]
Lloh56:
	adrp	x9, _SSC_8X_EN@GOTPAGE
Lloh57:
	ldr	x9, [x9, _SSC_8X_EN@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh59:
	adrp	x9, _SSC_SEL_4M@GOTPAGE
Lloh60:
	ldr	x9, [x9, _SSC_SEL_4M@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, x19
	mov	w2, #255
	bl	_rtsx_usb_write_register
	tbnz	w0, #31, LBB0_19
; %bb.16:
	mov	w0, #100
	mov	w1, #1000
	bl	_usleep_range
	ldr	w1, [x24]
	ldr	w2, [x26]
	mov	x0, x19
	mov	w3, #0
	bl	_rtsx_usb_write_register
	tbnz	w0, #31, LBB0_19
; %bb.17:
	mov	w0, #0
	str	w20, [x19]
	b	LBB0_19
LBB0_18:
Lloh62:
	adrp	x8, _EINVAL@GOTPAGE
Lloh63:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_19:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_SD_CLK_DIVIDE_128,4,2          ; @SD_CLK_DIVIDE_128
	.comm	_SD_CLK_DIVIDE_0,4,2            ; @SD_CLK_DIVIDE_0
	.comm	_SD_CFG1,4,2                    ; @SD_CFG1
	.comm	_SD_CLK_DIVIDE_MASK,4,2         ; @SD_CLK_DIVIDE_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Switch card clock to %dMHz\n"

l_.str.1:                               ; @.str.1
	.asciz	"Internal SSC clock: %dMHz (cur_clk = %d)\n"

	.comm	_MAX_DIV_N,4,2                  ; @MAX_DIV_N
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CLK_DIV_1,4,2                  ; @CLK_DIV_1
	.comm	_MIN_DIV_N,4,2                  ; @MIN_DIV_N
	.comm	_CLK_DIV_4,4,2                  ; @CLK_DIV_4
l_.str.2:                               ; @.str.2
	.asciz	"n = %d, div = %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"ssc_depth = %d\n"

	.comm	_WRITE_REG_CMD,4,2              ; @WRITE_REG_CMD
	.comm	_CLK_DIV,4,2                    ; @CLK_DIV
	.comm	_CLK_CHANGE,4,2                 ; @CLK_CHANGE
	.comm	_SSC_CTL1,4,2                   ; @SSC_CTL1
	.comm	_SSC_RSTB,4,2                   ; @SSC_RSTB
	.comm	_SSC_CTL2,4,2                   ; @SSC_CTL2
	.comm	_SSC_DEPTH_MASK,4,2             ; @SSC_DEPTH_MASK
	.comm	_SSC_DIV_N_0,4,2                ; @SSC_DIV_N_0
	.comm	_SD_VPCLK0_CTL,4,2              ; @SD_VPCLK0_CTL
	.comm	_PHASE_NOT_RESET,4,2            ; @PHASE_NOT_RESET
	.comm	_MODE_C,4,2                     ; @MODE_C
	.comm	_SSC_8X_EN,4,2                  ; @SSC_8X_EN
	.comm	_SSC_SEL_4M,4,2                 ; @SSC_SEL_4M
.subsections_via_symbols
