	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_bcm_kona_sd_init
_sdhci_bcm_kona_sd_init:                ## @sdhci_bcm_kona_sd_init
	.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	%rdi, %r14
	movq	_KONA_SDHOST_COREIMR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_sdhci_readl
	movq	_KONA_SDHOST_IP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sdhci_writel
	movq	_KONA_SDHOST_CORECTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_sdhci_readl
	movl	%eax, %ebx
	movq	_KONA_SDHOST_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$5000, %esi                     ## imm = 0x1388
	callq	_usleep_range
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdhci_writel                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KONA_SDHOST_COREIMR,4,2        ## @KONA_SDHOST_COREIMR
	.comm	_KONA_SDHOST_IP,4,2             ## @KONA_SDHOST_IP
	.comm	_KONA_SDHOST_CORECTRL,4,2       ## @KONA_SDHOST_CORECTRL
	.comm	_KONA_SDHOST_EN,4,2             ## @KONA_SDHOST_EN
	.no_dead_strip	_sdhci_bcm_kona_sd_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_bcm_kona_sd_init
_sdhci_bcm_kona_sd_init:                ; @sdhci_bcm_kona_sd_init
	.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, x0
Lloh0:
	adrp	x20, _KONA_SDHOST_COREIMR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _KONA_SDHOST_COREIMR@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_sdhci_readl
Lloh2:
	adrp	x8, _KONA_SDHOST_IP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KONA_SDHOST_IP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w2, [x20]
	mov	x0, x19
	bl	_sdhci_writel
Lloh5:
	adrp	x21, _KONA_SDHOST_CORECTRL@GOTPAGE
Lloh6:
	ldr	x21, [x21, _KONA_SDHOST_CORECTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_sdhci_readl
Lloh7:
	adrp	x8, _KONA_SDHOST_EN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KONA_SDHOST_EN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w20, w8, w0
	mov	w0, #1000
	mov	w1, #5000
	bl	_usleep_range
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	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	_sdhci_writel
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_KONA_SDHOST_COREIMR,4,2        ; @KONA_SDHOST_COREIMR
	.comm	_KONA_SDHOST_IP,4,2             ; @KONA_SDHOST_IP
	.comm	_KONA_SDHOST_CORECTRL,4,2       ; @KONA_SDHOST_CORECTRL
	.comm	_KONA_SDHOST_EN,4,2             ; @KONA_SDHOST_EN
	.no_dead_strip	_sdhci_bcm_kona_sd_init
.subsections_via_symbols
