	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dwc_chan_pause
_dwc_chan_pause:                        ## @dwc_chan_pause
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	4(%rdi), %edi
	callq	_to_dw_dma
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	*(%rax)
	movq	_CFG_LO@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_channel_readl
	movq	_DWC_CFGL_FIFO_EMPTY@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	jne	LBB0_4
## %bb.1:
	movl	$-19, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$2, %edi
	callq	_udelay
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_channel_readl
	testl	%eax, (%r15)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %eax
	testl	%ebx, %ebx
	movl	%eax, %ebx
	jne	LBB0_2
LBB0_4:
	movq	_DW_DMA_IS_PAUSED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CFG_LO,4,2                     ## @CFG_LO
	.comm	_DWC_CFGL_FIFO_EMPTY,4,2        ## @DWC_CFGL_FIFO_EMPTY
	.comm	_DW_DMA_IS_PAUSED,4,2           ## @DW_DMA_IS_PAUSED
	.no_dead_strip	_dwc_chan_pause
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dwc_chan_pause
_dwc_chan_pause:                        ; @dwc_chan_pause
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_to_dw_dma
	ldr	x8, [x0]
	mov	x0, x19
	mov	x1, x20
	blr	x8
Lloh0:
	adrp	x20, _CFG_LO@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CFG_LO@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_channel_readl
Lloh2:
	adrp	x21, _DWC_CFGL_FIFO_EMPTY@GOTPAGE
Lloh3:
	ldr	x21, [x21, _DWC_CFGL_FIFO_EMPTY@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w0
	b.ne	LBB0_3
; %bb.1:
	mov	w22, #-19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #2
	bl	_udelay
	ldr	w1, [x20]
	mov	x0, x19
	bl	_channel_readl
	ldr	w8, [x21]
	and	w8, w8, w0
	cmp	w8, #0
	ccmp	w22, #0, #4, eq
	add	w22, w22, #1
	b.ne	LBB0_2
LBB0_3:
Lloh4:
	adrp	x8, _DW_DMA_IS_PAUSED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DW_DMA_IS_PAUSED@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_set_bit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CFG_LO,4,2                     ; @CFG_LO
	.comm	_DWC_CFGL_FIFO_EMPTY,4,2        ; @DWC_CFGL_FIFO_EMPTY
	.comm	_DW_DMA_IS_PAUSED,4,2           ; @DW_DMA_IS_PAUSED
	.no_dead_strip	_dwc_chan_pause
.subsections_via_symbols
