	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function via_sdc_cmd_isr
_via_sdc_cmd_isr:                       ## @via_sdc_cmd_isr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testl	%esi, %esi
	sete	%dil
	callq	_BUG_ON
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	_VIA_CRDR_SDSTS_CRTO@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rdx
	jmp	LBB0_6
LBB0_10:
	movl	16(%r14), %edi
	callq	_mmc_hostname
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_3:
	movq	_VIA_CRDR_SDSTS_SC@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_4
## %bb.5:
	movq	_EILSEQ@GOTPCREL(%rip), %rdx
LBB0_6:
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	movl	%ecx, (%rax)
	testl	%ecx, %ecx
	je	LBB0_8
LBB0_11:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tasklet_schedule               ## TAILCALL
LBB0_4:
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jne	LBB0_11
LBB0_8:
	movq	_VIA_CRDR_SDSTS_CRD@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.12:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_via_sdc_finish_command         ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Got command interrupt 0x%x even though no command operation was in progress.\n"

	.comm	_VIA_CRDR_SDSTS_CRTO,4,2        ## @VIA_CRDR_SDSTS_CRTO
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_VIA_CRDR_SDSTS_SC,4,2          ## @VIA_CRDR_SDSTS_SC
	.comm	_EILSEQ,4,2                     ## @EILSEQ
	.comm	_VIA_CRDR_SDSTS_CRD,4,2         ## @VIA_CRDR_SDSTS_CRD
	.no_dead_strip	_via_sdc_cmd_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function via_sdc_cmd_isr
_via_sdc_cmd_isr:                       ; @via_sdc_cmd_isr
	.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
	mov	x19, x1
	mov	x20, x0
	cmp	w1, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _VIA_CRDR_SDSTS_CRTO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VIA_CRDR_SDSTS_CRTO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, _ETIMEDOUT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETIMEDOUT@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	ldr	w0, [x20, #16]
	bl	_mmc_hostname
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_err
LBB0_4:
Lloh7:
	adrp	x9, _VIA_CRDR_SDSTS_SC@GOTPAGE
Lloh8:
	ldr	x9, [x9, _VIA_CRDR_SDSTS_SC@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_8
; %bb.5:
Lloh10:
	adrp	x9, _EILSEQ@GOTPAGE
Lloh11:
	ldr	x9, [x9, _EILSEQ@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	neg	w9, w9
	str	w9, [x8]
	cbz	w9, LBB0_9
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tasklet_schedule
LBB0_8:
	ldr	w9, [x8]
	cbnz	w9, LBB0_7
LBB0_9:
Lloh12:
	adrp	x8, _VIA_CRDR_SDSTS_CRD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VIA_CRDR_SDSTS_CRD@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_via_sdc_finish_command
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Got command interrupt 0x%x even though no command operation was in progress.\n"

	.comm	_VIA_CRDR_SDSTS_CRTO,4,2        ; @VIA_CRDR_SDSTS_CRTO
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_VIA_CRDR_SDSTS_SC,4,2          ; @VIA_CRDR_SDSTS_SC
	.comm	_EILSEQ,4,2                     ; @EILSEQ
	.comm	_VIA_CRDR_SDSTS_CRD,4,2         ; @VIA_CRDR_SDSTS_CRD
	.no_dead_strip	_via_sdc_cmd_isr
.subsections_via_symbols
