	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rts5260_fill_driving
_rts5260_fill_driving:                  ## @rts5260_fill_driving
	.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	%r12
	pushq	%rbx
	subq	$304, %rsp                      ## imm = 0x130
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	l___const.rts5260_fill_driving.driving_3v3(%rip), %rsi
	leaq	-192(%rbp), %r12
	movl	$144, %edx
	movq	%r12, %rdi
	callq	_memcpy
	leaq	l___const.rts5260_fill_driving.driving_1v8(%rip), %rsi
	leaq	-336(%rbp), %rbx
	movl	$144, %edx
	movq	%rbx, %rdi
	callq	_memcpy
	movq	_OUTPUT_3V3@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpq	%r15, (%rax)
	setne	%cl
	cmoveq	%r12, %rbx
	movq	(%r14,%rcx,8), %rax
	movq	_SD30_CLK_DRIVE_SEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	(%rax,%rax,2), %r15
	movq	(%rbx,%r15,8), %rcx
	movq	%r14, %rdi
	movl	$255, %edx
	callq	_rtsx_pci_write_register
	movq	_SD30_CMD_DRIVE_SEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	8(%rbx,%r15,8), %rcx
	movq	%r14, %rdi
	movl	$255, %edx
	callq	_rtsx_pci_write_register
	movl	(%r12), %esi
	movq	16(%rbx,%r15,8), %rcx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movl	$255, %edx
	addq	$304, %rsp                      ## imm = 0x130
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtsx_pci_write_register        ## TAILCALL
LBB0_1:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.rts5260_fill_driving.driving_3v3
l___const.rts5260_fill_driving.driving_3v3:
	.quad	148                             ## 0x94
	.quad	148                             ## 0x94
	.quad	148                             ## 0x94
	.quad	17                              ## 0x11
	.quad	17                              ## 0x11
	.quad	24                              ## 0x18
	.quad	85                              ## 0x55
	.quad	85                              ## 0x55
	.quad	92                              ## 0x5c
	.quad	148                             ## 0x94
	.quad	148                             ## 0x94
	.quad	148                             ## 0x94
	.quad	148                             ## 0x94
	.quad	148                             ## 0x94
	.quad	148                             ## 0x94
	.quad	255                             ## 0xff
	.quad	255                             ## 0xff
	.quad	255                             ## 0xff

	.p2align	4                               ## @__const.rts5260_fill_driving.driving_1v8
l___const.rts5260_fill_driving.driving_1v8:
	.quad	154                             ## 0x9a
	.quad	137                             ## 0x89
	.quad	137                             ## 0x89
	.quad	196                             ## 0xc4
	.quad	196                             ## 0xc4
	.quad	196                             ## 0xc4
	.quad	60                              ## 0x3c
	.quad	60                              ## 0x3c
	.quad	60                              ## 0x3c
	.quad	155                             ## 0x9b
	.quad	153                             ## 0x99
	.quad	153                             ## 0x99
	.quad	154                             ## 0x9a
	.quad	137                             ## 0x89
	.quad	137                             ## 0x89
	.quad	254                             ## 0xfe
	.quad	254                             ## 0xfe
	.quad	254                             ## 0xfe

	.comm	_OUTPUT_3V3,8,3                 ## @OUTPUT_3V3
	.comm	_SD30_CLK_DRIVE_SEL,4,2         ## @SD30_CLK_DRIVE_SEL
	.comm	_SD30_CMD_DRIVE_SEL,4,2         ## @SD30_CMD_DRIVE_SEL
	.no_dead_strip	_rts5260_fill_driving
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rts5260_fill_driving
_rts5260_fill_driving:                  ; @rts5260_fill_driving
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, l___const.rts5260_fill_driving.driving_3v3@PAGE
Lloh4:
	add	x8, x8, l___const.rts5260_fill_driving.driving_3v3@PAGEOFF
	ldp	q0, q1, [x8, #96]
	stp	q0, q1, [sp, #240]
	ldr	q0, [x8, #128]
	str	q0, [sp, #272]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #176]
	ldp	q1, q0, [x8, #64]
	stp	q1, q0, [sp, #208]
	ldp	q1, q0, [x8]
	stp	q1, q0, [sp, #144]
Lloh5:
	adrp	x8, l___const.rts5260_fill_driving.driving_1v8@PAGE
Lloh6:
	add	x8, x8, l___const.rts5260_fill_driving.driving_1v8@PAGEOFF
	ldp	q1, q0, [x8, #32]
	stp	q1, q0, [sp, #32]
	ldr	q2, [x8, #128]
	ldp	q3, q0, [x8, #96]
	stp	q0, q2, [sp, #112]
	ldp	q0, q1, [x8, #64]
	str	q0, [sp, #64]
	stp	q1, q3, [sp, #80]
	ldp	q1, q0, [x8]
	stp	q1, q0, [sp]
Lloh7:
	adrp	x8, _OUTPUT_3V3@GOTPAGE
Lloh8:
	ldr	x8, [x8, _OUTPUT_3V3@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	mov	x9, sp
	add	x10, sp, #144
	cmp	x8, x1
	csel	x8, x10, x9, eq
	cset	w9, ne
	ldr	x9, [x0, w9, uxtw #3]
Lloh10:
	adrp	x10, _SD30_CLK_DRIVE_SEL@GOTPAGE
Lloh11:
	ldr	x10, [x10, _SD30_CLK_DRIVE_SEL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x10]
	mov	w10, #24
	madd	x20, x9, x10, x8
	ldr	x3, [x20]
	mov	w2, #255
	bl	_rtsx_pci_write_register
Lloh13:
	adrp	x21, _SD30_CMD_DRIVE_SEL@GOTPAGE
Lloh14:
	ldr	x21, [x21, _SD30_CMD_DRIVE_SEL@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	x3, [x20, #8]
	mov	x0, x19
	mov	w2, #255
	bl	_rtsx_pci_write_register
	ldr	w1, [x21]
	ldr	x3, [x20, #16]
	ldur	x8, [x29, #-40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w2, #255
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	add	sp, sp, #352
	b	_rtsx_pci_write_register
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @__const.rts5260_fill_driving.driving_3v3
l___const.rts5260_fill_driving.driving_3v3:
	.quad	148                             ; 0x94
	.quad	148                             ; 0x94
	.quad	148                             ; 0x94
	.quad	17                              ; 0x11
	.quad	17                              ; 0x11
	.quad	24                              ; 0x18
	.quad	85                              ; 0x55
	.quad	85                              ; 0x55
	.quad	92                              ; 0x5c
	.quad	148                             ; 0x94
	.quad	148                             ; 0x94
	.quad	148                             ; 0x94
	.quad	148                             ; 0x94
	.quad	148                             ; 0x94
	.quad	148                             ; 0x94
	.quad	255                             ; 0xff
	.quad	255                             ; 0xff
	.quad	255                             ; 0xff

	.p2align	3                               ; @__const.rts5260_fill_driving.driving_1v8
l___const.rts5260_fill_driving.driving_1v8:
	.quad	154                             ; 0x9a
	.quad	137                             ; 0x89
	.quad	137                             ; 0x89
	.quad	196                             ; 0xc4
	.quad	196                             ; 0xc4
	.quad	196                             ; 0xc4
	.quad	60                              ; 0x3c
	.quad	60                              ; 0x3c
	.quad	60                              ; 0x3c
	.quad	155                             ; 0x9b
	.quad	153                             ; 0x99
	.quad	153                             ; 0x99
	.quad	154                             ; 0x9a
	.quad	137                             ; 0x89
	.quad	137                             ; 0x89
	.quad	254                             ; 0xfe
	.quad	254                             ; 0xfe
	.quad	254                             ; 0xfe

	.comm	_OUTPUT_3V3,8,3                 ; @OUTPUT_3V3
	.comm	_SD30_CLK_DRIVE_SEL,4,2         ; @SD30_CLK_DRIVE_SEL
	.comm	_SD30_CMD_DRIVE_SEL,4,2         ; @SD30_CMD_DRIVE_SEL
	.no_dead_strip	_rts5260_fill_driving
.subsections_via_symbols
