	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8411_card_power_on
_rtl8411_card_power_on:                 ## @rtl8411_card_power_on
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtsx_pci_init_cmd
	movq	_WRITE_REG_CMD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_CARD_PWR_CTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_BPP_POWER_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	_BPP_POWER_5_PERCENT_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	callq	_rtsx_pci_add_cmd
	movl	(%r15), %esi
	movq	_LDO_CTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_BPP_LDO_POWB@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_BPP_LDO_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	callq	_rtsx_pci_add_cmd
	movq	%rbx, %rdi
	movl	$100, %esi
	callq	_rtsx_pci_send_cmd
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movl	$150, %edi
	callq	_udelay
	movl	(%r14), %esi
	movl	(%r12), %edx
	movq	_BPP_POWER_10_PERCENT_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_register
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movl	$150, %edi
	callq	_udelay
	movl	(%r14), %esi
	movl	(%r12), %edx
	movq	_BPP_POWER_15_PERCENT_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_register
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movl	$150, %edi
	callq	_udelay
	movl	(%r14), %esi
	movl	(%r12), %edx
	movq	_BPP_POWER_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_rtsx_pci_write_register
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movl	(%r15), %esi
	movl	(%r13), %edx
	movq	_BPP_LDO_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtsx_pci_write_register        ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WRITE_REG_CMD,4,2              ## @WRITE_REG_CMD
	.comm	_CARD_PWR_CTL,4,2               ## @CARD_PWR_CTL
	.comm	_BPP_POWER_MASK,4,2             ## @BPP_POWER_MASK
	.comm	_BPP_POWER_5_PERCENT_ON,4,2     ## @BPP_POWER_5_PERCENT_ON
	.comm	_LDO_CTL,4,2                    ## @LDO_CTL
	.comm	_BPP_LDO_POWB,4,2               ## @BPP_LDO_POWB
	.comm	_BPP_LDO_SUSPEND,4,2            ## @BPP_LDO_SUSPEND
	.comm	_BPP_POWER_10_PERCENT_ON,4,2    ## @BPP_POWER_10_PERCENT_ON
	.comm	_BPP_POWER_15_PERCENT_ON,4,2    ## @BPP_POWER_15_PERCENT_ON
	.comm	_BPP_POWER_ON,4,2               ## @BPP_POWER_ON
	.comm	_BPP_LDO_ON,4,2                 ## @BPP_LDO_ON
	.no_dead_strip	_rtl8411_card_power_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8411_card_power_on
_rtl8411_card_power_on:                 ; @rtl8411_card_power_on
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_rtsx_pci_init_cmd
Lloh0:
	adrp	x21, _WRITE_REG_CMD@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WRITE_REG_CMD@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x20, _CARD_PWR_CTL@GOTPAGE
Lloh3:
	ldr	x20, [x20, _CARD_PWR_CTL@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh4:
	adrp	x22, _BPP_POWER_MASK@GOTPAGE
Lloh5:
	ldr	x22, [x22, _BPP_POWER_MASK@GOTPAGEOFF]
	ldr	w3, [x22]
Lloh6:
	adrp	x8, _BPP_POWER_5_PERCENT_ON@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BPP_POWER_5_PERCENT_ON@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, x19
	bl	_rtsx_pci_add_cmd
	ldr	w1, [x21]
Lloh9:
	adrp	x23, _LDO_CTL@GOTPAGE
Lloh10:
	ldr	x23, [x23, _LDO_CTL@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh11:
	adrp	x21, _BPP_LDO_POWB@GOTPAGE
Lloh12:
	ldr	x21, [x21, _BPP_LDO_POWB@GOTPAGEOFF]
	ldr	w3, [x21]
Lloh13:
	adrp	x8, _BPP_LDO_SUSPEND@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BPP_LDO_SUSPEND@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	mov	x0, x19
	bl	_rtsx_pci_add_cmd
	mov	x0, x19
	mov	w1, #100
	bl	_rtsx_pci_send_cmd
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	w0, #150
	bl	_udelay
	ldr	w1, [x20]
	ldr	w2, [x22]
Lloh16:
	adrp	x8, _BPP_POWER_10_PERCENT_ON@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BPP_POWER_10_PERCENT_ON@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_rtsx_pci_write_register
	tbnz	w0, #31, LBB0_5
; %bb.2:
	mov	w0, #150
	bl	_udelay
	ldr	w1, [x20]
	ldr	w2, [x22]
Lloh19:
	adrp	x8, _BPP_POWER_15_PERCENT_ON@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BPP_POWER_15_PERCENT_ON@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_rtsx_pci_write_register
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	w0, #150
	bl	_udelay
	ldr	w1, [x20]
	ldr	w2, [x22]
Lloh22:
	adrp	x8, _BPP_POWER_ON@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BPP_POWER_ON@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_rtsx_pci_write_register
	tbnz	w0, #31, LBB0_5
; %bb.4:
	ldr	w1, [x23]
Lloh25:
	adrp	x8, _BPP_LDO_ON@GOTPAGE
Lloh26:
	ldr	x8, [x8, _BPP_LDO_ON@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh27:
	ldr	w3, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rtsx_pci_write_register
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_WRITE_REG_CMD,4,2              ; @WRITE_REG_CMD
	.comm	_CARD_PWR_CTL,4,2               ; @CARD_PWR_CTL
	.comm	_BPP_POWER_MASK,4,2             ; @BPP_POWER_MASK
	.comm	_BPP_POWER_5_PERCENT_ON,4,2     ; @BPP_POWER_5_PERCENT_ON
	.comm	_LDO_CTL,4,2                    ; @LDO_CTL
	.comm	_BPP_LDO_POWB,4,2               ; @BPP_LDO_POWB
	.comm	_BPP_LDO_SUSPEND,4,2            ; @BPP_LDO_SUSPEND
	.comm	_BPP_POWER_10_PERCENT_ON,4,2    ; @BPP_POWER_10_PERCENT_ON
	.comm	_BPP_POWER_15_PERCENT_ON,4,2    ; @BPP_POWER_15_PERCENT_ON
	.comm	_BPP_POWER_ON,4,2               ; @BPP_POWER_ON
	.comm	_BPP_LDO_ON,4,2                 ; @BPP_LDO_ON
	.no_dead_strip	_rtl8411_card_power_on
.subsections_via_symbols
