	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mic_dma_issue_pending
_mic_dma_issue_pending:                 ## @mic_dma_issue_pending
	.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
	callq	_to_mic_dma_chan
	movq	%rax, %rbx
	leaq	16(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movq	8(%rbx), %rax
	cmpq	%rax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	callq	_wmb
	movq	_MIC_DMA_REG_DHPR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_mic_dma_write_reg
LBB0_2:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MIC_DMA_REG_DHPR,4,2           ## @MIC_DMA_REG_DHPR
	.no_dead_strip	_mic_dma_issue_pending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mic_dma_issue_pending
_mic_dma_issue_pending:                 ; @mic_dma_issue_pending
	.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
	bl	_to_mic_dma_chan
	mov	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_spin_lock
	ldp	x9, x8, [x20]
	cmp	x9, x8
	b.eq	LBB0_2
; %bb.1:
	str	x8, [x20]
	bl	_wmb
Lloh0:
	adrp	x8, _MIC_DMA_REG_DHPR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIC_DMA_REG_DHPR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x2, [x20]
	mov	x0, x20
	bl	_mic_dma_write_reg
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MIC_DMA_REG_DHPR,4,2           ; @MIC_DMA_REG_DHPR
	.no_dead_strip	_mic_dma_issue_pending
.subsections_via_symbols
