	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function renesas_sdhi_sys_dmac_issue_tasklet_fn
_renesas_sdhi_sys_dmac_issue_tasklet_fn: ## @renesas_sdhi_sys_dmac_issue_tasklet_fn
	.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
	movq	%rdi, %rbx
	callq	_spin_lock_irq
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_MMC_DATA_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	testl	%ecx, (%rax)
	setne	%dl
	movq	8(%rbx,%rdx,8), %r14
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	movq	_TMIO_STAT_DATAEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tmio_mmc_enable_mmc_irqs
	testq	%r14, %r14
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dma_async_issue_pending        ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_DATA_READ,4,2              ## @MMC_DATA_READ
	.comm	_TMIO_STAT_DATAEND,4,2          ## @TMIO_STAT_DATAEND
	.no_dead_strip	_renesas_sdhi_sys_dmac_issue_tasklet_fn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function renesas_sdhi_sys_dmac_issue_tasklet_fn
_renesas_sdhi_sys_dmac_issue_tasklet_fn: ; @renesas_sdhi_sys_dmac_issue_tasklet_fn
	.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, x0
	bl	_spin_lock_irq
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _MMC_DATA_READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_DATA_READ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #16
	mov	w9, #8
	csel	x8, x9, x8, eq
	ldr	x20, [x19, x8]
	b	LBB0_3
LBB0_2:
	mov	x20, #0
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock_irq
Lloh3:
	adrp	x8, _TMIO_STAT_DATAEND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TMIO_STAT_DATAEND@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tmio_mmc_enable_mmc_irqs
	cbz	x20, LBB0_5
; %bb.4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dma_async_issue_pending
LBB0_5:
	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	_MMC_DATA_READ,4,2              ; @MMC_DATA_READ
	.comm	_TMIO_STAT_DATAEND,4,2          ; @TMIO_STAT_DATAEND
	.no_dead_strip	_renesas_sdhi_sys_dmac_issue_tasklet_fn
.subsections_via_symbols
