	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_hsmmc_xfer_done
_omap_hsmmc_xfer_done:                  ## @omap_hsmmc_xfer_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.5:
	movq	$0, 8(%rdi)
	cmpq	$0, 24(%rsi)
	je	LBB0_6
## %bb.9:
	movq	$0, 32(%rsi)
	movq	16(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_10
LBB0_8:
	movq	%rax, %rsi
	xorl	%edx, %edx
	popq	%rbp
	jmp	_omap_hsmmc_start_command       ## TAILCALL
LBB0_1:
	movq	(%rdi), %rsi
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	cmpl	$6, (%rax)
	jne	LBB0_4
## %bb.3:
	cmpq	$0, 16(%rdi)
	je	LBB0_4
## %bb.11:
	movq	$0, 16(%rdi)
	popq	%rbp
	retq
LBB0_4:
	popq	%rbp
	jmp	_omap_hsmmc_request_done        ## TAILCALL
LBB0_6:
	movslq	(%rsi), %rax
	movslq	4(%rsi), %rcx
	imulq	%rax, %rcx
	addq	%rcx, 32(%rsi)
	movq	16(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	(%rdi), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_8
LBB0_10:
	movq	8(%rsi), %rsi
	popq	%rbp
	jmp	_omap_hsmmc_request_done        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_omap_hsmmc_xfer_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_hsmmc_xfer_done
_omap_hsmmc_xfer_done:                  ; @omap_hsmmc_xfer_done
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	str	xzr, [x0, #8]
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_9
; %bb.2:
	str	xzr, [x1, #32]
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_11
LBB0_3:
	mov	x1, x8
	mov	x2, #0
	b	_omap_hsmmc_start_command
LBB0_4:
	ldr	x1, [x0]
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_8
; %bb.5:
	ldr	w8, [x8]
	cmp	w8, #6
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_8
; %bb.7:
	str	xzr, [x0, #16]
	ret
LBB0_8:
	b	_omap_hsmmc_request_done
LBB0_9:
	ldpsw	x8, x9, [x1]
	ldr	x10, [x1, #32]
	madd	x8, x9, x8, x10
	str	x8, [x1, #32]
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	x9, [x0]
	ldr	w9, [x9]
	cbz	w9, LBB0_3
LBB0_11:
	ldr	x1, [x1, #8]
	b	_omap_hsmmc_request_done
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_omap_hsmmc_xfer_done
.subsections_via_symbols
