	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_of_parse                   ## -- Begin function mmc_of_parse
	.p2align	4, 0x90
_mmc_of_parse:                          ## @mmc_of_parse
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdi), %r12
	movl	$0, -40(%rbp)
	movl	$0, -36(%rbp)
	xorl	%ebx, %ebx
	testq	%r12, %r12
	je	LBB0_88
## %bb.1:
	movq	%rdi, %r14
	movq	%r12, %rdi
	callq	_dev_fwnode
	testl	%eax, %eax
	je	LBB0_88
## %bb.2:
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_device_property_read_u32
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movl	-48(%rbp), %edx
	cmpl	$1, %edx
	je	LBB0_10
## %bb.5:
	cmpl	$8, %edx
	je	LBB0_8
## %bb.6:
	cmpl	$4, %edx
	jne	LBB0_89
## %bb.7:
	movl	(%r14), %eax
	jmp	LBB0_9
LBB0_3:
	movq	32(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	movl	$1, -48(%rbp)
	jmp	LBB0_10
LBB0_8:
	movq	_MMC_CAP_8_BIT_DATA@GOTPCREL(%rip), %rcx
	movl	(%r14), %eax
	orl	(%rcx), %eax
	movl	%eax, (%r14)
LBB0_9:
	movq	_MMC_CAP_4_BIT_DATA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
LBB0_10:
	leaq	4(%r14), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_u32
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movq	_MMC_CAP_NONREMOVABLE@GOTPCREL(%rip), %rcx
	movq	%r14, %rax
	jmp	LBB0_22
LBB0_12:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	movl	%eax, %r15d
	leaq	L_.str.6(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_device_property_read_u32
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	$200, -44(%rbp)
LBB0_14:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movq	_MMC_CAP_NEEDS_POLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_16:
	imull	$1000, -44(%rbp), %r8d          ## imm = 0x3E8
	leaq	L_.str.8(%rip), %rsi
	leaq	-40(%rbp), %r9
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_mmc_gpiod_request_cd
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:
	movl	%eax, %ebx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_20
## %bb.19:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_20
	jmp	LBB0_88
LBB0_89:
	movq	32(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_88
LBB0_17:
	movq	32(%r14), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_dev_info
LBB0_20:
	cmpl	-40(%rbp), %r15d
	je	LBB0_23
## %bb.21:
	leaq	8(%r14), %rax
	movq	_MMC_CAP2_CD_ACTIVE_HIGH@GOTPCREL(%rip), %rcx
LBB0_22:
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
LBB0_23:
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	movl	%eax, %r15d
	leaq	L_.str.11(%rip), %rsi
	leaq	-36(%rbp), %r8
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_mmc_gpiod_request_ro
	testl	%eax, %eax
	je	LBB0_24
## %bb.25:
	movl	%eax, %ebx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_27
## %bb.26:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_27
	jmp	LBB0_88
LBB0_24:
	movq	32(%r14), %rdi
	leaq	L_.str.12(%rip), %rsi
	callq	_dev_info
LBB0_27:
	leaq	L_.str.13(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:
	movq	_MMC_CAP2_NO_WRITE_PROTECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_29:
	cmpl	-36(%rbp), %r15d
	je	LBB0_31
## %bb.30:
	movq	_MMC_CAP2_RO_ACTIVE_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_31:
	leaq	L_.str.14(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_33
## %bb.32:
	movq	_MMC_CAP_SD_HIGHSPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_33:
	leaq	L_.str.15(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_35
## %bb.34:
	movq	_MMC_CAP_MMC_HIGHSPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_35:
	leaq	L_.str.16(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_37
## %bb.36:
	movq	_MMC_CAP_UHS_SDR12@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_37:
	leaq	L_.str.17(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_39
## %bb.38:
	movq	_MMC_CAP_UHS_SDR25@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_39:
	leaq	L_.str.18(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_41
## %bb.40:
	movq	_MMC_CAP_UHS_SDR50@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_41:
	leaq	L_.str.19(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_43
## %bb.42:
	movq	_MMC_CAP_UHS_SDR104@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_43:
	leaq	L_.str.20(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_45
## %bb.44:
	movq	_MMC_CAP_UHS_DDR50@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_45:
	leaq	L_.str.21(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_47
## %bb.46:
	movq	_MMC_CAP_POWER_OFF_CARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_47:
	leaq	L_.str.22(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_49
## %bb.48:
	movq	_MMC_CAP_HW_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_49:
	leaq	L_.str.23(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_51
## %bb.50:
	movq	_MMC_CAP_SDIO_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_51:
	leaq	L_.str.24(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_53
## %bb.52:
	movq	_MMC_CAP2_FULL_PWR_CYCLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_53:
	leaq	L_.str.25(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_55
## %bb.54:
	movq	_MMC_PM_KEEP_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r14)
LBB0_55:
	leaq	L_.str.26(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	jne	LBB0_57
## %bb.56:
	leaq	L_.str.27(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_58
LBB0_57:
	movq	_MMC_PM_WAKE_SDIO_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 40(%r14)
LBB0_58:
	leaq	L_.str.28(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_60
## %bb.59:
	movq	_MMC_CAP_3_3V_DDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_60:
	leaq	L_.str.29(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_62
## %bb.61:
	movq	_MMC_CAP_1_8V_DDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_62:
	leaq	L_.str.30(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_64
## %bb.63:
	movq	_MMC_CAP_1_2V_DDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_64:
	leaq	L_.str.31(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_66
## %bb.65:
	movq	_MMC_CAP2_HS200_1_8V_SDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_66:
	leaq	L_.str.32(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_68
## %bb.67:
	movq	_MMC_CAP2_HS200_1_2V_SDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_68:
	leaq	L_.str.33(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_70
## %bb.69:
	movq	_MMC_CAP2_HS400_1_8V@GOTPCREL(%rip), %rax
	movq	_MMC_CAP2_HS200_1_8V_SDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, 8(%r14)
LBB0_70:
	leaq	L_.str.34(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_72
## %bb.71:
	movq	_MMC_CAP2_HS400_1_2V@GOTPCREL(%rip), %rax
	movq	_MMC_CAP2_HS200_1_2V_SDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, 8(%r14)
LBB0_72:
	leaq	L_.str.35(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_74
## %bb.73:
	movq	_MMC_CAP2_HS400_ES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_74:
	leaq	L_.str.36(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_76
## %bb.75:
	movq	_MMC_CAP2_NO_SDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_76:
	leaq	L_.str.37(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_78
## %bb.77:
	movq	_MMC_CAP2_NO_SD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_78:
	leaq	L_.str.38(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_bool
	testl	%eax, %eax
	je	LBB0_80
## %bb.79:
	movq	_MMC_CAP2_NO_MMC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_80:
	leaq	L_.str.39(%rip), %rsi
	leaq	-52(%rbp), %rdx
	movq	%r12, %rdi
	callq	_device_property_read_u32
	testq	%rax, %rax
	jne	LBB0_84
## %bb.81:
	movq	_MMC_CAP_NONREMOVABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_83
## %bb.82:
	movl	-52(%rbp), %eax
	movl	%eax, 12(%r14)
	jmp	LBB0_84
LBB0_83:
	movq	32(%r14), %rdi
	leaq	L_.str.40(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_84:
	leaq	20(%r14), %rbx
	leaq	L_.str.41(%rip), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_device_property_read_u32
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movl	%ecx, 16(%r14)
	jne	LBB0_87
## %bb.85:
	movl	(%rbx), %edx
	cmpl	$65536, %edx                    ## imm = 0x10000
	jb	LBB0_87
## %bb.86:
	movq	32(%r14), %rdi
	leaq	L_.str.42(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	$0, 16(%r14)
LBB0_87:
	leaq	24(%r14), %rdx
	leaq	L_.str.43(%rip), %rsi
	movq	%r12, %rdi
	callq	_device_property_read_u32
	movq	%r14, %rdi
	callq	_mmc_pwrseq_alloc
	movl	%eax, %ebx
LBB0_88:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bus-width"

L_.str.1:                               ## @.str.1
	.asciz	"\"bus-width\" property is missing, assuming 1 bit.\n"

	.comm	_MMC_CAP_8_BIT_DATA,4,2         ## @MMC_CAP_8_BIT_DATA
	.comm	_MMC_CAP_4_BIT_DATA,4,2         ## @MMC_CAP_4_BIT_DATA
L_.str.2:                               ## @.str.2
	.asciz	"Invalid \"bus-width\" value %u!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"max-frequency"

L_.str.4:                               ## @.str.4
	.asciz	"non-removable"

	.comm	_MMC_CAP_NONREMOVABLE,4,2       ## @MMC_CAP_NONREMOVABLE
L_.str.5:                               ## @.str.5
	.asciz	"cd-inverted"

L_.str.6:                               ## @.str.6
	.asciz	"cd-debounce-delay-ms"

L_.str.7:                               ## @.str.7
	.asciz	"broken-cd"

	.comm	_MMC_CAP_NEEDS_POLL,4,2         ## @MMC_CAP_NEEDS_POLL
L_.str.8:                               ## @.str.8
	.asciz	"cd"

L_.str.9:                               ## @.str.9
	.asciz	"Got CD GPIO\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_MMC_CAP2_CD_ACTIVE_HIGH,4,2    ## @MMC_CAP2_CD_ACTIVE_HIGH
L_.str.10:                              ## @.str.10
	.asciz	"wp-inverted"

L_.str.11:                              ## @.str.11
	.asciz	"wp"

L_.str.12:                              ## @.str.12
	.asciz	"Got WP GPIO\n"

L_.str.13:                              ## @.str.13
	.asciz	"disable-wp"

	.comm	_MMC_CAP2_NO_WRITE_PROTECT,4,2  ## @MMC_CAP2_NO_WRITE_PROTECT
	.comm	_MMC_CAP2_RO_ACTIVE_HIGH,4,2    ## @MMC_CAP2_RO_ACTIVE_HIGH
L_.str.14:                              ## @.str.14
	.asciz	"cap-sd-highspeed"

	.comm	_MMC_CAP_SD_HIGHSPEED,4,2       ## @MMC_CAP_SD_HIGHSPEED
L_.str.15:                              ## @.str.15
	.asciz	"cap-mmc-highspeed"

	.comm	_MMC_CAP_MMC_HIGHSPEED,4,2      ## @MMC_CAP_MMC_HIGHSPEED
L_.str.16:                              ## @.str.16
	.asciz	"sd-uhs-sdr12"

	.comm	_MMC_CAP_UHS_SDR12,4,2          ## @MMC_CAP_UHS_SDR12
L_.str.17:                              ## @.str.17
	.asciz	"sd-uhs-sdr25"

	.comm	_MMC_CAP_UHS_SDR25,4,2          ## @MMC_CAP_UHS_SDR25
L_.str.18:                              ## @.str.18
	.asciz	"sd-uhs-sdr50"

	.comm	_MMC_CAP_UHS_SDR50,4,2          ## @MMC_CAP_UHS_SDR50
L_.str.19:                              ## @.str.19
	.asciz	"sd-uhs-sdr104"

	.comm	_MMC_CAP_UHS_SDR104,4,2         ## @MMC_CAP_UHS_SDR104
L_.str.20:                              ## @.str.20
	.asciz	"sd-uhs-ddr50"

	.comm	_MMC_CAP_UHS_DDR50,4,2          ## @MMC_CAP_UHS_DDR50
L_.str.21:                              ## @.str.21
	.asciz	"cap-power-off-card"

	.comm	_MMC_CAP_POWER_OFF_CARD,4,2     ## @MMC_CAP_POWER_OFF_CARD
L_.str.22:                              ## @.str.22
	.asciz	"cap-mmc-hw-reset"

	.comm	_MMC_CAP_HW_RESET,4,2           ## @MMC_CAP_HW_RESET
L_.str.23:                              ## @.str.23
	.asciz	"cap-sdio-irq"

	.comm	_MMC_CAP_SDIO_IRQ,4,2           ## @MMC_CAP_SDIO_IRQ
L_.str.24:                              ## @.str.24
	.asciz	"full-pwr-cycle"

	.comm	_MMC_CAP2_FULL_PWR_CYCLE,4,2    ## @MMC_CAP2_FULL_PWR_CYCLE
L_.str.25:                              ## @.str.25
	.asciz	"keep-power-in-suspend"

	.comm	_MMC_PM_KEEP_POWER,4,2          ## @MMC_PM_KEEP_POWER
L_.str.26:                              ## @.str.26
	.asciz	"wakeup-source"

L_.str.27:                              ## @.str.27
	.asciz	"enable-sdio-wakeup"

	.comm	_MMC_PM_WAKE_SDIO_IRQ,4,2       ## @MMC_PM_WAKE_SDIO_IRQ
L_.str.28:                              ## @.str.28
	.asciz	"mmc-ddr-3_3v"

	.comm	_MMC_CAP_3_3V_DDR,4,2           ## @MMC_CAP_3_3V_DDR
L_.str.29:                              ## @.str.29
	.asciz	"mmc-ddr-1_8v"

	.comm	_MMC_CAP_1_8V_DDR,4,2           ## @MMC_CAP_1_8V_DDR
L_.str.30:                              ## @.str.30
	.asciz	"mmc-ddr-1_2v"

	.comm	_MMC_CAP_1_2V_DDR,4,2           ## @MMC_CAP_1_2V_DDR
L_.str.31:                              ## @.str.31
	.asciz	"mmc-hs200-1_8v"

	.comm	_MMC_CAP2_HS200_1_8V_SDR,4,2    ## @MMC_CAP2_HS200_1_8V_SDR
L_.str.32:                              ## @.str.32
	.asciz	"mmc-hs200-1_2v"

	.comm	_MMC_CAP2_HS200_1_2V_SDR,4,2    ## @MMC_CAP2_HS200_1_2V_SDR
L_.str.33:                              ## @.str.33
	.asciz	"mmc-hs400-1_8v"

	.comm	_MMC_CAP2_HS400_1_8V,4,2        ## @MMC_CAP2_HS400_1_8V
L_.str.34:                              ## @.str.34
	.asciz	"mmc-hs400-1_2v"

	.comm	_MMC_CAP2_HS400_1_2V,4,2        ## @MMC_CAP2_HS400_1_2V
L_.str.35:                              ## @.str.35
	.asciz	"mmc-hs400-enhanced-strobe"

	.comm	_MMC_CAP2_HS400_ES,4,2          ## @MMC_CAP2_HS400_ES
L_.str.36:                              ## @.str.36
	.asciz	"no-sdio"

	.comm	_MMC_CAP2_NO_SDIO,4,2           ## @MMC_CAP2_NO_SDIO
L_.str.37:                              ## @.str.37
	.asciz	"no-sd"

	.comm	_MMC_CAP2_NO_SD,4,2             ## @MMC_CAP2_NO_SD
L_.str.38:                              ## @.str.38
	.asciz	"no-mmc"

	.comm	_MMC_CAP2_NO_MMC,4,2            ## @MMC_CAP2_NO_MMC
L_.str.39:                              ## @.str.39
	.asciz	"fixed-emmc-driver-type"

L_.str.40:                              ## @.str.40
	.asciz	"can't use fixed driver type, media is removable\n"

L_.str.41:                              ## @.str.41
	.asciz	"dsr"

L_.str.42:                              ## @.str.42
	.asciz	"device tree specified broken value for DSR: 0x%x, ignoring\n"

L_.str.43:                              ## @.str.43
	.asciz	"post-power-on-delay-ms"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_of_parse                   ; -- Begin function mmc_of_parse
	.p2align	2
_mmc_of_parse:                          ; @mmc_of_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x20, [x0, #32]
	stp	wzr, wzr, [sp, #12]
	cbz	x20, LBB0_7
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_dev_fwnode
	cbz	w0, LBB0_90
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #28
	mov	x0, x20
	bl	_device_property_read_u32
	tbnz	x0, #63, LBB0_8
; %bb.3:
	ldr	w8, [sp, #28]
	cmp	w8, #1
	b.eq	LBB0_11
; %bb.4:
	cmp	w8, #8
	b.eq	LBB0_9
; %bb.5:
	cmp	w8, #4
	b.ne	LBB0_20
; %bb.6:
	ldr	w8, [x19]
	b	LBB0_10
LBB0_7:
	mov	w0, #0
	b	LBB0_90
LBB0_8:
	ldr	x0, [x19, #32]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	mov	w8, #1
	str	w8, [sp, #28]
	b	LBB0_11
LBB0_9:
Lloh4:
	adrp	x8, _MMC_CAP_8_BIT_DATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MMC_CAP_8_BIT_DATA@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_10:
Lloh7:
	adrp	x9, _MMC_CAP_4_BIT_DATA@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MMC_CAP_4_BIT_DATA@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_11:
	add	x2, x19, #4
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_u32
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_13
; %bb.12:
Lloh14:
	adrp	x9, _MMC_CAP_NONREMOVABLE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MMC_CAP_NONREMOVABLE@GOTPAGEOFF]
	mov	x8, x19
	b	LBB0_24
LBB0_13:
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	mov	x21, x0
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #20
	mov	x0, x20
	bl	_device_property_read_u32
	cbz	x0, LBB0_15
; %bb.14:
	mov	w8, #200
	str	w8, [sp, #20]
LBB0_15:
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_17
; %bb.16:
Lloh22:
	adrp	x8, _MMC_CAP_NEEDS_POLL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MMC_CAP_NEEDS_POLL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_17:
	ldr	w8, [sp, #20]
	mov	w9, #1000
	mul	w4, w8, w9
Lloh25:
	adrp	x1, l_.str.8@PAGE
Lloh26:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x5, sp, #16
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_mmc_gpiod_request_cd
	cbz	w0, LBB0_21
; %bb.18:
Lloh27:
	adrp	x8, _ENOENT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_22
; %bb.19:
Lloh30:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_22
	b	LBB0_90
LBB0_20:
	ldr	x0, [x19, #32]
	str	x8, [sp]
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
Lloh35:
	adrp	x8, _EINVAL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_90
LBB0_21:
	ldr	x0, [x19, #32]
Lloh38:
	adrp	x1, l_.str.9@PAGE
Lloh39:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_dev_info
LBB0_22:
	ldr	w8, [sp, #16]
	cmp	w21, w8
	b.eq	LBB0_25
; %bb.23:
	add	x8, x19, #8
Lloh40:
	adrp	x9, _MMC_CAP2_CD_ACTIVE_HIGH@GOTPAGE
Lloh41:
	ldr	x9, [x9, _MMC_CAP2_CD_ACTIVE_HIGH@GOTPAGEOFF]
LBB0_24:
	ldr	w9, [x9]
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
LBB0_25:
Lloh42:
	adrp	x1, l_.str.10@PAGE
Lloh43:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	mov	x21, x0
Lloh44:
	adrp	x1, l_.str.11@PAGE
Lloh45:
	add	x1, x1, l_.str.11@PAGEOFF
	add	x4, sp, #12
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_mmc_gpiod_request_ro
	cbz	w0, LBB0_28
; %bb.26:
Lloh46:
	adrp	x8, _ENOENT@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_29
; %bb.27:
Lloh49:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_29
	b	LBB0_90
LBB0_28:
	ldr	x0, [x19, #32]
Lloh52:
	adrp	x1, l_.str.12@PAGE
Lloh53:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_dev_info
LBB0_29:
Lloh54:
	adrp	x1, l_.str.13@PAGE
Lloh55:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_31
; %bb.30:
Lloh56:
	adrp	x8, _MMC_CAP2_NO_WRITE_PROTECT@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MMC_CAP2_NO_WRITE_PROTECT@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_31:
	ldr	w8, [sp, #12]
	cmp	w21, w8
	b.eq	LBB0_33
; %bb.32:
Lloh59:
	adrp	x8, _MMC_CAP2_RO_ACTIVE_HIGH@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MMC_CAP2_RO_ACTIVE_HIGH@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_33:
Lloh62:
	adrp	x1, l_.str.14@PAGE
Lloh63:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_35
; %bb.34:
Lloh64:
	adrp	x8, _MMC_CAP_SD_HIGHSPEED@GOTPAGE
Lloh65:
	ldr	x8, [x8, _MMC_CAP_SD_HIGHSPEED@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_35:
Lloh67:
	adrp	x1, l_.str.15@PAGE
Lloh68:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_37
; %bb.36:
Lloh69:
	adrp	x8, _MMC_CAP_MMC_HIGHSPEED@GOTPAGE
Lloh70:
	ldr	x8, [x8, _MMC_CAP_MMC_HIGHSPEED@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_37:
Lloh72:
	adrp	x1, l_.str.16@PAGE
Lloh73:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_39
; %bb.38:
Lloh74:
	adrp	x8, _MMC_CAP_UHS_SDR12@GOTPAGE
Lloh75:
	ldr	x8, [x8, _MMC_CAP_UHS_SDR12@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_39:
Lloh77:
	adrp	x1, l_.str.17@PAGE
Lloh78:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_41
; %bb.40:
Lloh79:
	adrp	x8, _MMC_CAP_UHS_SDR25@GOTPAGE
Lloh80:
	ldr	x8, [x8, _MMC_CAP_UHS_SDR25@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_41:
Lloh82:
	adrp	x1, l_.str.18@PAGE
Lloh83:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_43
; %bb.42:
Lloh84:
	adrp	x8, _MMC_CAP_UHS_SDR50@GOTPAGE
Lloh85:
	ldr	x8, [x8, _MMC_CAP_UHS_SDR50@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_43:
Lloh87:
	adrp	x1, l_.str.19@PAGE
Lloh88:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_45
; %bb.44:
Lloh89:
	adrp	x8, _MMC_CAP_UHS_SDR104@GOTPAGE
Lloh90:
	ldr	x8, [x8, _MMC_CAP_UHS_SDR104@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_45:
Lloh92:
	adrp	x1, l_.str.20@PAGE
Lloh93:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_47
; %bb.46:
Lloh94:
	adrp	x8, _MMC_CAP_UHS_DDR50@GOTPAGE
Lloh95:
	ldr	x8, [x8, _MMC_CAP_UHS_DDR50@GOTPAGEOFF]
Lloh96:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_47:
Lloh97:
	adrp	x1, l_.str.21@PAGE
Lloh98:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_49
; %bb.48:
Lloh99:
	adrp	x8, _MMC_CAP_POWER_OFF_CARD@GOTPAGE
Lloh100:
	ldr	x8, [x8, _MMC_CAP_POWER_OFF_CARD@GOTPAGEOFF]
Lloh101:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_49:
Lloh102:
	adrp	x1, l_.str.22@PAGE
Lloh103:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_51
; %bb.50:
Lloh104:
	adrp	x8, _MMC_CAP_HW_RESET@GOTPAGE
Lloh105:
	ldr	x8, [x8, _MMC_CAP_HW_RESET@GOTPAGEOFF]
Lloh106:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_51:
Lloh107:
	adrp	x1, l_.str.23@PAGE
Lloh108:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_53
; %bb.52:
Lloh109:
	adrp	x8, _MMC_CAP_SDIO_IRQ@GOTPAGE
Lloh110:
	ldr	x8, [x8, _MMC_CAP_SDIO_IRQ@GOTPAGEOFF]
Lloh111:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_53:
Lloh112:
	adrp	x1, l_.str.24@PAGE
Lloh113:
	add	x1, x1, l_.str.24@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_55
; %bb.54:
Lloh114:
	adrp	x8, _MMC_CAP2_FULL_PWR_CYCLE@GOTPAGE
Lloh115:
	ldr	x8, [x8, _MMC_CAP2_FULL_PWR_CYCLE@GOTPAGEOFF]
Lloh116:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_55:
Lloh117:
	adrp	x1, l_.str.25@PAGE
Lloh118:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_57
; %bb.56:
Lloh119:
	adrp	x8, _MMC_PM_KEEP_POWER@GOTPAGE
Lloh120:
	ldr	x8, [x8, _MMC_PM_KEEP_POWER@GOTPAGEOFF]
Lloh121:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_57:
Lloh122:
	adrp	x1, l_.str.26@PAGE
Lloh123:
	add	x1, x1, l_.str.26@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbnz	w0, LBB0_59
; %bb.58:
Lloh124:
	adrp	x1, l_.str.27@PAGE
Lloh125:
	add	x1, x1, l_.str.27@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_60
LBB0_59:
Lloh126:
	adrp	x8, _MMC_PM_WAKE_SDIO_IRQ@GOTPAGE
Lloh127:
	ldr	x8, [x8, _MMC_PM_WAKE_SDIO_IRQ@GOTPAGEOFF]
Lloh128:
	ldr	w8, [x8]
	ldr	w9, [x19, #40]
	orr	w8, w9, w8
	str	w8, [x19, #40]
LBB0_60:
Lloh129:
	adrp	x1, l_.str.28@PAGE
Lloh130:
	add	x1, x1, l_.str.28@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_62
; %bb.61:
Lloh131:
	adrp	x8, _MMC_CAP_3_3V_DDR@GOTPAGE
Lloh132:
	ldr	x8, [x8, _MMC_CAP_3_3V_DDR@GOTPAGEOFF]
Lloh133:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_62:
Lloh134:
	adrp	x1, l_.str.29@PAGE
Lloh135:
	add	x1, x1, l_.str.29@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_64
; %bb.63:
Lloh136:
	adrp	x8, _MMC_CAP_1_8V_DDR@GOTPAGE
Lloh137:
	ldr	x8, [x8, _MMC_CAP_1_8V_DDR@GOTPAGEOFF]
Lloh138:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_64:
Lloh139:
	adrp	x1, l_.str.30@PAGE
Lloh140:
	add	x1, x1, l_.str.30@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_66
; %bb.65:
Lloh141:
	adrp	x8, _MMC_CAP_1_2V_DDR@GOTPAGE
Lloh142:
	ldr	x8, [x8, _MMC_CAP_1_2V_DDR@GOTPAGEOFF]
Lloh143:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_66:
Lloh144:
	adrp	x1, l_.str.31@PAGE
Lloh145:
	add	x1, x1, l_.str.31@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
Lloh146:
	adrp	x22, _MMC_CAP2_HS200_1_8V_SDR@GOTPAGE
Lloh147:
	ldr	x22, [x22, _MMC_CAP2_HS200_1_8V_SDR@GOTPAGEOFF]
	cbz	w0, LBB0_68
; %bb.67:
	ldr	w8, [x22]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_68:
Lloh148:
	adrp	x1, l_.str.32@PAGE
Lloh149:
	add	x1, x1, l_.str.32@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
Lloh150:
	adrp	x21, _MMC_CAP2_HS200_1_2V_SDR@GOTPAGE
Lloh151:
	ldr	x21, [x21, _MMC_CAP2_HS200_1_2V_SDR@GOTPAGEOFF]
	cbz	w0, LBB0_70
; %bb.69:
	ldr	w8, [x21]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_70:
Lloh152:
	adrp	x1, l_.str.33@PAGE
Lloh153:
	add	x1, x1, l_.str.33@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_72
; %bb.71:
Lloh154:
	adrp	x8, _MMC_CAP2_HS400_1_8V@GOTPAGE
Lloh155:
	ldr	x8, [x8, _MMC_CAP2_HS400_1_8V@GOTPAGEOFF]
Lloh156:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x19, #8]
	orr	w8, w8, w9
	str	w8, [x19, #8]
LBB0_72:
Lloh157:
	adrp	x1, l_.str.34@PAGE
Lloh158:
	add	x1, x1, l_.str.34@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_74
; %bb.73:
Lloh159:
	adrp	x8, _MMC_CAP2_HS400_1_2V@GOTPAGE
Lloh160:
	ldr	x8, [x8, _MMC_CAP2_HS400_1_2V@GOTPAGEOFF]
Lloh161:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	ldr	w9, [x19, #8]
	orr	w8, w8, w9
	str	w8, [x19, #8]
LBB0_74:
Lloh162:
	adrp	x1, l_.str.35@PAGE
Lloh163:
	add	x1, x1, l_.str.35@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_76
; %bb.75:
Lloh164:
	adrp	x8, _MMC_CAP2_HS400_ES@GOTPAGE
Lloh165:
	ldr	x8, [x8, _MMC_CAP2_HS400_ES@GOTPAGEOFF]
Lloh166:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_76:
Lloh167:
	adrp	x1, l_.str.36@PAGE
Lloh168:
	add	x1, x1, l_.str.36@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_78
; %bb.77:
Lloh169:
	adrp	x8, _MMC_CAP2_NO_SDIO@GOTPAGE
Lloh170:
	ldr	x8, [x8, _MMC_CAP2_NO_SDIO@GOTPAGEOFF]
Lloh171:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_78:
Lloh172:
	adrp	x1, l_.str.37@PAGE
Lloh173:
	add	x1, x1, l_.str.37@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_80
; %bb.79:
Lloh174:
	adrp	x8, _MMC_CAP2_NO_SD@GOTPAGE
Lloh175:
	ldr	x8, [x8, _MMC_CAP2_NO_SD@GOTPAGEOFF]
Lloh176:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_80:
Lloh177:
	adrp	x1, l_.str.38@PAGE
Lloh178:
	add	x1, x1, l_.str.38@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_bool
	cbz	w0, LBB0_82
; %bb.81:
Lloh179:
	adrp	x8, _MMC_CAP2_NO_MMC@GOTPAGE
Lloh180:
	ldr	x8, [x8, _MMC_CAP2_NO_MMC@GOTPAGEOFF]
Lloh181:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_82:
Lloh182:
	adrp	x1, l_.str.39@PAGE
Lloh183:
	add	x1, x1, l_.str.39@PAGEOFF
	add	x2, sp, #24
	mov	x0, x20
	bl	_device_property_read_u32
	cbnz	x0, LBB0_86
; %bb.83:
	ldr	w8, [x19]
Lloh184:
	adrp	x9, _MMC_CAP_NONREMOVABLE@GOTPAGE
Lloh185:
	ldr	x9, [x9, _MMC_CAP_NONREMOVABLE@GOTPAGEOFF]
Lloh186:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_85
; %bb.84:
	ldr	w8, [sp, #24]
	str	w8, [x19, #12]
	b	LBB0_86
LBB0_85:
	ldr	x0, [x19, #32]
Lloh187:
	adrp	x1, l_.str.40@PAGE
Lloh188:
	add	x1, x1, l_.str.40@PAGEOFF
	bl	_dev_err
LBB0_86:
	add	x21, x19, #20
Lloh189:
	adrp	x1, l_.str.41@PAGE
Lloh190:
	add	x1, x1, l_.str.41@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_device_property_read_u32
	cmp	x0, #0
	cset	w8, eq
	str	w8, [x19, #16]
	cbnz	x0, LBB0_89
; %bb.87:
	ldr	w8, [x21]
	cmp	w8, #16, lsl #12                ; =65536
	b.lo	LBB0_89
; %bb.88:
	ldr	x0, [x19, #32]
	str	x8, [sp]
Lloh191:
	adrp	x1, l_.str.42@PAGE
Lloh192:
	add	x1, x1, l_.str.42@PAGEOFF
	bl	_dev_err
	str	wzr, [x19, #16]
LBB0_89:
	add	x2, x19, #24
Lloh193:
	adrp	x1, l_.str.43@PAGE
Lloh194:
	add	x1, x1, l_.str.43@PAGEOFF
	mov	x0, x20
	bl	_device_property_read_u32
	mov	x0, x19
	bl	_mmc_pwrseq_alloc
LBB0_90:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpAdd	Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpAdd	Lloh122, Lloh123
	.loh AdrpAdd	Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpAdd	Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpAdd	Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.loh AdrpAdd	Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGot	Lloh146, Lloh147
	.loh AdrpAdd	Lloh144, Lloh145
	.loh AdrpLdrGot	Lloh150, Lloh151
	.loh AdrpAdd	Lloh148, Lloh149
	.loh AdrpAdd	Lloh152, Lloh153
	.loh AdrpLdrGotLdr	Lloh154, Lloh155, Lloh156
	.loh AdrpAdd	Lloh157, Lloh158
	.loh AdrpLdrGotLdr	Lloh159, Lloh160, Lloh161
	.loh AdrpAdd	Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpAdd	Lloh167, Lloh168
	.loh AdrpLdrGotLdr	Lloh169, Lloh170, Lloh171
	.loh AdrpAdd	Lloh172, Lloh173
	.loh AdrpLdrGotLdr	Lloh174, Lloh175, Lloh176
	.loh AdrpAdd	Lloh177, Lloh178
	.loh AdrpLdrGotLdr	Lloh179, Lloh180, Lloh181
	.loh AdrpAdd	Lloh182, Lloh183
	.loh AdrpLdrGotLdr	Lloh184, Lloh185, Lloh186
	.loh AdrpAdd	Lloh187, Lloh188
	.loh AdrpAdd	Lloh189, Lloh190
	.loh AdrpAdd	Lloh191, Lloh192
	.loh AdrpAdd	Lloh193, Lloh194
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bus-width"

l_.str.1:                               ; @.str.1
	.asciz	"\"bus-width\" property is missing, assuming 1 bit.\n"

	.comm	_MMC_CAP_8_BIT_DATA,4,2         ; @MMC_CAP_8_BIT_DATA
	.comm	_MMC_CAP_4_BIT_DATA,4,2         ; @MMC_CAP_4_BIT_DATA
l_.str.2:                               ; @.str.2
	.asciz	"Invalid \"bus-width\" value %u!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"max-frequency"

l_.str.4:                               ; @.str.4
	.asciz	"non-removable"

	.comm	_MMC_CAP_NONREMOVABLE,4,2       ; @MMC_CAP_NONREMOVABLE
l_.str.5:                               ; @.str.5
	.asciz	"cd-inverted"

l_.str.6:                               ; @.str.6
	.asciz	"cd-debounce-delay-ms"

l_.str.7:                               ; @.str.7
	.asciz	"broken-cd"

	.comm	_MMC_CAP_NEEDS_POLL,4,2         ; @MMC_CAP_NEEDS_POLL
l_.str.8:                               ; @.str.8
	.asciz	"cd"

l_.str.9:                               ; @.str.9
	.asciz	"Got CD GPIO\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_MMC_CAP2_CD_ACTIVE_HIGH,4,2    ; @MMC_CAP2_CD_ACTIVE_HIGH
l_.str.10:                              ; @.str.10
	.asciz	"wp-inverted"

l_.str.11:                              ; @.str.11
	.asciz	"wp"

l_.str.12:                              ; @.str.12
	.asciz	"Got WP GPIO\n"

l_.str.13:                              ; @.str.13
	.asciz	"disable-wp"

	.comm	_MMC_CAP2_NO_WRITE_PROTECT,4,2  ; @MMC_CAP2_NO_WRITE_PROTECT
	.comm	_MMC_CAP2_RO_ACTIVE_HIGH,4,2    ; @MMC_CAP2_RO_ACTIVE_HIGH
l_.str.14:                              ; @.str.14
	.asciz	"cap-sd-highspeed"

	.comm	_MMC_CAP_SD_HIGHSPEED,4,2       ; @MMC_CAP_SD_HIGHSPEED
l_.str.15:                              ; @.str.15
	.asciz	"cap-mmc-highspeed"

	.comm	_MMC_CAP_MMC_HIGHSPEED,4,2      ; @MMC_CAP_MMC_HIGHSPEED
l_.str.16:                              ; @.str.16
	.asciz	"sd-uhs-sdr12"

	.comm	_MMC_CAP_UHS_SDR12,4,2          ; @MMC_CAP_UHS_SDR12
l_.str.17:                              ; @.str.17
	.asciz	"sd-uhs-sdr25"

	.comm	_MMC_CAP_UHS_SDR25,4,2          ; @MMC_CAP_UHS_SDR25
l_.str.18:                              ; @.str.18
	.asciz	"sd-uhs-sdr50"

	.comm	_MMC_CAP_UHS_SDR50,4,2          ; @MMC_CAP_UHS_SDR50
l_.str.19:                              ; @.str.19
	.asciz	"sd-uhs-sdr104"

	.comm	_MMC_CAP_UHS_SDR104,4,2         ; @MMC_CAP_UHS_SDR104
l_.str.20:                              ; @.str.20
	.asciz	"sd-uhs-ddr50"

	.comm	_MMC_CAP_UHS_DDR50,4,2          ; @MMC_CAP_UHS_DDR50
l_.str.21:                              ; @.str.21
	.asciz	"cap-power-off-card"

	.comm	_MMC_CAP_POWER_OFF_CARD,4,2     ; @MMC_CAP_POWER_OFF_CARD
l_.str.22:                              ; @.str.22
	.asciz	"cap-mmc-hw-reset"

	.comm	_MMC_CAP_HW_RESET,4,2           ; @MMC_CAP_HW_RESET
l_.str.23:                              ; @.str.23
	.asciz	"cap-sdio-irq"

	.comm	_MMC_CAP_SDIO_IRQ,4,2           ; @MMC_CAP_SDIO_IRQ
l_.str.24:                              ; @.str.24
	.asciz	"full-pwr-cycle"

	.comm	_MMC_CAP2_FULL_PWR_CYCLE,4,2    ; @MMC_CAP2_FULL_PWR_CYCLE
l_.str.25:                              ; @.str.25
	.asciz	"keep-power-in-suspend"

	.comm	_MMC_PM_KEEP_POWER,4,2          ; @MMC_PM_KEEP_POWER
l_.str.26:                              ; @.str.26
	.asciz	"wakeup-source"

l_.str.27:                              ; @.str.27
	.asciz	"enable-sdio-wakeup"

	.comm	_MMC_PM_WAKE_SDIO_IRQ,4,2       ; @MMC_PM_WAKE_SDIO_IRQ
l_.str.28:                              ; @.str.28
	.asciz	"mmc-ddr-3_3v"

	.comm	_MMC_CAP_3_3V_DDR,4,2           ; @MMC_CAP_3_3V_DDR
l_.str.29:                              ; @.str.29
	.asciz	"mmc-ddr-1_8v"

	.comm	_MMC_CAP_1_8V_DDR,4,2           ; @MMC_CAP_1_8V_DDR
l_.str.30:                              ; @.str.30
	.asciz	"mmc-ddr-1_2v"

	.comm	_MMC_CAP_1_2V_DDR,4,2           ; @MMC_CAP_1_2V_DDR
l_.str.31:                              ; @.str.31
	.asciz	"mmc-hs200-1_8v"

	.comm	_MMC_CAP2_HS200_1_8V_SDR,4,2    ; @MMC_CAP2_HS200_1_8V_SDR
l_.str.32:                              ; @.str.32
	.asciz	"mmc-hs200-1_2v"

	.comm	_MMC_CAP2_HS200_1_2V_SDR,4,2    ; @MMC_CAP2_HS200_1_2V_SDR
l_.str.33:                              ; @.str.33
	.asciz	"mmc-hs400-1_8v"

	.comm	_MMC_CAP2_HS400_1_8V,4,2        ; @MMC_CAP2_HS400_1_8V
l_.str.34:                              ; @.str.34
	.asciz	"mmc-hs400-1_2v"

	.comm	_MMC_CAP2_HS400_1_2V,4,2        ; @MMC_CAP2_HS400_1_2V
l_.str.35:                              ; @.str.35
	.asciz	"mmc-hs400-enhanced-strobe"

	.comm	_MMC_CAP2_HS400_ES,4,2          ; @MMC_CAP2_HS400_ES
l_.str.36:                              ; @.str.36
	.asciz	"no-sdio"

	.comm	_MMC_CAP2_NO_SDIO,4,2           ; @MMC_CAP2_NO_SDIO
l_.str.37:                              ; @.str.37
	.asciz	"no-sd"

	.comm	_MMC_CAP2_NO_SD,4,2             ; @MMC_CAP2_NO_SD
l_.str.38:                              ; @.str.38
	.asciz	"no-mmc"

	.comm	_MMC_CAP2_NO_MMC,4,2            ; @MMC_CAP2_NO_MMC
l_.str.39:                              ; @.str.39
	.asciz	"fixed-emmc-driver-type"

l_.str.40:                              ; @.str.40
	.asciz	"can't use fixed driver type, media is removable\n"

l_.str.41:                              ; @.str.41
	.asciz	"dsr"

l_.str.42:                              ; @.str.42
	.asciz	"device tree specified broken value for DSR: 0x%x, ignoring\n"

l_.str.43:                              ; @.str.43
	.asciz	"post-power-on-delay-ms"

.subsections_via_symbols
