	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aml8726_mmc_attach
_aml8726_mmc_attach:                    ## @aml8726_mmc_attach
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_device_get_softc
	movq	%rax, %r14
	movl	%r15d, 132(%rax)
	movl	%r15d, %edi
	callq	_ofw_bus_get_node
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_aml8726_mmc_clk
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	leaq	-80(%rbp), %rdx
	movl	%r12d, %edi
	movl	$24, %ecx
	callq	_OF_getencprop
	andl	$-8, %eax
	cmpl	$8, %eax
	jne	LBB0_5
## %bb.4:
	movq	-80(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.6:
	callq	_OF_node_from_xref
	leaq	L_.str.3(%rip), %rsi
	leaq	-88(%rbp), %rdx
	movl	%eax, %edi
	callq	_OF_getprop_alloc
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movl	%eax, %ebx
	movq	-88(%rbp), %rsi
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.13:
	movq	-88(%rbp), %rsi
	leaq	L_.str.6(%rip), %rdi
	movl	%ebx, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	-88(%rbp), %rsi
	leaq	L_.str.7(%rip), %rdi
	movl	%ebx, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	-88(%rbp), %rcx
	leaq	L_.str.8(%rip), %rsi
	movl	%r15d, %edi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_device_printf
	movq	-88(%rbp), %rdi
LBB0_18:
	callq	_OF_prop_free
	jmp	LBB0_19
LBB0_1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_2
LBB0_7:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_2
LBB0_9:
	movq	_AML_MMC_MULT_CONFIG_PORT_A@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_14:
	movq	_AML_MMC_MULT_CONFIG_PORT_B@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_16:
	movq	_AML_MMC_MULT_CONFIG_PORT_C@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, 128(%r14)
	movq	-88(%rbp), %rdi
	callq	_OF_prop_free
	movq	$0, 112(%r14)
	leaq	L_.str.9(%rip), %rsi
	leaq	-80(%rbp), %rdx
	movl	%r12d, %edi
	movl	$24, %ecx
	callq	_OF_getencprop
	testl	%eax, %eax
	jle	LBB0_26
## %bb.11:
	andl	$-8, %eax
	cmpl	$24, %eax
	jne	LBB0_12
## %bb.20:
	movq	-80(%rbp), %rdi
	callq	_OF_device_from_xref
	movq	%rax, 112(%r14)
	movq	-72(%rbp), %rcx
	movq	%rcx, 104(%r14)
	movq	-64(%rbp), %rcx
	movq	%rcx, 120(%r14)
	testq	%rax, %rax
	je	LBB0_22
LBB0_23:
	movq	%r14, %rdi
	callq	_aml8726_mmc_power_off
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:
	movq	104(%r14), %rsi
	movq	112(%r14), %rdi
	movq	_GPIO_PIN_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_GPIO_PIN_SETFLAGS
	testq	%rax, %rax
	je	LBB0_26
LBB0_25:
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_2
LBB0_26:
	leaq	L_.str.12(%rip), %rsi
	leaq	-104(%rbp), %rdx
	movl	%r12d, %edi
	callq	_OF_getprop_alloc
	testl	%eax, %eax
	js	LBB0_27
## %bb.28:
	movl	%eax, %ebx
	movq	8(%r14), %rax
	movq	$0, (%rax)
	movq	-104(%rbp), %r13
	je	LBB0_29
## %bb.30:
	movl	%r15d, -92(%rbp)                ## 4-byte Spill
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movb	$1, %r14b
	xorl	%eax, %eax
	jmp	LBB0_31
LBB0_82:                                ##   in Loop: Header=BB0_31 Depth=1
	decl	%ebx
	incq	%r13
LBB0_41:                                ##   in Loop: Header=BB0_31 Depth=1
	testl	%ebx, %ebx
	setne	%cl
	movl	$1, %eax
	testb	%r14b, %cl
	movl	$0, %r14d
	je	LBB0_42
LBB0_31:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_37 Depth 2
	movq	%rax, %r15
	leaq	L_.str.14(%rip), %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=1
	leaq	L_.str.15(%rip), %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_81
## %bb.34:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	_MMC_OCR_330_340@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MMC_OCR_320_330@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_35
LBB0_32:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	_MMC_OCR_LOW_VOLTAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_35:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rcx), %rcx
	movl	%eax, (%rcx,%r15,4)
	cmpb	$0, (%r13)
	je	LBB0_82
## %bb.36:                              ##   in Loop: Header=BB0_31 Depth=1
	decl	%ebx
	.p2align	4, 0x90
LBB0_37:                                ##   Parent Loop BB0_31 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %eax
	addl	$-1, %ebx
	setb	%cl
	cmpb	$0, 1(%r13)
	leaq	1(%r13), %r13
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=2
	testb	%cl, %cl
	jne	LBB0_37
LBB0_39:                                ##   in Loop: Header=BB0_31 Depth=1
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%al
	je	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_31 Depth=1
	movb	%al, %cl
	addq	%rcx, %r13
	jmp	LBB0_41
LBB0_12:
	movq	112(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_23
LBB0_22:
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_2
LBB0_27:
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_2
LBB0_42:
	incl	%r15d
	movq	%r15, %rbx
	movq	-104(%rbp), %r13
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movl	-92(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_43
LBB0_29:
	xorl	%ebx, %ebx
LBB0_43:
	movq	%r13, %rdi
	callq	_OF_prop_free
	movq	$0, 88(%r14)
	leaq	L_.str.17(%rip), %rsi
	leaq	-80(%rbp), %rdx
	movl	%r12d, %edi
	movl	$24, %ecx
	callq	_OF_getencprop
	testl	%eax, %eax
	jle	LBB0_52
## %bb.44:
	andl	$-8, %eax
	cmpl	$16, %eax
	jne	LBB0_45
## %bb.46:
	movq	-80(%rbp), %rdi
	callq	_OF_device_from_xref
	movq	%rax, %rdi
	movq	%rax, 88(%r14)
	movq	-72(%rbp), %rax
	movq	%rax, 96(%r14)
	movl	$1, 80(%r14)
	jmp	LBB0_47
LBB0_45:
	movq	88(%r14), %rdi
LBB0_47:
	testq	%rdi, %rdi
	je	LBB0_48
## %bb.49:
	movq	96(%r14), %rsi
	xorl	%edx, %edx
	callq	_GPIO_PIN_SET
	testq	%rax, %rax
	jne	LBB0_51
## %bb.50:
	movq	88(%r14), %rdi
	movq	96(%r14), %rsi
	movq	_GPIO_PIN_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_GPIO_PIN_SETFLAGS
	testq	%rax, %rax
	je	LBB0_52
LBB0_51:
	leaq	L_.str.19(%rip), %rsi
	jmp	LBB0_2
LBB0_52:
	cmpl	$2, %ebx
	je	LBB0_58
## %bb.53:
	cmpl	$1, %ebx
	je	LBB0_56
## %bb.54:
	testl	%ebx, %ebx
	jne	LBB0_60
## %bb.55:
	leaq	L_.str.20(%rip), %rsi
	jmp	LBB0_2
LBB0_48:
	leaq	L_.str.18(%rip), %rsi
	jmp	LBB0_2
LBB0_81:
	leaq	L_.str.16(%rip), %rsi
	movl	-92(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %edx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_device_printf
	movq	-104(%rbp), %rdi
	jmp	LBB0_18
LBB0_58:
	cmpq	$0, 88(%r14)
	jne	LBB0_60
## %bb.59:
	leaq	L_.str.22(%rip), %rsi
	jmp	LBB0_2
LBB0_56:
	cmpq	$0, 88(%r14)
	je	LBB0_60
## %bb.57:
	leaq	L_.str.21(%rip), %rsi
	jmp	LBB0_2
LBB0_60:
	movq	_aml8726_mmc_spec@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	16(%r14), %rdx
	movl	%r15d, %edi
	callq	_bus_alloc_resources
	testq	%rax, %rax
	je	LBB0_62
## %bb.61:
	leaq	L_.str.23(%rip), %rsi
LBB0_2:
	movl	%r15d, %edi
	xorl	%eax, %eax
	callq	_device_printf
LBB0_19:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_79:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_83
## %bb.80:
	movl	%ebx, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_62:
	movq	%r14, %rdi
	callq	_AML_MMC_LOCK_INIT
	movl	%r15d, %edi
	callq	_bus_get_dma_tag
	movq	_AML_MMC_ALIGN_DMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_BUS_SPACE_MAXADDR_32BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_BUS_SPACE_MAXADDR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	_AML_MMC_MAX_DMA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	leaq	24(%r14), %r13
	movq	%r13, 56(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rsp)
	movl	%edx, 24(%rsp)
	movl	%edx, 8(%rsp)
	movl	$0, 32(%rsp)
	movl	$1, 16(%rsp)
	movq	$0, (%rsp)
	movl	%eax, %edi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	callq	_bus_dma_tag_create
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_72
## %bb.63:
	movq	24(%r14), %rdi
	leaq	32(%r14), %rdx
	xorl	%esi, %esi
	callq	_bus_dmamap_create
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_72
## %bb.64:
	movq	16(%r14), %rax
	movq	_INTR_TYPE_MISC@GOTPCREL(%rip), %rcx
	movq	_INTR_MPSAFE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	4(%rax), %esi
	movq	_aml8726_mmc_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	40(%r14), %rax
	movq	%rax, (%rsp)
	movl	%r15d, %edi
	xorl	%ecx, %ecx
	movq	%r14, %r9
	callq	_bus_setup_intr
	testl	%eax, %eax
	je	LBB0_66
## %bb.65:
	movl	%eax, %ebx
	leaq	L_.str.24(%rip), %rsi
LBB0_71:
	movl	%r15d, %edi
	xorl	%eax, %eax
	callq	_device_printf
LBB0_72:
	movq	40(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_74
## %bb.73:
	movq	16(%r14), %rax
	movl	4(%rax), %esi
	movl	%r15d, %edi
	callq	_bus_teardown_intr
LBB0_74:
	movq	32(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_76
## %bb.75:
	movq	(%r13), %rdi
	callq	_bus_dmamap_destroy
LBB0_76:
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_78
## %bb.77:
	callq	_bus_dma_tag_destroy
LBB0_78:
	movq	%r14, %rdi
	callq	_AML_MMC_LOCK_DESTROY
	movq	%r14, %rdi
	callq	_aml8726_mmc_power_off
	movl	(%r12), %esi
	movq	16(%r14), %rdx
	movl	%r15d, %edi
	callq	_bus_release_resources
	jmp	LBB0_79
LBB0_66:
	leaq	76(%r14), %rdi
	movq	%r14, %rsi
	addq	$72, %rsi
	movq	_CALLOUT_RETURNUNLOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_callout_init_mtx
	movq	%r14, %rdi
	movl	$200000, %esi                   ## imm = 0x30D40
	callq	_aml8726_mmc_div
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_aml8726_mmc_freq
	movq	%rax, 64(%r14)
	movq	%r14, %rdi
	movl	$50000000, %esi                 ## imm = 0x2FAF080
	callq	_aml8726_mmc_div
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_aml8726_mmc_freq
	movq	%rax, 56(%r14)
	movq	8(%r14), %rax
	movl	4(%rax), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 48(%r14)
	movq	_MMC_CAP_4_BIT_DATA@GOTPCREL(%rip), %rax
	movq	_MMC_CAP_HSPEED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 52(%r14)
	leaq	L_.str.25(%rip), %rsi
	movl	%r15d, %edi
	movl	$-1, %edx
	callq	_device_add_child
	testl	%eax, %eax
	je	LBB0_67
## %bb.68:
	movl	%eax, %edi
	callq	_device_probe_and_attach
	testl	%eax, %eax
	je	LBB0_69
## %bb.70:
	movl	%eax, %ebx
	leaq	L_.str.27(%rip), %rsi
	jmp	LBB0_71
LBB0_67:
	leaq	L_.str.26(%rip), %rsi
	movl	%r15d, %edi
	xorl	%eax, %eax
	callq	_device_printf
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_72
LBB0_69:
	xorl	%ebx, %ebx
	jmp	LBB0_79
LBB0_83:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing clocks attribute in FDT\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.1:                               ## @.str.1
	.asciz	"pinctrl-0"

L_.str.2:                               ## @.str.2
	.asciz	"missing pinctrl-0 attribute in FDT\n"

L_.str.3:                               ## @.str.3
	.asciz	"amlogic,function"

L_.str.4:                               ## @.str.4
	.asciz	"missing amlogic,function attribute in FDT\n"

L_.str.5:                               ## @.str.5
	.asciz	"sdio-a"

	.comm	_AML_MMC_MULT_CONFIG_PORT_A,4,2 ## @AML_MMC_MULT_CONFIG_PORT_A
L_.str.6:                               ## @.str.6
	.asciz	"sdio-b"

	.comm	_AML_MMC_MULT_CONFIG_PORT_B,4,2 ## @AML_MMC_MULT_CONFIG_PORT_B
L_.str.7:                               ## @.str.7
	.asciz	"sdio-c"

	.comm	_AML_MMC_MULT_CONFIG_PORT_C,4,2 ## @AML_MMC_MULT_CONFIG_PORT_C
L_.str.8:                               ## @.str.8
	.asciz	"unknown function attribute %.*s in FDT\n"

L_.str.9:                               ## @.str.9
	.asciz	"mmc-pwr-en"

L_.str.10:                              ## @.str.10
	.asciz	"unable to process mmc-pwr-en attribute in FDT\n"

	.comm	_GPIO_PIN_OUTPUT,4,2            ## @GPIO_PIN_OUTPUT
L_.str.11:                              ## @.str.11
	.asciz	"could not use gpio to control power\n"

L_.str.12:                              ## @.str.12
	.asciz	"mmc-voltages"

L_.str.13:                              ## @.str.13
	.asciz	"missing mmc-voltages attribute in FDT\n"

L_.str.14:                              ## @.str.14
	.asciz	"1.8"

	.comm	_MMC_OCR_LOW_VOLTAGE,4,2        ## @MMC_OCR_LOW_VOLTAGE
L_.str.15:                              ## @.str.15
	.asciz	"3.3"

	.comm	_MMC_OCR_320_330,4,2            ## @MMC_OCR_320_330
	.comm	_MMC_OCR_330_340,4,2            ## @MMC_OCR_330_340
L_.str.16:                              ## @.str.16
	.asciz	"unknown voltage attribute %.*s in FDT\n"

L_.str.17:                              ## @.str.17
	.asciz	"mmc-vselect"

L_.str.18:                              ## @.str.18
	.asciz	"unable to process mmc-vselect attribute in FDT\n"

L_.str.19:                              ## @.str.19
	.asciz	"could not use gpio to set voltage\n"

L_.str.20:                              ## @.str.20
	.asciz	"no voltages in FDT\n"

L_.str.21:                              ## @.str.21
	.asciz	"only one voltage in FDT\n"

L_.str.22:                              ## @.str.22
	.asciz	"too many voltages in FDT\n"

	.comm	_aml8726_mmc_spec,4,2           ## @aml8726_mmc_spec
L_.str.23:                              ## @.str.23
	.asciz	"could not allocate resources for device\n"

	.comm	_AML_MMC_ALIGN_DMA,4,2          ## @AML_MMC_ALIGN_DMA
	.comm	_BUS_SPACE_MAXADDR_32BIT,4,2    ## @BUS_SPACE_MAXADDR_32BIT
	.comm	_BUS_SPACE_MAXADDR,4,2          ## @BUS_SPACE_MAXADDR
	.comm	_AML_MMC_MAX_DMA,4,2            ## @AML_MMC_MAX_DMA
	.comm	_INTR_TYPE_MISC,4,2             ## @INTR_TYPE_MISC
	.comm	_INTR_MPSAFE,4,2                ## @INTR_MPSAFE
	.comm	_aml8726_mmc_intr,4,2           ## @aml8726_mmc_intr
L_.str.24:                              ## @.str.24
	.asciz	"could not setup interrupt handler\n"

	.comm	_CALLOUT_RETURNUNLOCKED,4,2     ## @CALLOUT_RETURNUNLOCKED
	.comm	_MMC_CAP_4_BIT_DATA,4,2         ## @MMC_CAP_4_BIT_DATA
	.comm	_MMC_CAP_HSPEED,4,2             ## @MMC_CAP_HSPEED
L_.str.25:                              ## @.str.25
	.asciz	"mmc"

L_.str.26:                              ## @.str.26
	.asciz	"could not add mmc\n"

L_.str.27:                              ## @.str.27
	.asciz	"could not attach mmc\n"

	.no_dead_strip	_aml8726_mmc_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aml8726_mmc_attach
_aml8726_mmc_attach:                    ; @aml8726_mmc_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_device_get_softc
	mov	x20, x0
	str	w19, [x0, #132]
	mov	x0, x19
	bl	_ofw_bus_get_node
	mov	x21, x0
	bl	_aml8726_mmc_clk
	str	x0, [x20]
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #64
	mov	x0, x21
	mov	w3, #24
	bl	_OF_getencprop
	and	w8, w0, #0xfffffff8
	ldr	x0, [sp, #64]
	cmp	w8, #8
	ccmp	x0, #0, #4, eq
	b.ne	LBB0_4
; %bb.2:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_60
LBB0_3:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_60
LBB0_4:
	bl	_OF_node_from_xref
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #56
	bl	_OF_getprop_alloc
	tbnz	w0, #31, LBB0_9
; %bb.5:
	mov	x22, x0
	ldr	x1, [sp, #56]
Lloh11:
	adrp	x0, l_.str.5@PAGE
Lloh12:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x2, x22
	bl	_strncmp
	cbz	x0, LBB0_10
; %bb.6:
	ldr	x1, [sp, #56]
Lloh13:
	adrp	x0, l_.str.6@PAGE
Lloh14:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x2, x22
	bl	_strncmp
	cbz	x0, LBB0_11
; %bb.7:
	ldr	x1, [sp, #56]
Lloh15:
	adrp	x0, l_.str.7@PAGE
Lloh16:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x2, x22
	bl	_strncmp
	cbz	x0, LBB0_12
; %bb.8:
	ldr	x8, [sp, #56]
	stp	x22, x8, [sp]
Lloh17:
	adrp	x1, l_.str.8@PAGE
Lloh18:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_device_printf
	ldr	x0, [sp, #56]
	b	LBB0_38
LBB0_9:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_60
LBB0_10:
Lloh21:
	adrp	x8, _AML_MMC_MULT_CONFIG_PORT_A@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AML_MMC_MULT_CONFIG_PORT_A@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh23:
	adrp	x8, _AML_MMC_MULT_CONFIG_PORT_B@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AML_MMC_MULT_CONFIG_PORT_B@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh25:
	adrp	x8, _AML_MMC_MULT_CONFIG_PORT_C@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AML_MMC_MULT_CONFIG_PORT_C@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	str	w8, [x20, #128]
	ldr	x0, [sp, #56]
	bl	_OF_prop_free
	str	xzr, [x20, #112]
Lloh27:
	adrp	x1, l_.str.9@PAGE
Lloh28:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x2, sp, #64
	mov	x0, x21
	mov	w3, #24
	bl	_OF_getencprop
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.14:
	and	w8, w0, #0xfffffff8
	cmp	w8, #24
	b.ne	LBB0_24
; %bb.15:
	ldr	x0, [sp, #64]
	bl	_OF_device_from_xref
	ldp	x8, x9, [sp, #72]
	stp	x8, x0, [x20, #104]
	str	x9, [x20, #120]
	cbz	x0, LBB0_25
LBB0_16:
	mov	x0, x20
	bl	_aml8726_mmc_power_off
	cbnz	x0, LBB0_18
; %bb.17:
	ldp	x1, x0, [x20, #104]
Lloh29:
	adrp	x8, _GPIO_PIN_OUTPUT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GPIO_PIN_OUTPUT@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	bl	_GPIO_PIN_SETFLAGS
	cbz	x0, LBB0_19
LBB0_18:
Lloh32:
	adrp	x1, l_.str.11@PAGE
Lloh33:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_60
LBB0_19:
Lloh34:
	adrp	x1, l_.str.12@PAGE
Lloh35:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x2, sp, #48
	mov	x0, x21
	bl	_OF_getprop_alloc
	tbnz	w0, #31, LBB0_26
; %bb.20:
	mov	x23, x0
	ldr	x8, [x20, #8]
	str	xzr, [x8]
	ldr	x22, [sp, #48]
	cbz	w0, LBB0_41
; %bb.21:
Lloh36:
	adrp	x0, l_.str.14@PAGE
Lloh37:
	add	x0, x0, l_.str.14@PAGEOFF
	mov	x1, x22
	mov	x2, x23
	bl	_strncmp
	cbz	x0, LBB0_27
; %bb.22:
Lloh38:
	adrp	x0, l_.str.15@PAGE
Lloh39:
	add	x0, x0, l_.str.15@PAGEOFF
	mov	x1, x22
	mov	x2, x23
	bl	_strncmp
	cbnz	x0, LBB0_37
; %bb.23:
Lloh40:
	adrp	x8, _MMC_OCR_320_330@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MMC_OCR_320_330@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x9, _MMC_OCR_330_340@GOTPAGE
Lloh44:
	ldr	x9, [x9, _MMC_OCR_330_340@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_28
LBB0_24:
	ldr	x0, [x20, #112]
	cbnz	x0, LBB0_16
LBB0_25:
Lloh46:
	adrp	x1, l_.str.10@PAGE
Lloh47:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_60
LBB0_26:
Lloh48:
	adrp	x1, l_.str.13@PAGE
Lloh49:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_60
LBB0_27:
Lloh50:
	adrp	x8, _MMC_OCR_LOW_VOLTAGE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _MMC_OCR_LOW_VOLTAGE@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
LBB0_28:
	ldr	x9, [x20, #8]
	str	w8, [x9]
	ldrb	w8, [x22]
	cbz	w8, LBB0_33
; %bb.29:
	sub	w23, w23, #1
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	mov	x8, x23
	ldrb	w10, [x22, #1]!
	subs	w23, w23, #1
	cset	w9, hs
	cbz	w10, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	tbnz	w9, #0, LBB0_30
LBB0_32:
	cmp	w8, #0
	cinc	x22, x22, ne
	cbnz	w8, LBB0_34
	b	LBB0_39
LBB0_33:
	sub	w23, w23, #1
	add	x22, x22, #1
LBB0_34:
	cbz	w23, LBB0_39
; %bb.35:
Lloh53:
	adrp	x0, l_.str.14@PAGE
Lloh54:
	add	x0, x0, l_.str.14@PAGEOFF
	mov	x1, x22
	mov	x2, x23
	bl	_strncmp
	cbz	x0, LBB0_64
; %bb.36:
Lloh55:
	adrp	x0, l_.str.15@PAGE
Lloh56:
	add	x0, x0, l_.str.15@PAGEOFF
	mov	x1, x22
	mov	x2, x23
	bl	_strncmp
	cbz	x0, LBB0_77
LBB0_37:
	stp	x23, x22, [sp]
Lloh57:
	adrp	x1, l_.str.16@PAGE
Lloh58:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	bl	_device_printf
	ldr	x0, [sp, #48]
LBB0_38:
	bl	_OF_prop_free
	b	LBB0_61
LBB0_39:
	mov	w23, #1
LBB0_40:
	ldr	x22, [sp, #48]
LBB0_41:
	mov	x0, x22
	bl	_OF_prop_free
	str	xzr, [x20, #88]
Lloh59:
	adrp	x1, l_.str.17@PAGE
Lloh60:
	add	x1, x1, l_.str.17@PAGEOFF
	add	x2, sp, #64
	mov	x0, x21
	mov	w3, #24
	bl	_OF_getencprop
	cmp	w0, #1
	b.lt	LBB0_49
; %bb.42:
	and	w8, w0, #0xfffffff8
	cmp	w8, #16
	b.ne	LBB0_44
; %bb.43:
	ldr	x0, [sp, #64]
	bl	_OF_device_from_xref
	ldr	x8, [sp, #72]
	stp	x0, x8, [x20, #88]
	mov	w8, #1
	str	w8, [x20, #80]
	b	LBB0_45
LBB0_44:
	ldr	x0, [x20, #88]
LBB0_45:
	cbz	x0, LBB0_53
; %bb.46:
	ldr	x1, [x20, #96]
	mov	w2, #0
	bl	_GPIO_PIN_SET
	cbnz	x0, LBB0_48
; %bb.47:
	ldp	x0, x1, [x20, #88]
Lloh61:
	adrp	x8, _GPIO_PIN_OUTPUT@GOTPAGE
Lloh62:
	ldr	x8, [x8, _GPIO_PIN_OUTPUT@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	bl	_GPIO_PIN_SETFLAGS
	cbz	x0, LBB0_49
LBB0_48:
Lloh64:
	adrp	x1, l_.str.19@PAGE
Lloh65:
	add	x1, x1, l_.str.19@PAGEOFF
	b	LBB0_60
LBB0_49:
	cmp	w23, #2
	b.eq	LBB0_54
; %bb.50:
	cmp	w23, #1
	b.eq	LBB0_56
; %bb.51:
	cbnz	w23, LBB0_58
; %bb.52:
Lloh66:
	adrp	x1, l_.str.20@PAGE
Lloh67:
	add	x1, x1, l_.str.20@PAGEOFF
	b	LBB0_60
LBB0_53:
Lloh68:
	adrp	x1, l_.str.18@PAGE
Lloh69:
	add	x1, x1, l_.str.18@PAGEOFF
	b	LBB0_60
LBB0_54:
	ldr	x8, [x20, #88]
	cbnz	x8, LBB0_58
; %bb.55:
Lloh70:
	adrp	x1, l_.str.22@PAGE
Lloh71:
	add	x1, x1, l_.str.22@PAGEOFF
	b	LBB0_60
LBB0_56:
	ldr	x8, [x20, #88]
	cbz	x8, LBB0_58
; %bb.57:
Lloh72:
	adrp	x1, l_.str.21@PAGE
Lloh73:
	add	x1, x1, l_.str.21@PAGEOFF
	b	LBB0_60
LBB0_58:
Lloh74:
	adrp	x22, _aml8726_mmc_spec@GOTPAGE
Lloh75:
	ldr	x22, [x22, _aml8726_mmc_spec@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	x2, [x20, #16]
	mov	x0, x19
	bl	_bus_alloc_resources
	cbz	x0, LBB0_65
; %bb.59:
Lloh76:
	adrp	x1, l_.str.23@PAGE
Lloh77:
	add	x1, x1, l_.str.23@PAGEOFF
LBB0_60:
	mov	x0, x19
	bl	_device_printf
LBB0_61:
Lloh78:
	adrp	x8, _ENXIO@GOTPAGE
Lloh79:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh80:
	ldr	w21, [x8]
LBB0_62:
	ldur	x8, [x29, #-56]
Lloh81:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh82:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_87
; %bb.63:
	mov	x0, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_64:
Lloh84:
	adrp	x8, _MMC_OCR_LOW_VOLTAGE@GOTPAGE
Lloh85:
	ldr	x8, [x8, _MMC_OCR_LOW_VOLTAGE@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	b	LBB0_78
LBB0_65:
	mov	x0, x20
	bl	_AML_MMC_LOCK_INIT
	mov	x0, x19
	bl	_bus_get_dma_tag
Lloh87:
	adrp	x8, _AML_MMC_ALIGN_DMA@GOTPAGE
Lloh88:
	ldr	x8, [x8, _AML_MMC_ALIGN_DMA@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
Lloh90:
	adrp	x8, _BUS_SPACE_MAXADDR_32BIT@GOTPAGE
Lloh91:
	ldr	x8, [x8, _BUS_SPACE_MAXADDR_32BIT@GOTPAGEOFF]
Lloh92:
	adrp	x9, _BUS_SPACE_MAXADDR@GOTPAGE
Lloh93:
	ldr	x9, [x9, _BUS_SPACE_MAXADDR@GOTPAGEOFF]
Lloh94:
	ldr	w3, [x8]
Lloh95:
	ldr	w4, [x9]
Lloh96:
	adrp	x8, _AML_MMC_MAX_DMA@GOTPAGE
Lloh97:
	ldr	x8, [x8, _AML_MMC_MAX_DMA@GOTPAGEOFF]
Lloh98:
	ldr	w7, [x8]
	add	x23, x20, #24
	stp	xzr, xzr, [sp, #16]
	str	x23, [sp, #32]
	stp	w7, wzr, [sp, #4]
	mov	w8, #1
	str	w8, [sp]
	mov	w2, #0
	mov	x5, #0
	mov	x6, #0
	bl	_bus_dma_tag_create
	mov	x21, x0
	cbnz	w0, LBB0_70
; %bb.66:
	ldr	x0, [x20, #24]
	add	x2, x20, #32
	mov	w1, #0
	bl	_bus_dmamap_create
	mov	x21, x0
	cbnz	w0, LBB0_70
; %bb.67:
	ldr	x8, [x20, #16]
	ldr	w1, [x8, #4]
Lloh99:
	adrp	x8, _INTR_TYPE_MISC@GOTPAGE
Lloh100:
	ldr	x8, [x8, _INTR_TYPE_MISC@GOTPAGEOFF]
Lloh101:
	ldr	w8, [x8]
Lloh102:
	adrp	x9, _INTR_MPSAFE@GOTPAGE
Lloh103:
	ldr	x9, [x9, _INTR_MPSAFE@GOTPAGEOFF]
Lloh104:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh105:
	adrp	x8, _aml8726_mmc_intr@GOTPAGE
Lloh106:
	ldr	x8, [x8, _aml8726_mmc_intr@GOTPAGEOFF]
Lloh107:
	ldr	w4, [x8]
	add	x6, x20, #40
	mov	x0, x19
	mov	x3, #0
	mov	x5, x20
	bl	_bus_setup_intr
	cbz	w0, LBB0_83
; %bb.68:
	mov	x21, x0
Lloh108:
	adrp	x1, l_.str.24@PAGE
Lloh109:
	add	x1, x1, l_.str.24@PAGEOFF
LBB0_69:
	mov	x0, x19
	bl	_device_printf
LBB0_70:
	ldr	x2, [x20, #40]
	cbz	x2, LBB0_72
LBB0_71:
	ldr	x8, [x20, #16]
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_bus_teardown_intr
LBB0_72:
	ldr	x1, [x20, #32]
	cbz	x1, LBB0_74
; %bb.73:
	ldr	x0, [x23]
	bl	_bus_dmamap_destroy
LBB0_74:
	ldr	x0, [x23]
	cbz	x0, LBB0_76
; %bb.75:
	bl	_bus_dma_tag_destroy
LBB0_76:
	mov	x0, x20
	bl	_AML_MMC_LOCK_DESTROY
	mov	x0, x20
	bl	_aml8726_mmc_power_off
	ldr	w1, [x22]
	ldr	x2, [x20, #16]
	mov	x0, x19
	bl	_bus_release_resources
	b	LBB0_62
LBB0_77:
Lloh110:
	adrp	x8, _MMC_OCR_320_330@GOTPAGE
Lloh111:
	ldr	x8, [x8, _MMC_OCR_320_330@GOTPAGEOFF]
Lloh112:
	ldr	w8, [x8]
Lloh113:
	adrp	x9, _MMC_OCR_330_340@GOTPAGE
Lloh114:
	ldr	x9, [x9, _MMC_OCR_330_340@GOTPAGEOFF]
Lloh115:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_78:
	ldr	x9, [x20, #8]
	str	w8, [x9, #4]
	ldrb	w8, [x22]
	cbz	w8, LBB0_82
; %bb.79:
	sub	w8, w23, #1
	add	x9, x22, #1
	mov	w23, #2
LBB0_80:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9], #1
	subs	w8, w8, #1
	cset	w10, hs
	cbz	w11, LBB0_40
; %bb.81:                               ;   in Loop: Header=BB0_80 Depth=1
	tbnz	w10, #0, LBB0_80
	b	LBB0_40
LBB0_82:
	mov	w23, #2
	b	LBB0_40
LBB0_83:
	add	x0, x20, #76
	add	x1, x20, #72
Lloh116:
	adrp	x8, _CALLOUT_RETURNUNLOCKED@GOTPAGE
Lloh117:
	ldr	x8, [x8, _CALLOUT_RETURNUNLOCKED@GOTPAGEOFF]
Lloh118:
	ldr	w2, [x8]
	bl	_callout_init_mtx
	mov	x0, x20
	mov	w1, #3392
	movk	w1, #3, lsl #16
	bl	_aml8726_mmc_div
	mov	x1, x0
	mov	x0, x20
	bl	_aml8726_mmc_freq
	str	x0, [x20, #64]
	mov	x0, x20
	mov	w1, #61568
	movk	w1, #762, lsl #16
	bl	_aml8726_mmc_div
	mov	x1, x0
	mov	x0, x20
	bl	_aml8726_mmc_freq
	str	x0, [x20, #56]
	ldr	x8, [x20, #8]
	ldp	w9, w8, [x8]
	orr	w8, w8, w9
Lloh119:
	adrp	x9, _MMC_CAP_4_BIT_DATA@GOTPAGE
Lloh120:
	ldr	x9, [x9, _MMC_CAP_4_BIT_DATA@GOTPAGEOFF]
Lloh121:
	ldr	w9, [x9]
Lloh122:
	adrp	x10, _MMC_CAP_HSPEED@GOTPAGE
Lloh123:
	ldr	x10, [x10, _MMC_CAP_HSPEED@GOTPAGEOFF]
Lloh124:
	ldr	w10, [x10]
	orr	w9, w10, w9
	stp	w8, w9, [x20, #48]
Lloh125:
	adrp	x1, l_.str.25@PAGE
Lloh126:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x0, x19
	mov	w2, #-1
	bl	_device_add_child
	cbz	w0, LBB0_86
; %bb.84:
	bl	_device_probe_and_attach
	mov	x21, x0
	cbz	w0, LBB0_62
; %bb.85:
Lloh127:
	adrp	x1, l_.str.27@PAGE
Lloh128:
	add	x1, x1, l_.str.27@PAGEOFF
	b	LBB0_69
LBB0_86:
Lloh129:
	adrp	x1, l_.str.26@PAGE
Lloh130:
	add	x1, x1, l_.str.26@PAGEOFF
	mov	x0, x19
	bl	_device_printf
Lloh131:
	adrp	x8, _ENXIO@GOTPAGE
Lloh132:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh133:
	ldr	w21, [x8]
	ldr	x2, [x20, #40]
	cbnz	x2, LBB0_71
	b	LBB0_72
LBB0_87:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh94
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpAdd	Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpAdd	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpAdd	Lloh129, Lloh130
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing clocks attribute in FDT\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.1:                               ; @.str.1
	.asciz	"pinctrl-0"

l_.str.2:                               ; @.str.2
	.asciz	"missing pinctrl-0 attribute in FDT\n"

l_.str.3:                               ; @.str.3
	.asciz	"amlogic,function"

l_.str.4:                               ; @.str.4
	.asciz	"missing amlogic,function attribute in FDT\n"

l_.str.5:                               ; @.str.5
	.asciz	"sdio-a"

	.comm	_AML_MMC_MULT_CONFIG_PORT_A,4,2 ; @AML_MMC_MULT_CONFIG_PORT_A
l_.str.6:                               ; @.str.6
	.asciz	"sdio-b"

	.comm	_AML_MMC_MULT_CONFIG_PORT_B,4,2 ; @AML_MMC_MULT_CONFIG_PORT_B
l_.str.7:                               ; @.str.7
	.asciz	"sdio-c"

	.comm	_AML_MMC_MULT_CONFIG_PORT_C,4,2 ; @AML_MMC_MULT_CONFIG_PORT_C
l_.str.8:                               ; @.str.8
	.asciz	"unknown function attribute %.*s in FDT\n"

l_.str.9:                               ; @.str.9
	.asciz	"mmc-pwr-en"

l_.str.10:                              ; @.str.10
	.asciz	"unable to process mmc-pwr-en attribute in FDT\n"

	.comm	_GPIO_PIN_OUTPUT,4,2            ; @GPIO_PIN_OUTPUT
l_.str.11:                              ; @.str.11
	.asciz	"could not use gpio to control power\n"

l_.str.12:                              ; @.str.12
	.asciz	"mmc-voltages"

l_.str.13:                              ; @.str.13
	.asciz	"missing mmc-voltages attribute in FDT\n"

l_.str.14:                              ; @.str.14
	.asciz	"1.8"

	.comm	_MMC_OCR_LOW_VOLTAGE,4,2        ; @MMC_OCR_LOW_VOLTAGE
l_.str.15:                              ; @.str.15
	.asciz	"3.3"

	.comm	_MMC_OCR_320_330,4,2            ; @MMC_OCR_320_330
	.comm	_MMC_OCR_330_340,4,2            ; @MMC_OCR_330_340
l_.str.16:                              ; @.str.16
	.asciz	"unknown voltage attribute %.*s in FDT\n"

l_.str.17:                              ; @.str.17
	.asciz	"mmc-vselect"

l_.str.18:                              ; @.str.18
	.asciz	"unable to process mmc-vselect attribute in FDT\n"

l_.str.19:                              ; @.str.19
	.asciz	"could not use gpio to set voltage\n"

l_.str.20:                              ; @.str.20
	.asciz	"no voltages in FDT\n"

l_.str.21:                              ; @.str.21
	.asciz	"only one voltage in FDT\n"

l_.str.22:                              ; @.str.22
	.asciz	"too many voltages in FDT\n"

	.comm	_aml8726_mmc_spec,4,2           ; @aml8726_mmc_spec
l_.str.23:                              ; @.str.23
	.asciz	"could not allocate resources for device\n"

	.comm	_AML_MMC_ALIGN_DMA,4,2          ; @AML_MMC_ALIGN_DMA
	.comm	_BUS_SPACE_MAXADDR_32BIT,4,2    ; @BUS_SPACE_MAXADDR_32BIT
	.comm	_BUS_SPACE_MAXADDR,4,2          ; @BUS_SPACE_MAXADDR
	.comm	_AML_MMC_MAX_DMA,4,2            ; @AML_MMC_MAX_DMA
	.comm	_INTR_TYPE_MISC,4,2             ; @INTR_TYPE_MISC
	.comm	_INTR_MPSAFE,4,2                ; @INTR_MPSAFE
	.comm	_aml8726_mmc_intr,4,2           ; @aml8726_mmc_intr
l_.str.24:                              ; @.str.24
	.asciz	"could not setup interrupt handler\n"

	.comm	_CALLOUT_RETURNUNLOCKED,4,2     ; @CALLOUT_RETURNUNLOCKED
	.comm	_MMC_CAP_4_BIT_DATA,4,2         ; @MMC_CAP_4_BIT_DATA
	.comm	_MMC_CAP_HSPEED,4,2             ; @MMC_CAP_HSPEED
l_.str.25:                              ; @.str.25
	.asciz	"mmc"

l_.str.26:                              ; @.str.26
	.asciz	"could not add mmc\n"

l_.str.27:                              ; @.str.27
	.asciz	"could not attach mmc\n"

	.no_dead_strip	_aml8726_mmc_attach
.subsections_via_symbols
