	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_decode_ext_csd
_mmc_decode_ext_csd:                    ## @mmc_decode_ext_csd
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_EXT_CSD_STRUCTURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rsi,%rax,4), %eax
	movl	%eax, 8(%rdi)
	movl	272(%rdi), %edi
	cmpl	$3, 280(%r12)
	jne	LBB0_3
## %bb.1:
	cmpl	$3, %eax
	jl	LBB0_3
## %bb.2:
	callq	_mmc_hostname
	movl	8(%r12), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_49
LBB0_3:
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_mmc_of_find_child_device
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_of_property_read_bool
	movl	%eax, %r15d
LBB0_6:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_of_node_put
	movq	_EXT_CSD_REV@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 12(%r12)
	movq	_mmc_ext_csd_fixups@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mmc_fixup_device
	movq	_EXT_CSD_SEC_CNT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movl	(%r14,%rcx,4), %ecx
	movq	16(%r12), %rdx
	movl	%ecx, (%rdx)
	movslq	(%rax), %rax
	movl	4(%r14,%rax,4), %ecx
	movl	%ecx, 4(%rdx)
	movl	8(%r14,%rax,4), %ecx
	movl	%ecx, 8(%rdx)
	movl	12(%r14,%rax,4), %ecx
	movl	%ecx, 12(%rdx)
	cmpl	$2, 12(%r12)
	jl	LBB0_9
## %bb.7:
	movl	4(%r14,%rax,4), %ecx
	shll	$8, %ecx
	orl	(%r14,%rax,4), %ecx
	movl	8(%r14,%rax,4), %edx
	shll	$16, %edx
	movl	12(%r14,%rax,4), %eax
	shll	$24, %eax
	orl	%edx, %eax
	orl	%ecx, %eax
	movl	%eax, 24(%r12)
	cmpl	$4194305, %eax                  ## imm = 0x400001
	jb	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	callq	_mmc_card_set_blockaddr
LBB0_9:
	movq	_EXT_CSD_STROBE_SUPPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 28(%r12)
	movq	_EXT_CSD_CARD_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 32(%r12)
	movq	%r12, %rdi
	callq	_mmc_select_card_type
	movq	_EXT_CSD_S_A_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	(%r14,%rcx,4), %eax
	movl	%eax, 36(%r12)
	movq	_EXT_CSD_ERASE_TIMEOUT_MULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %edx
	movl	%edx, 40(%r12)
	movq	_EXT_CSD_HC_ERASE_GRP_SIZE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%r14,%rdx,4), %esi
	movl	%esi, 44(%r12)
	cmpl	$3, 12(%r12)
	jl	LBB0_20
## %bb.10:
	movl	(%r14,%rcx,4), %esi
	movq	_EXT_CSD_PART_CONFIG@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	(%r14,%rdi,4), %edi
	movl	%edi, 48(%r12)
	movq	_EXT_CSD_PART_SWITCH_TIME@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	(%r14,%rdi,4), %ebx
	leal	(%rbx,%rbx), %edi
	leal	(%rdi,%rdi,4), %edi
	movl	%edi, 52(%r12)
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.11:
	movq	_MMC_MIN_PART_SWITCH_TIME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	cmpl	%ebx, %edi
	jge	LBB0_13
## %bb.12:
	movl	%ebx, 52(%r12)
LBB0_13:
	decl	%esi
	cmpl	$22, %esi
	ja	LBB0_15
## %bb.14:
	movb	(%r14,%rcx,4), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movl	%esi, 56(%r12)
LBB0_15:
	movq	_EXT_CSD_ERASE_GROUP_DEF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r14,%rcx,4), %ecx
	movl	%ecx, 60(%r12)
	imull	$300, (%r14,%rax,4), %eax       ## imm = 0x12C
	movl	%eax, 64(%r12)
	movl	(%r14,%rdx,4), %eax
	shll	$10, %eax
	movl	%eax, 68(%r12)
	movq	_EXT_CSD_REL_WR_SEC_C@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 72(%r12)
	movq	_EXT_CSD_BOOT_MULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%r14,%rax,4)
	je	LBB0_20
## %bb.16:
	movl	272(%r12), %edi
	callq	_mmc_boot_partition_access
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:
	movq	_MMC_NUM_BOOT_PARTITION@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_20
## %bb.18:
	xorl	%ebx, %ebx
	leaq	L_.str.3(%rip), %r13
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	_EXT_CSD_BOOT_MULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %esi
	shll	$17, %esi
	movq	_EXT_CSD_PART_CONFIG_ACC_BOOT0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%rbx, %rdx
	movq	_MMC_BLK_DATA_AREA_BOOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movq	%r13, %rcx
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_mmc_part_add
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_19
LBB0_20:
	movq	_EXT_CSD_HC_WP_GRP_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 76(%r12)
	movq	_EXT_CSD_SEC_TRIM_MULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 80(%r12)
	movq	_EXT_CSD_SEC_ERASE_MULT@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 84(%r12)
	movq	_EXT_CSD_SEC_FEATURE_SUPPORT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 88(%r12)
	movq	_EXT_CSD_TRIM_MULT@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 92(%r12)
	movq	_EXT_CSD_PARTITION_SUPPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 96(%r12)
	movq	_EXT_CSD_DRIVER_STRENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 100(%r12)
	cmpl	$4, 12(%r12)
	jl	LBB0_38
## %bb.21:
	movq	_EXT_CSD_PARTITION_SETTING_COMPLETED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EXT_CSD_PART_SETTING_COMPLETED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	andl	(%r14,%rax,4), %ecx
	setne	%dl
	movl	%edx, 104(%r12)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_mmc_manage_enhanced_area
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_mmc_manage_gp_partitions
	movq	_EXT_CSD_SEC_TRIM_MULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 108(%r12)
	movq	(%r13), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 112(%r12)
	movq	(%rbx), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 116(%r12)
	movq	(%r15), %rax
	imull	$300, (%r14,%rax,4), %eax       ## imm = 0x12C
	movl	%eax, 120(%r12)
	movq	_EXT_CSD_BOOT_WP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 124(%r12)
	movl	$1, 128(%r12)
	movq	_EXT_CSD_PWR_CL_52_195@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 132(%r12)
	movq	_EXT_CSD_PWR_CL_26_195@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 136(%r12)
	movq	_EXT_CSD_PWR_CL_52_360@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 140(%r12)
	movq	_EXT_CSD_PWR_CL_26_360@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 144(%r12)
	movq	_EXT_CSD_PWR_CL_200_195@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 148(%r12)
	movq	_EXT_CSD_PWR_CL_200_360@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 152(%r12)
	movq	_EXT_CSD_PWR_CL_DDR_52_195@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 156(%r12)
	movq	_EXT_CSD_PWR_CL_DDR_52_360@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 160(%r12)
	movq	_EXT_CSD_PWR_CL_DDR_200_360@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 164(%r12)
	cmpl	$5, 12(%r12)
	jl	LBB0_38
## %bb.22:
	movl	276(%r12), %eax
	cmpl	$2009, %eax                     ## imm = 0x7D9
	jg	LBB0_24
## %bb.23:
	addl	$16, %eax
	movl	%eax, 276(%r12)
LBB0_24:
	movq	_EXT_CSD_BKOPS_SUPPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testb	$1, (%r14,%rax,4)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_29
## %bb.25:
	movl	$1, 168(%r12)
	movq	_EXT_CSD_BKOPS_EN@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_EXT_CSD_MANUAL_BKOPS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%r14,%rax,4), %ecx
	movl	%ecx, 172(%r12)
	movq	_EXT_CSD_BKOPS_STATUS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r14,%rcx,4), %ecx
	movl	%ecx, 176(%r12)
	je	LBB0_27
## %bb.26:
	movl	272(%r12), %edi
	callq	_mmc_hostname
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	(%r15), %rax
LBB0_27:
	movq	_EXT_CSD_AUTO_BKOPS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%r14,%rax,4), %ecx
	movl	%ecx, 180(%r12)
	je	LBB0_29
## %bb.28:
	movl	272(%r12), %edi
	callq	_mmc_hostname
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_29:
	movq	%r12, %rdi
	callq	_mmc_card_broken_hpi
	orl	%ebx, %eax
	jne	LBB0_35
## %bb.30:
	movq	_EXT_CSD_HPI_FEATURES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testb	$1, (%r14,%rax,4)
	je	LBB0_35
## %bb.31:
	movl	$1, 184(%r12)
	testb	$2, (%r14,%rax,4)
	jne	LBB0_32
## %bb.33:
	movq	_MMC_SEND_STATUS@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_32:
	movq	_MMC_STOP_TRANSMISSION@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %eax
	movl	%eax, 268(%r12)
	movq	_EXT_CSD_OUT_OF_INTERRUPT_TIME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, 188(%r12)
LBB0_35:
	movq	_EXT_CSD_WR_REL_PARAM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 192(%r12)
	movq	_EXT_CSD_RST_N_FUNCTION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 196(%r12)
	movq	_EXT_CSD_RPMB_MULT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%r14,%rax,4), %ecx
	movl	%ecx, 200(%r12)
	cmpl	$0, (%r14,%rax,4)
	je	LBB0_38
## %bb.36:
	movl	272(%r12), %edi
	callq	_mmc_host_cmd23
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	movq	(%rbx), %rax
	movl	(%r14,%rax,4), %esi
	shll	$17, %esi
	movq	_EXT_CSD_PART_CONFIG_ACC_RPMB@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_MMC_BLK_DATA_AREA_RPMB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.6(%rip), %rcx
	movq	%r12, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_mmc_part_add
LBB0_38:
	movq	_EXT_CSD_ERASED_MEM_CONT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %ecx
	movl	%ecx, 204(%r12)
	movl	(%r14,%rax,4), %eax
	testl	%eax, %eax
	movl	$255, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, (%r12)
	movq	_DEFAULT_CMD6_TIMEOUT_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 208(%r12)
	movl	12(%r12), %eax
	cmpl	$6, %eax
	jl	LBB0_50
## %bb.39:
	movq	_MMC_DISCARD_FEATURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 264(%r12)
	movq	_EXT_CSD_GENERIC_CMD6_TIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r14,%rcx,4), %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	movl	%ecx, 208(%r12)
	movq	_EXT_CSD_POWER_OFF_LONG_TIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r14,%rcx,4), %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	movl	%ecx, 212(%r12)
	movq	_EXT_CSD_CACHE_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	4(%r14,%rcx,4), %edx
	movl	8(%r14,%rcx,4), %esi
	shll	$8, %edx
	orl	(%r14,%rcx,4), %edx
	shll	$16, %esi
	movl	12(%r14,%rcx,4), %ecx
	shll	$24, %ecx
	orl	%esi, %ecx
	orl	%edx, %ecx
	movl	%ecx, 216(%r12)
	movq	_EXT_CSD_DATA_SECTOR_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$1, (%r14,%rcx,4)
	movl	$4096, %ecx                     ## imm = 0x1000
	movl	$512, %edx                      ## imm = 0x200
	cmovel	%ecx, %edx
	movl	%edx, 220(%r12)
	movq	_EXT_CSD_DATA_TAG_SUPPORT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%r15d, %r15d
	testb	$1, (%r14,%rcx,4)
	movl	$0, %esi
	je	LBB0_41
## %bb.40:
	movq	_EXT_CSD_TAG_UNIT_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r14,%rcx,4), %ecx
	shll	%cl, %edx
	xorl	%esi, %esi
	cmpl	$9, %ecx
	cmovll	%edx, %esi
LBB0_41:
	movl	%esi, 224(%r12)
	movq	_EXT_CSD_MAX_PACKED_WRITES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r14,%rcx,4), %ecx
	movl	%ecx, 228(%r12)
	movq	_EXT_CSD_MAX_PACKED_READS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r14,%rcx,4), %ecx
	movl	%ecx, 232(%r12)
	cmpl	$7, %eax
	jb	LBB0_49
## %bb.42:
	movl	260(%r12), %edi
	movq	_EXT_CSD_FIRMWARE_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r14,%rax,4), %rsi
	movq	_MMC_FIRMWARE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_EXT_CSD_SUPPORTED_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r15d, %r15d
	testb	$1, (%r14,%rax,4)
	movl	$0, %eax
	je	LBB0_44
## %bb.43:
	movq	_EXT_CSD_FW_CONFIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	notl	%eax
	andl	$1, %eax
LBB0_44:
	movl	%eax, 236(%r12)
	movq	_EXT_CSD_PRE_EOL_INFO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 240(%r12)
	movq	_EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 244(%r12)
	movq	_EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%r14,%rax,4), %eax
	movl	%eax, 248(%r12)
	cmpl	$8, 12(%r12)
	jl	LBB0_49
## %bb.45:
	movq	_EXT_CSD_CMDQ_SUPPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_EXT_CSD_CMDQ_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14,%rcx,4), %eax
	movl	%eax, 252(%r12)
	movq	_EXT_CSD_CMDQ_DEPTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_EXT_CSD_CMDQ_DEPTH_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	(%r14,%rcx,4), %edx
	leal	1(%rdx), %ecx
	movl	%ecx, 256(%r12)
	cmpl	$1, %edx
	jg	LBB0_47
## %bb.46:
	movq	$0, 252(%r12)
	jmp	LBB0_49
LBB0_50:
	movl	$512, 220(%r12)                 ## imm = 0x200
	xorl	%r15d, %r15d
LBB0_49:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_47:
	testl	%eax, %eax
	je	LBB0_49
## %bb.48:
	movl	272(%r12), %edi
	callq	_mmc_hostname
	movl	256(%r12), %edx
	leaq	L_.str.7(%rip), %rdi
	xorl	%r15d, %r15d
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_49
	.cfi_endproc
                                        ## -- End function
	.comm	_EXT_CSD_STRUCTURE,8,3          ## @EXT_CSD_STRUCTURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: unrecognised EXT_CSD structure version %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"mmc-card"

L_.str.2:                               ## @.str.2
	.asciz	"broken-hpi"

	.comm	_EXT_CSD_REV,8,3                ## @EXT_CSD_REV
	.comm	_mmc_ext_csd_fixups,4,2         ## @mmc_ext_csd_fixups
	.comm	_EXT_CSD_SEC_CNT,4,2            ## @EXT_CSD_SEC_CNT
	.comm	_EXT_CSD_STROBE_SUPPORT,8,3     ## @EXT_CSD_STROBE_SUPPORT
	.comm	_EXT_CSD_CARD_TYPE,8,3          ## @EXT_CSD_CARD_TYPE
	.comm	_EXT_CSD_S_A_TIMEOUT,8,3        ## @EXT_CSD_S_A_TIMEOUT
	.comm	_EXT_CSD_ERASE_TIMEOUT_MULT,8,3 ## @EXT_CSD_ERASE_TIMEOUT_MULT
	.comm	_EXT_CSD_HC_ERASE_GRP_SIZE,8,3  ## @EXT_CSD_HC_ERASE_GRP_SIZE
	.comm	_EXT_CSD_PART_CONFIG,8,3        ## @EXT_CSD_PART_CONFIG
	.comm	_EXT_CSD_PART_SWITCH_TIME,8,3   ## @EXT_CSD_PART_SWITCH_TIME
	.comm	_MMC_MIN_PART_SWITCH_TIME,4,2   ## @MMC_MIN_PART_SWITCH_TIME
	.comm	_EXT_CSD_ERASE_GROUP_DEF,8,3    ## @EXT_CSD_ERASE_GROUP_DEF
	.comm	_EXT_CSD_REL_WR_SEC_C,8,3       ## @EXT_CSD_REL_WR_SEC_C
	.comm	_EXT_CSD_BOOT_MULT,8,3          ## @EXT_CSD_BOOT_MULT
	.comm	_MMC_NUM_BOOT_PARTITION,4,2     ## @MMC_NUM_BOOT_PARTITION
	.comm	_EXT_CSD_PART_CONFIG_ACC_BOOT0,8,3 ## @EXT_CSD_PART_CONFIG_ACC_BOOT0
L_.str.3:                               ## @.str.3
	.asciz	"boot%d"

	.comm	_MMC_BLK_DATA_AREA_BOOT,4,2     ## @MMC_BLK_DATA_AREA_BOOT
	.comm	_EXT_CSD_HC_WP_GRP_SIZE,8,3     ## @EXT_CSD_HC_WP_GRP_SIZE
	.comm	_EXT_CSD_SEC_TRIM_MULT,8,3      ## @EXT_CSD_SEC_TRIM_MULT
	.comm	_EXT_CSD_SEC_ERASE_MULT,8,3     ## @EXT_CSD_SEC_ERASE_MULT
	.comm	_EXT_CSD_SEC_FEATURE_SUPPORT,8,3 ## @EXT_CSD_SEC_FEATURE_SUPPORT
	.comm	_EXT_CSD_TRIM_MULT,8,3          ## @EXT_CSD_TRIM_MULT
	.comm	_EXT_CSD_PARTITION_SUPPORT,8,3  ## @EXT_CSD_PARTITION_SUPPORT
	.comm	_EXT_CSD_DRIVER_STRENGTH,8,3    ## @EXT_CSD_DRIVER_STRENGTH
	.comm	_EXT_CSD_PARTITION_SETTING_COMPLETED,8,3 ## @EXT_CSD_PARTITION_SETTING_COMPLETED
	.comm	_EXT_CSD_PART_SETTING_COMPLETED,4,2 ## @EXT_CSD_PART_SETTING_COMPLETED
	.comm	_EXT_CSD_BOOT_WP,8,3            ## @EXT_CSD_BOOT_WP
	.comm	_EXT_CSD_PWR_CL_52_195,8,3      ## @EXT_CSD_PWR_CL_52_195
	.comm	_EXT_CSD_PWR_CL_26_195,8,3      ## @EXT_CSD_PWR_CL_26_195
	.comm	_EXT_CSD_PWR_CL_52_360,8,3      ## @EXT_CSD_PWR_CL_52_360
	.comm	_EXT_CSD_PWR_CL_26_360,8,3      ## @EXT_CSD_PWR_CL_26_360
	.comm	_EXT_CSD_PWR_CL_200_195,8,3     ## @EXT_CSD_PWR_CL_200_195
	.comm	_EXT_CSD_PWR_CL_200_360,8,3     ## @EXT_CSD_PWR_CL_200_360
	.comm	_EXT_CSD_PWR_CL_DDR_52_195,8,3  ## @EXT_CSD_PWR_CL_DDR_52_195
	.comm	_EXT_CSD_PWR_CL_DDR_52_360,8,3  ## @EXT_CSD_PWR_CL_DDR_52_360
	.comm	_EXT_CSD_PWR_CL_DDR_200_360,8,3 ## @EXT_CSD_PWR_CL_DDR_200_360
	.comm	_EXT_CSD_BKOPS_SUPPORT,8,3      ## @EXT_CSD_BKOPS_SUPPORT
	.comm	_EXT_CSD_BKOPS_EN,8,3           ## @EXT_CSD_BKOPS_EN
	.comm	_EXT_CSD_MANUAL_BKOPS_MASK,4,2  ## @EXT_CSD_MANUAL_BKOPS_MASK
	.comm	_EXT_CSD_BKOPS_STATUS,8,3       ## @EXT_CSD_BKOPS_STATUS
L_.str.4:                               ## @.str.4
	.asciz	"%s: MAN_BKOPS_EN bit is set\n"

	.comm	_EXT_CSD_AUTO_BKOPS_MASK,4,2    ## @EXT_CSD_AUTO_BKOPS_MASK
L_.str.5:                               ## @.str.5
	.asciz	"%s: AUTO_BKOPS_EN bit is set\n"

	.comm	_EXT_CSD_HPI_FEATURES,8,3       ## @EXT_CSD_HPI_FEATURES
	.comm	_MMC_STOP_TRANSMISSION,4,2      ## @MMC_STOP_TRANSMISSION
	.comm	_MMC_SEND_STATUS,4,2            ## @MMC_SEND_STATUS
	.comm	_EXT_CSD_OUT_OF_INTERRUPT_TIME,8,3 ## @EXT_CSD_OUT_OF_INTERRUPT_TIME
	.comm	_EXT_CSD_WR_REL_PARAM,8,3       ## @EXT_CSD_WR_REL_PARAM
	.comm	_EXT_CSD_RST_N_FUNCTION,8,3     ## @EXT_CSD_RST_N_FUNCTION
	.comm	_EXT_CSD_RPMB_MULT,8,3          ## @EXT_CSD_RPMB_MULT
	.comm	_EXT_CSD_PART_CONFIG_ACC_RPMB,8,3 ## @EXT_CSD_PART_CONFIG_ACC_RPMB
L_.str.6:                               ## @.str.6
	.asciz	"rpmb"

	.comm	_MMC_BLK_DATA_AREA_RPMB,4,2     ## @MMC_BLK_DATA_AREA_RPMB
	.comm	_EXT_CSD_ERASED_MEM_CONT,8,3    ## @EXT_CSD_ERASED_MEM_CONT
	.comm	_DEFAULT_CMD6_TIMEOUT_MS,4,2    ## @DEFAULT_CMD6_TIMEOUT_MS
	.comm	_MMC_DISCARD_FEATURE,4,2        ## @MMC_DISCARD_FEATURE
	.comm	_EXT_CSD_GENERIC_CMD6_TIME,8,3  ## @EXT_CSD_GENERIC_CMD6_TIME
	.comm	_EXT_CSD_POWER_OFF_LONG_TIME,8,3 ## @EXT_CSD_POWER_OFF_LONG_TIME
	.comm	_EXT_CSD_CACHE_SIZE,4,2         ## @EXT_CSD_CACHE_SIZE
	.comm	_EXT_CSD_DATA_SECTOR_SIZE,8,3   ## @EXT_CSD_DATA_SECTOR_SIZE
	.comm	_EXT_CSD_DATA_TAG_SUPPORT,8,3   ## @EXT_CSD_DATA_TAG_SUPPORT
	.comm	_EXT_CSD_TAG_UNIT_SIZE,8,3      ## @EXT_CSD_TAG_UNIT_SIZE
	.comm	_EXT_CSD_MAX_PACKED_WRITES,8,3  ## @EXT_CSD_MAX_PACKED_WRITES
	.comm	_EXT_CSD_MAX_PACKED_READS,8,3   ## @EXT_CSD_MAX_PACKED_READS
	.comm	_EXT_CSD_FIRMWARE_VERSION,8,3   ## @EXT_CSD_FIRMWARE_VERSION
	.comm	_MMC_FIRMWARE_LEN,4,2           ## @MMC_FIRMWARE_LEN
	.comm	_EXT_CSD_SUPPORTED_MODE,8,3     ## @EXT_CSD_SUPPORTED_MODE
	.comm	_EXT_CSD_FW_CONFIG,8,3          ## @EXT_CSD_FW_CONFIG
	.comm	_EXT_CSD_PRE_EOL_INFO,8,3       ## @EXT_CSD_PRE_EOL_INFO
	.comm	_EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A,8,3 ## @EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A
	.comm	_EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B,8,3 ## @EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B
	.comm	_EXT_CSD_CMDQ_SUPPORT,8,3       ## @EXT_CSD_CMDQ_SUPPORT
	.comm	_EXT_CSD_CMDQ_SUPPORTED,4,2     ## @EXT_CSD_CMDQ_SUPPORTED
	.comm	_EXT_CSD_CMDQ_DEPTH,8,3         ## @EXT_CSD_CMDQ_DEPTH
	.comm	_EXT_CSD_CMDQ_DEPTH_MASK,4,2    ## @EXT_CSD_CMDQ_DEPTH_MASK
L_.str.7:                               ## @.str.7
	.asciz	"%s: Command Queue supported depth %u\n"

	.no_dead_strip	_mmc_decode_ext_csd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_decode_ext_csd
_mmc_decode_ext_csd:                    ; @mmc_decode_ext_csd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _EXT_CSD_STRUCTURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXT_CSD_STRUCTURE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x1, x8, lsl #2]
	str	w8, [x0, #8]
	ldr	w9, [x0, #280]
	ldr	w0, [x0, #272]
	cmp	w9, #3
	ccmp	w8, #3, #8, eq
	b.ge	LBB0_4
; %bb.1:
	mov	x20, x1
	mov	w1, #0
	bl	_mmc_of_find_child_device
	mov	x22, x0
	cbz	x0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_of_device_is_compatible
	cbz	x0, LBB0_5
; %bb.3:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_of_property_read_bool
	mov	x21, x0
	b	LBB0_6
LBB0_4:
	bl	_mmc_hostname
	mov	x1, x0
	ldr	w2, [x19, #8]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_50
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x22
	bl	_of_node_put
Lloh12:
	adrp	x8, _EXT_CSD_REV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EXT_CSD_REV@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #12]
Lloh15:
	adrp	x8, _mmc_ext_csd_fixups@GOTPAGE
Lloh16:
	ldr	x8, [x8, _mmc_ext_csd_fixups@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mmc_fixup_device
Lloh18:
	adrp	x8, _EXT_CSD_SEC_CNT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EXT_CSD_SEC_CNT@GOTPAGEOFF]
	ldrsw	x9, [x8]
	ldr	w9, [x20, x9, lsl #2]
	ldr	x12, [x19, #16]
	str	w9, [x12]
	ldrsw	x8, [x8]
	add	x9, x8, #1
	ldr	w10, [x20, x9, lsl #2]
	str	w10, [x12, #4]
	add	x10, x8, #2
	ldr	w11, [x20, x10, lsl #2]
	str	w11, [x12, #8]
	add	x11, x8, #3
	ldr	w13, [x20, x11, lsl #2]
	str	w13, [x12, #12]
	ldr	w12, [x19, #12]
	cmp	w12, #2
	b.lt	LBB0_9
; %bb.7:
	ldr	w8, [x20, x8, lsl #2]
	ldr	w9, [x20, x9, lsl #2]
	orr	w8, w8, w9, lsl #8
	ldr	w9, [x20, x10, lsl #2]
	orr	w8, w8, w9, lsl #16
	ldr	w9, [x20, x11, lsl #2]
	orr	w8, w8, w9, lsl #24
	str	w8, [x19, #24]
	cmp	w8, #1024, lsl #12              ; =4194304
	b.ls	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_mmc_card_set_blockaddr
LBB0_9:
Lloh20:
	adrp	x8, _EXT_CSD_STROBE_SUPPORT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EXT_CSD_STROBE_SUPPORT@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #28]
Lloh23:
	adrp	x8, _EXT_CSD_CARD_TYPE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EXT_CSD_CARD_TYPE@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #32]
	mov	x0, x19
	bl	_mmc_select_card_type
Lloh26:
	adrp	x8, _EXT_CSD_S_A_TIMEOUT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EXT_CSD_S_A_TIMEOUT@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x8]
	ldr	w8, [x20, x10, lsl #2]
	str	w8, [x19, #36]
Lloh29:
	adrp	x8, _EXT_CSD_ERASE_TIMEOUT_MULT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EXT_CSD_ERASE_TIMEOUT_MULT@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldr	w9, [x20, x8, lsl #2]
	str	w9, [x19, #40]
Lloh32:
	adrp	x9, _EXT_CSD_HC_ERASE_GRP_SIZE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _EXT_CSD_HC_ERASE_GRP_SIZE@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	ldr	w11, [x20, x9, lsl #2]
	str	w11, [x19, #44]
	ldr	w11, [x19, #12]
	cmp	w11, #2
	b.le	LBB0_20
; %bb.10:
	ldr	w11, [x20, x10, lsl #2]
Lloh35:
	adrp	x12, _EXT_CSD_PART_CONFIG@GOTPAGE
Lloh36:
	ldr	x12, [x12, _EXT_CSD_PART_CONFIG@GOTPAGEOFF]
Lloh37:
	ldr	x12, [x12]
	ldr	w12, [x20, x12, lsl #2]
	str	w12, [x19, #48]
Lloh38:
	adrp	x12, _EXT_CSD_PART_SWITCH_TIME@GOTPAGE
Lloh39:
	ldr	x12, [x12, _EXT_CSD_PART_SWITCH_TIME@GOTPAGEOFF]
Lloh40:
	ldr	x12, [x12]
	ldr	w13, [x20, x12, lsl #2]
	add	w12, w13, w13, lsl #2
	lsl	w12, w12, #1
	str	w12, [x19, #52]
	cbz	w13, LBB0_13
; %bb.11:
Lloh41:
	adrp	x13, _MMC_MIN_PART_SWITCH_TIME@GOTPAGE
Lloh42:
	ldr	x13, [x13, _MMC_MIN_PART_SWITCH_TIME@GOTPAGEOFF]
Lloh43:
	ldr	w13, [x13]
	cmp	w12, w13
	b.ge	LBB0_13
; %bb.12:
	str	w13, [x19, #52]
LBB0_13:
	sub	w11, w11, #1
	cmp	w11, #22
	b.hi	LBB0_15
; %bb.14:
	ldr	w10, [x20, x10, lsl #2]
	mov	w11, #1
	lsl	w10, w11, w10
	str	w10, [x19, #56]
LBB0_15:
Lloh44:
	adrp	x10, _EXT_CSD_ERASE_GROUP_DEF@GOTPAGE
Lloh45:
	ldr	x10, [x10, _EXT_CSD_ERASE_GROUP_DEF@GOTPAGEOFF]
Lloh46:
	ldr	x10, [x10]
	ldr	w10, [x20, x10, lsl #2]
	str	w10, [x19, #60]
	ldr	w8, [x20, x8, lsl #2]
	mov	w10, #300
	mul	w8, w8, w10
	str	w8, [x19, #64]
	ldr	w8, [x20, x9, lsl #2]
	lsl	w8, w8, #10
	str	w8, [x19, #68]
Lloh47:
	adrp	x8, _EXT_CSD_REL_WR_SEC_C@GOTPAGE
Lloh48:
	ldr	x8, [x8, _EXT_CSD_REL_WR_SEC_C@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #72]
Lloh50:
	adrp	x24, _EXT_CSD_BOOT_MULT@GOTPAGE
Lloh51:
	ldr	x24, [x24, _EXT_CSD_BOOT_MULT@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	w8, [x20, x8, lsl #2]
	cbz	w8, LBB0_20
; %bb.16:
	ldr	w0, [x19, #272]
	bl	_mmc_boot_partition_access
	cbz	x0, LBB0_20
; %bb.17:
Lloh52:
	adrp	x25, _MMC_NUM_BOOT_PARTITION@GOTPAGE
Lloh53:
	ldr	x25, [x25, _MMC_NUM_BOOT_PARTITION@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.18:
	mov	x22, #0
Lloh54:
	adrp	x26, _EXT_CSD_PART_CONFIG_ACC_BOOT0@GOTPAGE
Lloh55:
	ldr	x26, [x26, _EXT_CSD_PART_CONFIG_ACC_BOOT0@GOTPAGEOFF]
Lloh56:
	adrp	x27, _MMC_BLK_DATA_AREA_BOOT@GOTPAGE
Lloh57:
	ldr	x27, [x27, _MMC_BLK_DATA_AREA_BOOT@GOTPAGEOFF]
Lloh58:
	adrp	x23, l_.str.3@PAGE
Lloh59:
	add	x23, x23, l_.str.3@PAGEOFF
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	w8, [x20, x8, lsl #2]
	lsl	w1, w8, #17
	ldr	x8, [x26]
	add	x2, x22, x8
	ldr	w6, [x27]
	mov	x0, x19
	mov	x3, x23
	mov	x4, x22
	mov	w5, #1
	bl	_mmc_part_add
	add	x22, x22, #1
	ldrsw	x8, [x25]
	cmp	x22, x8
	b.lt	LBB0_19
LBB0_20:
Lloh60:
	adrp	x8, _EXT_CSD_HC_WP_GRP_SIZE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _EXT_CSD_HC_WP_GRP_SIZE@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #76]
Lloh63:
	adrp	x22, _EXT_CSD_SEC_TRIM_MULT@GOTPAGE
Lloh64:
	ldr	x22, [x22, _EXT_CSD_SEC_TRIM_MULT@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #80]
Lloh65:
	adrp	x23, _EXT_CSD_SEC_ERASE_MULT@GOTPAGE
Lloh66:
	ldr	x23, [x23, _EXT_CSD_SEC_ERASE_MULT@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #84]
Lloh67:
	adrp	x24, _EXT_CSD_SEC_FEATURE_SUPPORT@GOTPAGE
Lloh68:
	ldr	x24, [x24, _EXT_CSD_SEC_FEATURE_SUPPORT@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #88]
Lloh69:
	adrp	x25, _EXT_CSD_TRIM_MULT@GOTPAGE
Lloh70:
	ldr	x25, [x25, _EXT_CSD_TRIM_MULT@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #92]
Lloh71:
	adrp	x8, _EXT_CSD_PARTITION_SUPPORT@GOTPAGE
Lloh72:
	ldr	x8, [x8, _EXT_CSD_PARTITION_SUPPORT@GOTPAGEOFF]
Lloh73:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #96]
Lloh74:
	adrp	x8, _EXT_CSD_DRIVER_STRENGTH@GOTPAGE
Lloh75:
	ldr	x8, [x8, _EXT_CSD_DRIVER_STRENGTH@GOTPAGEOFF]
Lloh76:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #100]
	ldr	w8, [x19, #12]
	cmp	w8, #4
	b.lt	LBB0_35
; %bb.21:
Lloh77:
	adrp	x8, _EXT_CSD_PARTITION_SETTING_COMPLETED@GOTPAGE
Lloh78:
	ldr	x8, [x8, _EXT_CSD_PARTITION_SETTING_COMPLETED@GOTPAGEOFF]
Lloh79:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
Lloh80:
	adrp	x9, _EXT_CSD_PART_SETTING_COMPLETED@GOTPAGE
Lloh81:
	ldr	x9, [x9, _EXT_CSD_PART_SETTING_COMPLETED@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19, #104]
	mov	x0, x19
	mov	x1, x20
	bl	_mmc_manage_enhanced_area
	mov	x0, x19
	mov	x1, x20
	bl	_mmc_manage_gp_partitions
	ldr	x8, [x22]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #108]
	ldr	x8, [x23]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #112]
	ldr	x8, [x24]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #116]
	ldr	x8, [x25]
	ldr	w8, [x20, x8, lsl #2]
	mov	w9, #300
	mul	w8, w8, w9
	str	w8, [x19, #120]
Lloh83:
	adrp	x8, _EXT_CSD_BOOT_WP@GOTPAGE
Lloh84:
	ldr	x8, [x8, _EXT_CSD_BOOT_WP@GOTPAGEOFF]
Lloh85:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	mov	w9, #1
	stp	w8, w9, [x19, #124]
Lloh86:
	adrp	x8, _EXT_CSD_PWR_CL_52_195@GOTPAGE
Lloh87:
	ldr	x8, [x8, _EXT_CSD_PWR_CL_52_195@GOTPAGEOFF]
Lloh88:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #132]
Lloh89:
	adrp	x8, _EXT_CSD_PWR_CL_26_195@GOTPAGE
Lloh90:
	ldr	x8, [x8, _EXT_CSD_PWR_CL_26_195@GOTPAGEOFF]
Lloh91:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #136]
Lloh92:
	adrp	x8, _EXT_CSD_PWR_CL_52_360@GOTPAGE
Lloh93:
	ldr	x8, [x8, _EXT_CSD_PWR_CL_52_360@GOTPAGEOFF]
Lloh94:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #140]
Lloh95:
	adrp	x8, _EXT_CSD_PWR_CL_26_360@GOTPAGE
Lloh96:
	ldr	x8, [x8, _EXT_CSD_PWR_CL_26_360@GOTPAGEOFF]
Lloh97:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #144]
Lloh98:
	adrp	x8, _EXT_CSD_PWR_CL_200_195@GOTPAGE
Lloh99:
	ldr	x8, [x8, _EXT_CSD_PWR_CL_200_195@GOTPAGEOFF]
Lloh100:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #148]
Lloh101:
	adrp	x8, _EXT_CSD_PWR_CL_200_360@GOTPAGE
Lloh102:
	ldr	x8, [x8, _EXT_CSD_PWR_CL_200_360@GOTPAGEOFF]
Lloh103:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #152]
Lloh104:
	adrp	x8, _EXT_CSD_PWR_CL_DDR_52_195@GOTPAGE
Lloh105:
	ldr	x8, [x8, _EXT_CSD_PWR_CL_DDR_52_195@GOTPAGEOFF]
Lloh106:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #156]
Lloh107:
	adrp	x8, _EXT_CSD_PWR_CL_DDR_52_360@GOTPAGE
Lloh108:
	ldr	x8, [x8, _EXT_CSD_PWR_CL_DDR_52_360@GOTPAGEOFF]
Lloh109:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #160]
Lloh110:
	adrp	x8, _EXT_CSD_PWR_CL_DDR_200_360@GOTPAGE
Lloh111:
	ldr	x8, [x8, _EXT_CSD_PWR_CL_DDR_200_360@GOTPAGEOFF]
Lloh112:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #164]
	ldr	w8, [x19, #12]
	cmp	w8, #5
	b.lt	LBB0_35
; %bb.22:
	ldr	w8, [x19, #276]
	cmp	w8, #2009
	b.gt	LBB0_24
; %bb.23:
	add	w8, w8, #16
	str	w8, [x19, #276]
LBB0_24:
Lloh113:
	adrp	x8, _EXT_CSD_BKOPS_SUPPORT@GOTPAGE
Lloh114:
	ldr	x8, [x8, _EXT_CSD_BKOPS_SUPPORT@GOTPAGEOFF]
Lloh115:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	tbz	w8, #0, LBB0_29
; %bb.25:
	mov	w8, #1
	str	w8, [x19, #168]
Lloh116:
	adrp	x22, _EXT_CSD_BKOPS_EN@GOTPAGE
Lloh117:
	ldr	x22, [x22, _EXT_CSD_BKOPS_EN@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w9, [x20, x8, lsl #2]
Lloh118:
	adrp	x10, _EXT_CSD_MANUAL_BKOPS_MASK@GOTPAGE
Lloh119:
	ldr	x10, [x10, _EXT_CSD_MANUAL_BKOPS_MASK@GOTPAGEOFF]
Lloh120:
	ldr	w10, [x10]
	ands	w9, w10, w9
	str	w9, [x19, #172]
Lloh121:
	adrp	x9, _EXT_CSD_BKOPS_STATUS@GOTPAGE
Lloh122:
	ldr	x9, [x9, _EXT_CSD_BKOPS_STATUS@GOTPAGEOFF]
Lloh123:
	ldr	x9, [x9]
	ldr	w9, [x20, x9, lsl #2]
	str	w9, [x19, #176]
	b.eq	LBB0_27
; %bb.26:
	ldr	w0, [x19, #272]
	bl	_mmc_hostname
	mov	x1, x0
Lloh124:
	adrp	x0, l_.str.4@PAGE
Lloh125:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x22]
LBB0_27:
	ldr	w8, [x20, x8, lsl #2]
Lloh126:
	adrp	x9, _EXT_CSD_AUTO_BKOPS_MASK@GOTPAGE
Lloh127:
	ldr	x9, [x9, _EXT_CSD_AUTO_BKOPS_MASK@GOTPAGEOFF]
Lloh128:
	ldr	w9, [x9]
	ands	w8, w9, w8
	str	w8, [x19, #180]
	b.eq	LBB0_29
; %bb.28:
	ldr	w0, [x19, #272]
	bl	_mmc_hostname
	mov	x1, x0
Lloh129:
	adrp	x0, l_.str.5@PAGE
Lloh130:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_debug
LBB0_29:
	mov	x0, x19
	bl	_mmc_card_broken_hpi
	orr	w8, w0, w21
	cbnz	w8, LBB0_32
; %bb.30:
Lloh131:
	adrp	x8, _EXT_CSD_HPI_FEATURES@GOTPAGE
Lloh132:
	ldr	x8, [x8, _EXT_CSD_HPI_FEATURES@GOTPAGEOFF]
Lloh133:
	ldr	x8, [x8]
	ldr	w9, [x20, x8, lsl #2]
	tbz	w9, #0, LBB0_32
; %bb.31:
	mov	w9, #1
	str	w9, [x19, #184]
	ldr	w8, [x20, x8, lsl #2]
Lloh134:
	adrp	x9, _MMC_SEND_STATUS@GOTPAGE
Lloh135:
	ldr	x9, [x9, _MMC_SEND_STATUS@GOTPAGEOFF]
Lloh136:
	adrp	x10, _MMC_STOP_TRANSMISSION@GOTPAGE
Lloh137:
	ldr	x10, [x10, _MMC_STOP_TRANSMISSION@GOTPAGEOFF]
	tst	w8, #0x2
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [x19, #268]
Lloh138:
	adrp	x8, _EXT_CSD_OUT_OF_INTERRUPT_TIME@GOTPAGE
Lloh139:
	ldr	x8, [x8, _EXT_CSD_OUT_OF_INTERRUPT_TIME@GOTPAGEOFF]
Lloh140:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	str	w8, [x19, #188]
LBB0_32:
Lloh141:
	adrp	x8, _EXT_CSD_WR_REL_PARAM@GOTPAGE
Lloh142:
	ldr	x8, [x8, _EXT_CSD_WR_REL_PARAM@GOTPAGEOFF]
Lloh143:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #192]
Lloh144:
	adrp	x8, _EXT_CSD_RST_N_FUNCTION@GOTPAGE
Lloh145:
	ldr	x8, [x8, _EXT_CSD_RST_N_FUNCTION@GOTPAGEOFF]
Lloh146:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #196]
Lloh147:
	adrp	x21, _EXT_CSD_RPMB_MULT@GOTPAGE
Lloh148:
	ldr	x21, [x21, _EXT_CSD_RPMB_MULT@GOTPAGEOFF]
	ldr	x8, [x21]
	lsl	x8, x8, #2
	ldr	w9, [x20, x8]
	str	w9, [x19, #200]
	ldr	w8, [x20, x8]
	cbz	w8, LBB0_35
; %bb.33:
	ldr	w0, [x19, #272]
	bl	_mmc_host_cmd23
	cbz	x0, LBB0_35
; %bb.34:
	ldr	x8, [x21]
	ldr	w8, [x20, x8, lsl #2]
	lsl	w1, w8, #17
Lloh149:
	adrp	x8, _EXT_CSD_PART_CONFIG_ACC_RPMB@GOTPAGE
Lloh150:
	ldr	x8, [x8, _EXT_CSD_PART_CONFIG_ACC_RPMB@GOTPAGEOFF]
Lloh151:
	ldr	x2, [x8]
Lloh152:
	adrp	x8, _MMC_BLK_DATA_AREA_RPMB@GOTPAGE
Lloh153:
	ldr	x8, [x8, _MMC_BLK_DATA_AREA_RPMB@GOTPAGEOFF]
Lloh154:
	ldr	w6, [x8]
Lloh155:
	adrp	x3, l_.str.6@PAGE
Lloh156:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w4, #0
	mov	w5, #0
	bl	_mmc_part_add
LBB0_35:
Lloh157:
	adrp	x8, _EXT_CSD_ERASED_MEM_CONT@GOTPAGE
Lloh158:
	ldr	x8, [x8, _EXT_CSD_ERASED_MEM_CONT@GOTPAGEOFF]
Lloh159:
	ldr	x8, [x8]
	lsl	x8, x8, #2
	ldr	w9, [x20, x8]
	str	w9, [x19, #204]
	ldr	w8, [x20, x8]
	mov	w9, #255
	cmp	w8, #0
	csel	w8, wzr, w9, eq
	str	w8, [x19]
Lloh160:
	adrp	x8, _DEFAULT_CMD6_TIMEOUT_MS@GOTPAGE
Lloh161:
	ldr	x8, [x8, _DEFAULT_CMD6_TIMEOUT_MS@GOTPAGEOFF]
Lloh162:
	ldr	w8, [x8]
	str	w8, [x19, #208]
	ldr	w8, [x19, #12]
	cmp	w8, #5
	b.le	LBB0_38
; %bb.36:
Lloh163:
	adrp	x9, _MMC_DISCARD_FEATURE@GOTPAGE
Lloh164:
	ldr	x9, [x9, _MMC_DISCARD_FEATURE@GOTPAGEOFF]
Lloh165:
	ldr	w9, [x9]
	ldr	w10, [x19, #264]
	orr	w9, w10, w9
Lloh166:
	adrp	x10, _EXT_CSD_GENERIC_CMD6_TIME@GOTPAGE
Lloh167:
	ldr	x10, [x10, _EXT_CSD_GENERIC_CMD6_TIME@GOTPAGEOFF]
	str	w9, [x19, #264]
Lloh168:
	ldr	x9, [x10]
	ldr	w9, [x20, x9, lsl #2]
	add	w9, w9, w9, lsl #2
	lsl	w9, w9, #1
	str	w9, [x19, #208]
Lloh169:
	adrp	x9, _EXT_CSD_POWER_OFF_LONG_TIME@GOTPAGE
Lloh170:
	ldr	x9, [x9, _EXT_CSD_POWER_OFF_LONG_TIME@GOTPAGEOFF]
Lloh171:
	ldr	x9, [x9]
	ldr	w9, [x20, x9, lsl #2]
	add	w9, w9, w9, lsl #2
	lsl	w9, w9, #1
	str	w9, [x19, #212]
Lloh172:
	adrp	x9, _EXT_CSD_CACHE_SIZE@GOTPAGE
Lloh173:
	ldr	x9, [x9, _EXT_CSD_CACHE_SIZE@GOTPAGEOFF]
Lloh174:
	ldrsw	x9, [x9]
	ldr	w10, [x20, x9, lsl #2]
	add	w11, w9, #1
	ldr	w11, [x20, w11, sxtw #2]
	orr	w10, w10, w11, lsl #8
	add	w11, w9, #2
	ldr	w11, [x20, w11, sxtw #2]
	add	w9, w9, #3
	ldr	w9, [x20, w9, sxtw #2]
	orr	w10, w10, w11, lsl #16
	orr	w9, w10, w9, lsl #24
	str	w9, [x19, #216]
Lloh175:
	adrp	x9, _EXT_CSD_DATA_SECTOR_SIZE@GOTPAGE
Lloh176:
	ldr	x9, [x9, _EXT_CSD_DATA_SECTOR_SIZE@GOTPAGEOFF]
Lloh177:
	ldr	x9, [x9]
	ldr	w9, [x20, x9, lsl #2]
	mov	w10, #512
	mov	w11, #4096
	cmp	w9, #1
	csel	w9, w11, w10, eq
	str	w9, [x19, #220]
Lloh178:
	adrp	x10, _EXT_CSD_DATA_TAG_SUPPORT@GOTPAGE
Lloh179:
	ldr	x10, [x10, _EXT_CSD_DATA_TAG_SUPPORT@GOTPAGEOFF]
Lloh180:
	ldr	x10, [x10]
	ldr	w10, [x20, x10, lsl #2]
	tbnz	w10, #0, LBB0_39
; %bb.37:
	mov	w9, #0
	b	LBB0_40
LBB0_38:
	mov	w0, #0
	mov	w8, #512
	str	w8, [x19, #220]
	b	LBB0_50
LBB0_39:
Lloh181:
	adrp	x10, _EXT_CSD_TAG_UNIT_SIZE@GOTPAGE
Lloh182:
	ldr	x10, [x10, _EXT_CSD_TAG_UNIT_SIZE@GOTPAGEOFF]
Lloh183:
	ldr	x10, [x10]
	ldr	w10, [x20, x10, lsl #2]
	lsl	w9, w9, w10
	cmp	w10, #9
	csel	w9, w9, wzr, lt
LBB0_40:
Lloh184:
	adrp	x10, _EXT_CSD_MAX_PACKED_WRITES@GOTPAGE
Lloh185:
	ldr	x10, [x10, _EXT_CSD_MAX_PACKED_WRITES@GOTPAGEOFF]
	str	w9, [x19, #224]
Lloh186:
	ldr	x9, [x10]
	ldr	w9, [x20, x9, lsl #2]
Lloh187:
	adrp	x10, _EXT_CSD_MAX_PACKED_READS@GOTPAGE
Lloh188:
	ldr	x10, [x10, _EXT_CSD_MAX_PACKED_READS@GOTPAGEOFF]
	str	w9, [x19, #228]
Lloh189:
	ldr	x9, [x10]
	ldr	w9, [x20, x9, lsl #2]
	str	w9, [x19, #232]
	cmp	w8, #7
	b.lo	LBB0_49
; %bb.41:
Lloh190:
	adrp	x8, _EXT_CSD_FIRMWARE_VERSION@GOTPAGE
Lloh191:
	ldr	x8, [x8, _EXT_CSD_FIRMWARE_VERSION@GOTPAGEOFF]
	ldr	w0, [x19, #260]
Lloh192:
	ldr	x8, [x8]
	add	x1, x20, x8, lsl #2
Lloh193:
	adrp	x8, _MMC_FIRMWARE_LEN@GOTPAGE
Lloh194:
	ldr	x8, [x8, _MMC_FIRMWARE_LEN@GOTPAGEOFF]
Lloh195:
	ldr	w2, [x8]
	bl	_memcpy
Lloh196:
	adrp	x8, _EXT_CSD_SUPPORTED_MODE@GOTPAGE
Lloh197:
	ldr	x8, [x8, _EXT_CSD_SUPPORTED_MODE@GOTPAGEOFF]
Lloh198:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	tbnz	w8, #0, LBB0_43
; %bb.42:
	mov	w8, #0
	b	LBB0_44
LBB0_43:
Lloh199:
	adrp	x8, _EXT_CSD_FW_CONFIG@GOTPAGE
Lloh200:
	ldr	x8, [x8, _EXT_CSD_FW_CONFIG@GOTPAGEOFF]
Lloh201:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	mvn	w8, w8
	and	w8, w8, #0x1
LBB0_44:
	str	w8, [x19, #236]
Lloh202:
	adrp	x8, _EXT_CSD_PRE_EOL_INFO@GOTPAGE
Lloh203:
	ldr	x8, [x8, _EXT_CSD_PRE_EOL_INFO@GOTPAGEOFF]
Lloh204:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #240]
Lloh205:
	adrp	x8, _EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A@GOTPAGE
Lloh206:
	ldr	x8, [x8, _EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A@GOTPAGEOFF]
Lloh207:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #244]
Lloh208:
	adrp	x8, _EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B@GOTPAGE
Lloh209:
	ldr	x8, [x8, _EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B@GOTPAGEOFF]
Lloh210:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #248]
	ldr	w8, [x19, #12]
	cmp	w8, #8
	b.lt	LBB0_49
; %bb.45:
Lloh211:
	adrp	x8, _EXT_CSD_CMDQ_SUPPORT@GOTPAGE
Lloh212:
	ldr	x8, [x8, _EXT_CSD_CMDQ_SUPPORT@GOTPAGEOFF]
Lloh213:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
Lloh214:
	adrp	x9, _EXT_CSD_CMDQ_SUPPORTED@GOTPAGE
Lloh215:
	ldr	x9, [x9, _EXT_CSD_CMDQ_SUPPORTED@GOTPAGEOFF]
Lloh216:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh217:
	adrp	x9, _EXT_CSD_CMDQ_DEPTH@GOTPAGE
Lloh218:
	ldr	x9, [x9, _EXT_CSD_CMDQ_DEPTH@GOTPAGEOFF]
	str	w8, [x19, #252]
Lloh219:
	ldr	x9, [x9]
	ldr	w9, [x20, x9, lsl #2]
Lloh220:
	adrp	x10, _EXT_CSD_CMDQ_DEPTH_MASK@GOTPAGE
Lloh221:
	ldr	x10, [x10, _EXT_CSD_CMDQ_DEPTH_MASK@GOTPAGEOFF]
Lloh222:
	ldr	w10, [x10]
	and	w9, w10, w9
	add	w10, w9, #1
	str	w10, [x19, #256]
	cmp	w9, #1
	b.gt	LBB0_47
; %bb.46:
	mov	w0, #0
	stp	wzr, wzr, [x19, #252]
	b	LBB0_50
LBB0_47:
	cbz	w8, LBB0_49
; %bb.48:
	ldr	w0, [x19, #272]
	bl	_mmc_hostname
	mov	x1, x0
	ldr	w8, [x19, #256]
	str	x8, [sp]
Lloh223:
	adrp	x0, l_.str.7@PAGE
Lloh224:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_debug
LBB0_49:
	mov	w0, #0
LBB0_50:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGot	Lloh116, Lloh117
	.loh AdrpAdd	Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpAdd	Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGot	Lloh136, Lloh137
	.loh AdrpLdrGot	Lloh134, Lloh135
	.loh AdrpLdrGot	Lloh147, Lloh148
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpAdd	Lloh155, Lloh156
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.loh AdrpLdrGotLdr	Lloh149, Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh160, Lloh161, Lloh162
	.loh AdrpLdrGotLdr	Lloh157, Lloh158, Lloh159
	.loh AdrpLdrGotLdr	Lloh178, Lloh179, Lloh180
	.loh AdrpLdrGotLdr	Lloh175, Lloh176, Lloh177
	.loh AdrpLdrGotLdr	Lloh172, Lloh173, Lloh174
	.loh AdrpLdrGotLdr	Lloh169, Lloh170, Lloh171
	.loh AdrpLdrGotLdr	Lloh166, Lloh167, Lloh168
	.loh AdrpLdrGotLdr	Lloh163, Lloh164, Lloh165
	.loh AdrpLdrGotLdr	Lloh181, Lloh182, Lloh183
	.loh AdrpLdrGotLdr	Lloh187, Lloh188, Lloh189
	.loh AdrpLdrGotLdr	Lloh184, Lloh185, Lloh186
	.loh AdrpLdrGotLdr	Lloh196, Lloh197, Lloh198
	.loh AdrpLdrGotLdr	Lloh193, Lloh194, Lloh195
	.loh AdrpLdrGotLdr	Lloh190, Lloh191, Lloh192
	.loh AdrpLdrGotLdr	Lloh199, Lloh200, Lloh201
	.loh AdrpLdrGotLdr	Lloh208, Lloh209, Lloh210
	.loh AdrpLdrGotLdr	Lloh205, Lloh206, Lloh207
	.loh AdrpLdrGotLdr	Lloh202, Lloh203, Lloh204
	.loh AdrpLdrGotLdr	Lloh220, Lloh221, Lloh222
	.loh AdrpLdrGotLdr	Lloh217, Lloh218, Lloh219
	.loh AdrpLdrGotLdr	Lloh214, Lloh215, Lloh216
	.loh AdrpLdrGotLdr	Lloh211, Lloh212, Lloh213
	.loh AdrpAdd	Lloh223, Lloh224
	.cfi_endproc
                                        ; -- End function
	.comm	_EXT_CSD_STRUCTURE,8,3          ; @EXT_CSD_STRUCTURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: unrecognised EXT_CSD structure version %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"mmc-card"

l_.str.2:                               ; @.str.2
	.asciz	"broken-hpi"

	.comm	_EXT_CSD_REV,8,3                ; @EXT_CSD_REV
	.comm	_mmc_ext_csd_fixups,4,2         ; @mmc_ext_csd_fixups
	.comm	_EXT_CSD_SEC_CNT,4,2            ; @EXT_CSD_SEC_CNT
	.comm	_EXT_CSD_STROBE_SUPPORT,8,3     ; @EXT_CSD_STROBE_SUPPORT
	.comm	_EXT_CSD_CARD_TYPE,8,3          ; @EXT_CSD_CARD_TYPE
	.comm	_EXT_CSD_S_A_TIMEOUT,8,3        ; @EXT_CSD_S_A_TIMEOUT
	.comm	_EXT_CSD_ERASE_TIMEOUT_MULT,8,3 ; @EXT_CSD_ERASE_TIMEOUT_MULT
	.comm	_EXT_CSD_HC_ERASE_GRP_SIZE,8,3  ; @EXT_CSD_HC_ERASE_GRP_SIZE
	.comm	_EXT_CSD_PART_CONFIG,8,3        ; @EXT_CSD_PART_CONFIG
	.comm	_EXT_CSD_PART_SWITCH_TIME,8,3   ; @EXT_CSD_PART_SWITCH_TIME
	.comm	_MMC_MIN_PART_SWITCH_TIME,4,2   ; @MMC_MIN_PART_SWITCH_TIME
	.comm	_EXT_CSD_ERASE_GROUP_DEF,8,3    ; @EXT_CSD_ERASE_GROUP_DEF
	.comm	_EXT_CSD_REL_WR_SEC_C,8,3       ; @EXT_CSD_REL_WR_SEC_C
	.comm	_EXT_CSD_BOOT_MULT,8,3          ; @EXT_CSD_BOOT_MULT
	.comm	_MMC_NUM_BOOT_PARTITION,4,2     ; @MMC_NUM_BOOT_PARTITION
	.comm	_EXT_CSD_PART_CONFIG_ACC_BOOT0,8,3 ; @EXT_CSD_PART_CONFIG_ACC_BOOT0
l_.str.3:                               ; @.str.3
	.asciz	"boot%d"

	.comm	_MMC_BLK_DATA_AREA_BOOT,4,2     ; @MMC_BLK_DATA_AREA_BOOT
	.comm	_EXT_CSD_HC_WP_GRP_SIZE,8,3     ; @EXT_CSD_HC_WP_GRP_SIZE
	.comm	_EXT_CSD_SEC_TRIM_MULT,8,3      ; @EXT_CSD_SEC_TRIM_MULT
	.comm	_EXT_CSD_SEC_ERASE_MULT,8,3     ; @EXT_CSD_SEC_ERASE_MULT
	.comm	_EXT_CSD_SEC_FEATURE_SUPPORT,8,3 ; @EXT_CSD_SEC_FEATURE_SUPPORT
	.comm	_EXT_CSD_TRIM_MULT,8,3          ; @EXT_CSD_TRIM_MULT
	.comm	_EXT_CSD_PARTITION_SUPPORT,8,3  ; @EXT_CSD_PARTITION_SUPPORT
	.comm	_EXT_CSD_DRIVER_STRENGTH,8,3    ; @EXT_CSD_DRIVER_STRENGTH
	.comm	_EXT_CSD_PARTITION_SETTING_COMPLETED,8,3 ; @EXT_CSD_PARTITION_SETTING_COMPLETED
	.comm	_EXT_CSD_PART_SETTING_COMPLETED,4,2 ; @EXT_CSD_PART_SETTING_COMPLETED
	.comm	_EXT_CSD_BOOT_WP,8,3            ; @EXT_CSD_BOOT_WP
	.comm	_EXT_CSD_PWR_CL_52_195,8,3      ; @EXT_CSD_PWR_CL_52_195
	.comm	_EXT_CSD_PWR_CL_26_195,8,3      ; @EXT_CSD_PWR_CL_26_195
	.comm	_EXT_CSD_PWR_CL_52_360,8,3      ; @EXT_CSD_PWR_CL_52_360
	.comm	_EXT_CSD_PWR_CL_26_360,8,3      ; @EXT_CSD_PWR_CL_26_360
	.comm	_EXT_CSD_PWR_CL_200_195,8,3     ; @EXT_CSD_PWR_CL_200_195
	.comm	_EXT_CSD_PWR_CL_200_360,8,3     ; @EXT_CSD_PWR_CL_200_360
	.comm	_EXT_CSD_PWR_CL_DDR_52_195,8,3  ; @EXT_CSD_PWR_CL_DDR_52_195
	.comm	_EXT_CSD_PWR_CL_DDR_52_360,8,3  ; @EXT_CSD_PWR_CL_DDR_52_360
	.comm	_EXT_CSD_PWR_CL_DDR_200_360,8,3 ; @EXT_CSD_PWR_CL_DDR_200_360
	.comm	_EXT_CSD_BKOPS_SUPPORT,8,3      ; @EXT_CSD_BKOPS_SUPPORT
	.comm	_EXT_CSD_BKOPS_EN,8,3           ; @EXT_CSD_BKOPS_EN
	.comm	_EXT_CSD_MANUAL_BKOPS_MASK,4,2  ; @EXT_CSD_MANUAL_BKOPS_MASK
	.comm	_EXT_CSD_BKOPS_STATUS,8,3       ; @EXT_CSD_BKOPS_STATUS
l_.str.4:                               ; @.str.4
	.asciz	"%s: MAN_BKOPS_EN bit is set\n"

	.comm	_EXT_CSD_AUTO_BKOPS_MASK,4,2    ; @EXT_CSD_AUTO_BKOPS_MASK
l_.str.5:                               ; @.str.5
	.asciz	"%s: AUTO_BKOPS_EN bit is set\n"

	.comm	_EXT_CSD_HPI_FEATURES,8,3       ; @EXT_CSD_HPI_FEATURES
	.comm	_MMC_STOP_TRANSMISSION,4,2      ; @MMC_STOP_TRANSMISSION
	.comm	_MMC_SEND_STATUS,4,2            ; @MMC_SEND_STATUS
	.comm	_EXT_CSD_OUT_OF_INTERRUPT_TIME,8,3 ; @EXT_CSD_OUT_OF_INTERRUPT_TIME
	.comm	_EXT_CSD_WR_REL_PARAM,8,3       ; @EXT_CSD_WR_REL_PARAM
	.comm	_EXT_CSD_RST_N_FUNCTION,8,3     ; @EXT_CSD_RST_N_FUNCTION
	.comm	_EXT_CSD_RPMB_MULT,8,3          ; @EXT_CSD_RPMB_MULT
	.comm	_EXT_CSD_PART_CONFIG_ACC_RPMB,8,3 ; @EXT_CSD_PART_CONFIG_ACC_RPMB
l_.str.6:                               ; @.str.6
	.asciz	"rpmb"

	.comm	_MMC_BLK_DATA_AREA_RPMB,4,2     ; @MMC_BLK_DATA_AREA_RPMB
	.comm	_EXT_CSD_ERASED_MEM_CONT,8,3    ; @EXT_CSD_ERASED_MEM_CONT
	.comm	_DEFAULT_CMD6_TIMEOUT_MS,4,2    ; @DEFAULT_CMD6_TIMEOUT_MS
	.comm	_MMC_DISCARD_FEATURE,4,2        ; @MMC_DISCARD_FEATURE
	.comm	_EXT_CSD_GENERIC_CMD6_TIME,8,3  ; @EXT_CSD_GENERIC_CMD6_TIME
	.comm	_EXT_CSD_POWER_OFF_LONG_TIME,8,3 ; @EXT_CSD_POWER_OFF_LONG_TIME
	.comm	_EXT_CSD_CACHE_SIZE,4,2         ; @EXT_CSD_CACHE_SIZE
	.comm	_EXT_CSD_DATA_SECTOR_SIZE,8,3   ; @EXT_CSD_DATA_SECTOR_SIZE
	.comm	_EXT_CSD_DATA_TAG_SUPPORT,8,3   ; @EXT_CSD_DATA_TAG_SUPPORT
	.comm	_EXT_CSD_TAG_UNIT_SIZE,8,3      ; @EXT_CSD_TAG_UNIT_SIZE
	.comm	_EXT_CSD_MAX_PACKED_WRITES,8,3  ; @EXT_CSD_MAX_PACKED_WRITES
	.comm	_EXT_CSD_MAX_PACKED_READS,8,3   ; @EXT_CSD_MAX_PACKED_READS
	.comm	_EXT_CSD_FIRMWARE_VERSION,8,3   ; @EXT_CSD_FIRMWARE_VERSION
	.comm	_MMC_FIRMWARE_LEN,4,2           ; @MMC_FIRMWARE_LEN
	.comm	_EXT_CSD_SUPPORTED_MODE,8,3     ; @EXT_CSD_SUPPORTED_MODE
	.comm	_EXT_CSD_FW_CONFIG,8,3          ; @EXT_CSD_FW_CONFIG
	.comm	_EXT_CSD_PRE_EOL_INFO,8,3       ; @EXT_CSD_PRE_EOL_INFO
	.comm	_EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A,8,3 ; @EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A
	.comm	_EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B,8,3 ; @EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B
	.comm	_EXT_CSD_CMDQ_SUPPORT,8,3       ; @EXT_CSD_CMDQ_SUPPORT
	.comm	_EXT_CSD_CMDQ_SUPPORTED,4,2     ; @EXT_CSD_CMDQ_SUPPORTED
	.comm	_EXT_CSD_CMDQ_DEPTH,8,3         ; @EXT_CSD_CMDQ_DEPTH
	.comm	_EXT_CSD_CMDQ_DEPTH_MASK,4,2    ; @EXT_CSD_CMDQ_DEPTH_MASK
l_.str.7:                               ; @.str.7
	.asciz	"%s: Command Queue supported depth %u\n"

	.no_dead_strip	_mmc_decode_ext_csd
.subsections_via_symbols
