	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hsmmc_command_incomplete
_hsmmc_command_incomplete:              ## @hsmmc_command_incomplete
	.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, %r14d
	movq	%rdi, %rbx
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	movq	_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_omap_hsmmc_reset_controller_fsm
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r14d, (%rax)
LBB0_3:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.8:
	movq	_SRD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_omap_hsmmc_reset_controller_fsm
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_omap_hsmmc_dma_cleanup         ## TAILCALL
LBB0_4:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	%r14d, (%rax)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SRC,4,2                        ## @SRC
	.comm	_SRD,4,2                        ## @SRD
	.no_dead_strip	_hsmmc_command_incomplete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hsmmc_command_incomplete
_hsmmc_command_incomplete:              ; @hsmmc_command_incomplete
	.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
	cbz	w2, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _SRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SRC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_omap_hsmmc_reset_controller_fsm
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_3
; %bb.2:
	str	w19, [x8]
LBB0_3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _SRD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SRD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_omap_hsmmc_reset_controller_fsm
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_omap_hsmmc_dma_cleanup
LBB0_5:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
	str	w19, [x8]
LBB0_8:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SRC,4,2                        ; @SRC
	.comm	_SRD,4,2                        ; @SRD
	.no_dead_strip	_hsmmc_command_incomplete
.subsections_via_symbols
