	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_execute_tuning             ## -- Begin function mmc_execute_tuning
	.p2align	4, 0x90
_mmc_execute_tuning:                    ## @mmc_execute_tuning
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	xorl	%r14d, %r14d
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r15
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_3:
	movq	%r15, %rdi
	callq	_mmc_card_mmc
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_MMC_SEND_TUNING_BLOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_MMC_SEND_TUNING_BLOCK_HS200@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_mmc_hostname
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_pr_err
	movl	%r15d, %r14d
	jmp	LBB0_9
LBB0_8:
	movq	%rbx, %rdi
	callq	_mmc_retune_enable
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_SEND_TUNING_BLOCK_HS200,4,2 ## @MMC_SEND_TUNING_BLOCK_HS200
	.comm	_MMC_SEND_TUNING_BLOCK,4,2      ## @MMC_SEND_TUNING_BLOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: tuning execution failed: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_execute_tuning             ; -- Begin function mmc_execute_tuning
	.p2align	2
_mmc_execute_tuning:                    ; @mmc_execute_tuning
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
LBB0_3:
	mov	x0, x20
	bl	_mmc_card_mmc
Lloh0:
	adrp	x8, _MMC_SEND_TUNING_BLOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMC_SEND_TUNING_BLOCK@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MMC_SEND_TUNING_BLOCK_HS200@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MMC_SEND_TUNING_BLOCK_HS200@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_mmc_hostname
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_pr_err
	b	LBB0_7
LBB0_5:
	mov	w20, #0
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_mmc_retune_enable
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_SEND_TUNING_BLOCK_HS200,4,2 ; @MMC_SEND_TUNING_BLOCK_HS200
	.comm	_MMC_SEND_TUNING_BLOCK,4,2      ; @MMC_SEND_TUNING_BLOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: tuning execution failed: %d\n"

.subsections_via_symbols
