	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usdhi6_probe
_usdhi6_probe:                          ## @usdhi6_probe
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	callq	_platform_get_irq_byname
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_platform_get_irq_byname
	movl	%eax, %r13d
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_platform_get_irq_byname
	testl	%r13d, %r13d
	js	LBB0_1
## %bb.4:
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.5:
	movl	$72, %edi
	movq	%r14, %rsi
	callq	_mmc_alloc_host
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r12
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movl	%r15d, %ebx
	movq	%rax, %rdi
	callq	_mmc_regulator_get_supply
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_32
## %bb.8:
	movq	%r12, %rdi
	callq	_mmc_of_parse
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movq	%r12, %rdi
	callq	_mmc_priv
	movq	%rax, %r15
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, 64(%rax)
	movq	_USDHI6_WAIT_FOR_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r15)
	movl	$4000, %edi                     ## imm = 0xFA0
	callq	_msecs_to_jiffies
	movl	%eax, 56(%r15)
	movq	%r14, %rdi
	callq	_devm_pinctrl_get
	movq	%rax, 40(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	40(%r15), %rdi
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	callq	_pinctrl_lookup_state
	movq	%rax, 48(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
LBB0_15:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 24(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	24(%r15), %rdi
	jmp	LBB0_11
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_33:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	movl	%eax, %r15d
	jmp	LBB0_32
LBB0_13:
	movq	40(%r15), %rdi
	movq	_PINCTRL_STATE_DEFAULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_pinctrl_lookup_state
	movq	%rax, 32(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	32(%r15), %rdi
	jmp	LBB0_11
LBB0_17:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, 8(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	8(%r15), %rdi
	testq	%rax, %rax
	je	LBB0_18
LBB0_11:
	callq	_PTR_ERR
	movl	%eax, %r15d
LBB0_31:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_32:
	movq	%r12, %rdi
	callq	_mmc_free_host
	jmp	LBB0_33
LBB0_18:
	callq	_clk_get_rate
	movl	%eax, (%r15)
	movq	8(%r15), %rdi
	callq	_clk_prepare_enable
	movq	%r15, %rcx
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_31
## %bb.19:
	movq	_USDHI6_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_usdhi6_read
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	andl	$4095, %ecx                     ## imm = 0xFFF
	cmpl	$2573, %ecx                     ## imm = 0xA0D
	jne	LBB0_20
## %bb.21:
	movq	_USDHI6_SD_PORT_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %r15
	movq	%rdx, %rdi
	callq	_usdhi6_read
	movq	_USDHI6_SD_PORT_SEL_PORTS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_info
	movq	%r15, %rdi
	callq	_usdhi6_mask_all
	testl	%ebx, %ebx
	js	LBB0_23
## %bb.22:
	movq	_usdhi6_cd@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_dev_name
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_devm_request_irq
	testl	%eax, %eax
	jns	LBB0_24
	jmp	LBB0_29
LBB0_20:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_30
LBB0_23:
	movq	_MMC_CAP_NEEDS_POLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_24:
	movq	_usdhi6_sd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_usdhi6_sd_bh@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_dev_name
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, (%rsp)
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	movl	%eax, %r9d
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_29
## %bb.25:
	movq	_usdhi6_sdio@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_dev_name
	movq	%r14, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%rbx, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_29
## %bb.26:
	movq	%rbx, %rdi
	addq	$16, %rdi
	movq	_usdhi6_timeout_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_usdhi6_dma_request
	movq	_usdhi6_ops@GOTPCREL(%rip), %rax
	movq	%rbx, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 32(%rbx)
	movq	_MMC_CAP_SD_HIGHSPEED@GOTPCREL(%rip), %rax
	movq	_MMC_CAP_MMC_HIGHSPEED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_MMC_CAP_SDIO_IRQ@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
	movabsq	$2199023255584, %rax            ## imm = 0x20000000020
	movq	%rax, 4(%rbx)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shll	$5, %ecx
	movl	%ecx, 12(%rbx)
	leal	15(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$4, %edx
	movl	%edx, 16(%rbx)
	movl	%ecx, 20(%rbx)
	cmpl	$0, 24(%rbx)
	movl	(%rsi), %eax
	jne	LBB0_28
## %bb.27:
	movl	%eax, 24(%rbx)
LBB0_28:
	leal	511(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$9, %ecx
	movl	%ecx, 28(%rbx)
	movq	%r14, %rdi
	callq	_platform_set_drvdata
	movq	%rbx, %rdi
	callq	_mmc_add_host
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jns	LBB0_33
LBB0_29:
	movl	%eax, %r15d
LBB0_30:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"card detect"

L_.str.1:                               ## @.str.1
	.asciz	"data"

L_.str.2:                               ## @.str.2
	.asciz	"SDIO"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_USDHI6_WAIT_FOR_REQUEST,4,2    ## @USDHI6_WAIT_FOR_REQUEST
L_.str.3:                               ## @.str.3
	.asciz	"state_uhs"

	.comm	_PINCTRL_STATE_DEFAULT,8,3      ## @PINCTRL_STATE_DEFAULT
L_.str.4:                               ## @.str.4
	.asciz	"UHS pinctrl requires a default pin state.\n"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_USDHI6_VERSION,4,2             ## @USDHI6_VERSION
L_.str.5:                               ## @.str.5
	.asciz	"Version not recognized %x\n"

L_.str.6:                               ## @.str.6
	.asciz	"A USDHI6ROL0 SD host detected with %d ports\n"

	.comm	_USDHI6_SD_PORT_SEL,4,2         ## @USDHI6_SD_PORT_SEL
	.comm	_USDHI6_SD_PORT_SEL_PORTS_SHIFT,4,2 ## @USDHI6_SD_PORT_SEL_PORTS_SHIFT
	.comm	_usdhi6_cd,4,2                  ## @usdhi6_cd
	.comm	_MMC_CAP_NEEDS_POLL,4,2         ## @MMC_CAP_NEEDS_POLL
	.comm	_usdhi6_sd,4,2                  ## @usdhi6_sd
	.comm	_usdhi6_sd_bh,4,2               ## @usdhi6_sd_bh
	.comm	_usdhi6_sdio,4,2                ## @usdhi6_sdio
	.comm	_usdhi6_timeout_work,4,2        ## @usdhi6_timeout_work
	.comm	_usdhi6_ops,4,2                 ## @usdhi6_ops
	.comm	_MMC_CAP_SD_HIGHSPEED,4,2       ## @MMC_CAP_SD_HIGHSPEED
	.comm	_MMC_CAP_MMC_HIGHSPEED,4,2      ## @MMC_CAP_MMC_HIGHSPEED
	.comm	_MMC_CAP_SDIO_IRQ,4,2           ## @MMC_CAP_SDIO_IRQ
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_usdhi6_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function usdhi6_probe
lCPI0_0:
	.long	32                              ; 0x20
	.long	512                             ; 0x200
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_usdhi6_probe:                          ; @usdhi6_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_10
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_platform_get_irq_byname
	mov	x24, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_platform_get_irq_byname
	mov	x23, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_platform_get_irq_byname
	tbnz	w23, #31, LBB0_10
; %bb.2:
	mov	x22, x0
	tbnz	w0, #31, LBB0_10
; %bb.3:
	mov	w0, #72
	mov	x1, x20
	bl	_mmc_alloc_host
	cbz	x0, LBB0_13
; %bb.4:
	mov	x19, x0
	bl	_mmc_regulator_get_supply
	mov	x26, x0
	cbnz	w0, LBB0_19
; %bb.5:
	mov	x0, x19
	bl	_mmc_of_parse
	tbnz	w0, #31, LBB0_18
; %bb.6:
	mov	x0, x19
	bl	_mmc_priv
	mov	x21, x0
	str	x19, [x0, #64]
Lloh6:
	adrp	x8, _USDHI6_WAIT_FOR_REQUEST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _USDHI6_WAIT_FOR_REQUEST@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0, #60]
	mov	w0, #4000
	bl	_msecs_to_jiffies
	str	w0, [x21, #56]
	mov	x0, x20
	bl	_devm_pinctrl_get
	str	x0, [x21, #40]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x21, #40]
	cbnz	x8, LBB0_17
; %bb.7:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_pinctrl_lookup_state
	str	x0, [x21, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_14
LBB0_8:
Lloh11:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	mov	x25, x0
	mov	x0, x20
	mov	x1, x25
	bl	_devm_ioremap_resource
	str	x0, [x21, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.9:
	ldr	x0, [x21, #24]
	b	LBB0_17
LBB0_10:
Lloh14:
	adrp	x8, _ENODEV@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w26, w8
LBB0_12:
	mov	x0, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_13:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_11
LBB0_14:
	ldr	x0, [x21, #40]
Lloh18:
	adrp	x8, _PINCTRL_STATE_DEFAULT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PINCTRL_STATE_DEFAULT@GOTPAGEOFF]
Lloh20:
	ldr	x1, [x8]
	bl	_pinctrl_lookup_state
	str	x0, [x21, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.15:
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x21, #32]
	b	LBB0_17
LBB0_16:
	mov	x0, x20
	mov	x1, #0
	bl	_devm_clk_get
	str	x0, [x21, #8]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x21, #8]
	cbz	x8, LBB0_20
LBB0_17:
	bl	_PTR_ERR
LBB0_18:
	mov	x26, x0
LBB0_19:
	mov	x0, x19
	bl	_mmc_free_host
	b	LBB0_12
LBB0_20:
	bl	_clk_get_rate
	str	w0, [x21]
	ldr	x0, [x21, #8]
	bl	_clk_prepare_enable
	mov	x26, x0
	tbnz	w0, #31, LBB0_19
; %bb.21:
Lloh23:
	adrp	x8, _USDHI6_VERSION@GOTPAGE
Lloh24:
	ldr	x8, [x8, _USDHI6_VERSION@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_usdhi6_read
                                        ; kill: def $w0 killed $w0 def $x0
	and	w8, w0, #0xfff
	cmp	w8, #2573
	b.ne	LBB0_24
; %bb.22:
Lloh26:
	adrp	x8, _USDHI6_SD_PORT_SEL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _USDHI6_SD_PORT_SEL@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_usdhi6_read
Lloh29:
	adrp	x8, _USDHI6_SD_PORT_SEL_PORTS_SHIFT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _USDHI6_SD_PORT_SEL_PORTS_SHIFT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	asr	w2, w0, w8
Lloh32:
	adrp	x1, l_.str.6@PAGE
Lloh33:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	mov	x0, x21
	bl	_usdhi6_mask_all
	tbnz	w24, #31, LBB0_25
; %bb.23:
Lloh34:
	adrp	x8, _usdhi6_cd@GOTPAGE
Lloh35:
	ldr	x8, [x8, _usdhi6_cd@GOTPAGEOFF]
Lloh36:
	ldr	w26, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x4, x0
	mov	x0, x20
	mov	x1, x24
	mov	x2, x26
	mov	w3, #0
	mov	x5, x21
	bl	_devm_request_irq
	tbz	w0, #31, LBB0_26
	b	LBB0_32
LBB0_24:
	str	x0, [sp]
Lloh37:
	adrp	x1, l_.str.5@PAGE
Lloh38:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_33
LBB0_25:
Lloh39:
	adrp	x8, _MMC_CAP_NEEDS_POLL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MMC_CAP_NEEDS_POLL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_26:
Lloh42:
	adrp	x8, _usdhi6_sd@GOTPAGE
Lloh43:
	ldr	x8, [x8, _usdhi6_sd@GOTPAGEOFF]
Lloh44:
	ldr	w24, [x8]
Lloh45:
	adrp	x8, _usdhi6_sd_bh@GOTPAGE
Lloh46:
	ldr	x8, [x8, _usdhi6_sd_bh@GOTPAGEOFF]
Lloh47:
	ldr	w26, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x5, x0
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	x3, x26
	mov	w4, #0
	mov	x6, x21
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_32
; %bb.27:
Lloh48:
	adrp	x8, _usdhi6_sdio@GOTPAGE
Lloh49:
	ldr	x8, [x8, _usdhi6_sdio@GOTPAGEOFF]
Lloh50:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x4, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	w3, #0
	mov	x5, x21
	bl	_devm_request_irq
	tbnz	w0, #31, LBB0_32
; %bb.28:
	add	x0, x21, #16
Lloh51:
	adrp	x8, _usdhi6_timeout_work@GOTPAGE
Lloh52:
	ldr	x8, [x8, _usdhi6_timeout_work@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	ldr	w1, [x25]
	mov	x0, x21
	bl	_usdhi6_dma_request
Lloh54:
	adrp	x8, _usdhi6_ops@GOTPAGE
Lloh55:
	ldr	x8, [x8, _usdhi6_ops@GOTPAGEOFF]
	str	x8, [x19, #32]
Lloh56:
	adrp	x8, _MMC_CAP_SD_HIGHSPEED@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MMC_CAP_SD_HIGHSPEED@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
Lloh59:
	adrp	x9, _MMC_CAP_MMC_HIGHSPEED@GOTPAGE
Lloh60:
	ldr	x9, [x9, _MMC_CAP_MMC_HIGHSPEED@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh62:
	adrp	x9, _MMC_CAP_SDIO_IRQ@GOTPAGE
Lloh63:
	ldr	x9, [x9, _MMC_CAP_SDIO_IRQ@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
Lloh65:
	adrp	x8, lCPI0_0@PAGE
Lloh66:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
Lloh67:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh68:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
	stur	d0, [x19, #4]
Lloh69:
	ldr	w8, [x8]
	lsl	w9, w8, #5
	add	w10, w8, #15
	cmp	w8, #0
	csel	w8, w10, w8, lt
	asr	w8, w8, #4
	stp	w9, w8, [x19, #12]
	str	w9, [x19, #20]
	ldr	w9, [x19, #24]
	ldr	w8, [x21]
	cbnz	w9, LBB0_30
; %bb.29:
	str	w8, [x19, #24]
LBB0_30:
	add	w9, w8, #511
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #9
	str	w8, [x19, #28]
	mov	x0, x20
	mov	x1, x21
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_mmc_add_host
	tbnz	w0, #31, LBB0_32
; %bb.31:
	mov	w26, #0
	b	LBB0_12
LBB0_32:
	mov	x26, x0
LBB0_33:
	ldr	x0, [x21, #8]
	bl	_clk_disable_unprepare
	b	LBB0_19
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdrp	Lloh65, Lloh67
	.loh AdrpLdr	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"card detect"

l_.str.1:                               ; @.str.1
	.asciz	"data"

l_.str.2:                               ; @.str.2
	.asciz	"SDIO"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_USDHI6_WAIT_FOR_REQUEST,4,2    ; @USDHI6_WAIT_FOR_REQUEST
l_.str.3:                               ; @.str.3
	.asciz	"state_uhs"

	.comm	_PINCTRL_STATE_DEFAULT,8,3      ; @PINCTRL_STATE_DEFAULT
l_.str.4:                               ; @.str.4
	.asciz	"UHS pinctrl requires a default pin state.\n"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_USDHI6_VERSION,4,2             ; @USDHI6_VERSION
l_.str.5:                               ; @.str.5
	.asciz	"Version not recognized %x\n"

l_.str.6:                               ; @.str.6
	.asciz	"A USDHI6ROL0 SD host detected with %d ports\n"

	.comm	_USDHI6_SD_PORT_SEL,4,2         ; @USDHI6_SD_PORT_SEL
	.comm	_USDHI6_SD_PORT_SEL_PORTS_SHIFT,4,2 ; @USDHI6_SD_PORT_SEL_PORTS_SHIFT
	.comm	_usdhi6_cd,4,2                  ; @usdhi6_cd
	.comm	_MMC_CAP_NEEDS_POLL,4,2         ; @MMC_CAP_NEEDS_POLL
	.comm	_usdhi6_sd,4,2                  ; @usdhi6_sd
	.comm	_usdhi6_sd_bh,4,2               ; @usdhi6_sd_bh
	.comm	_usdhi6_sdio,4,2                ; @usdhi6_sdio
	.comm	_usdhi6_timeout_work,4,2        ; @usdhi6_timeout_work
	.comm	_usdhi6_ops,4,2                 ; @usdhi6_ops
	.comm	_MMC_CAP_SD_HIGHSPEED,4,2       ; @MMC_CAP_SD_HIGHSPEED
	.comm	_MMC_CAP_MMC_HIGHSPEED,4,2      ; @MMC_CAP_MMC_HIGHSPEED
	.comm	_MMC_CAP_SDIO_IRQ,4,2           ; @MMC_CAP_SDIO_IRQ
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_usdhi6_probe
.subsections_via_symbols
