	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sa11x0_dma_suspend
_sa11x0_dma_suspend:                    ## @sa11x0_dma_suspend
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_dev_get_drvdata
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_NR_PHY_CHAN@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.1:
	movl	$24, %r13d
	xorl	%r14d, %r14d
	movq	_DMA_DCSR_R@GOTPCREL(%rip), %r12
	movq	_DCSR_RUN@GOTPCREL(%rip), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_DMA_DBSA@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	%rcx, %r12
	callq	_readl_relaxed
	movq	(%r15,%r13), %rcx
	movq	%rax, (%rcx)
	movq	_DMA_DBTA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	-16(%r15,%r13), %rdi
	callq	_readl_relaxed
	movq	-8(%r15,%r13), %rcx
	movq	%rax, (%rcx)
	movq	_DMA_DBSB@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	-16(%r15,%r13), %rdi
	callq	_readl_relaxed
	movq	(%r15,%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	_DMA_DBTB@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	-16(%r15,%r13), %rdi
	callq	_readl_relaxed
	movq	-8(%r15,%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	_DCSR_STRTB@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
	movq	_DCSR_STRTA@GOTPCREL(%rip), %rsi
	orl	(%rsi), %eax
	andl	%r12d, %eax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_DMA_DCSR_R@GOTPCREL(%rip), %r12
	orl	%ebx, %eax
	movl	%eax, -24(%r15,%r13)
	movl	(%rdi), %edi
	orl	(%rsi), %edi
	movq	_DMA_DCSR_C@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	-16(%r15,%r13), %rsi
	callq	_writel
	incq	%r14
	movq	_NR_PHY_CHAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$32, %r13
	cmpq	%rax, %r14
	movq	_DCSR_RUN@GOTPCREL(%rip), %rbx
	jae	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r15
	movq	(%r12), %rdi
	addq	-16(%r15,%r13), %rdi
	callq	_readl_relaxed
	movq	%r12, %rcx
	movq	%rax, %r12
	movq	%rbx, %r14
	movl	(%rbx), %ebx
	testl	%r12d, %ebx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DCSR_IE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_DMA_DCSR_C@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	-16(%r15,%r13), %rsi
	movl	%ebx, %edi
	movq	%rcx, %rbx
	callq	_writel
	movq	(%rbx), %rdi
	addq	-16(%r15,%r13), %rdi
	callq	_readl_relaxed
	movq	%rax, %rcx
	movq	_DCSR_IE@GOTPCREL(%rip), %rax
	movl	(%r14), %ebx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %ecx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	_DCSR_IE@GOTPCREL(%rip), %rax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	(%rax), %ebx
	andl	%r12d, %ebx
	movq	-16(%r15,%r13), %rdi
	movq	_DCSR_BIU@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DMA_DBSB@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	%rcx, %r12
	callq	_readl_relaxed
	movq	(%r15,%r13), %rcx
	movq	%rax, (%rcx)
	movq	_DMA_DBTB@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	-16(%r15,%r13), %rdi
	callq	_readl_relaxed
	movq	-8(%r15,%r13), %rcx
	movq	%rax, (%rcx)
	movq	_DMA_DBSA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	-16(%r15,%r13), %rdi
	callq	_readl_relaxed
	movq	(%r15,%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	_DMA_DBTA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	-16(%r15,%r13), %rdi
	callq	_readl_relaxed
	movq	-8(%r15,%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	_DCSR_STRTA@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ecx
	movl	%ecx, %edx
	andl	%r12d, %edx
	movq	_DCSR_STRTB@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
	cmovnel	%eax, %edx
	andl	%r12d, %eax
	cmovnel	%ecx, %eax
	orl	%edx, %eax
	jmp	LBB0_8
LBB0_9:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NR_PHY_CHAN,4,2                ## @NR_PHY_CHAN
	.comm	_DMA_DCSR_R,8,3                 ## @DMA_DCSR_R
	.comm	_DCSR_RUN,4,2                   ## @DCSR_RUN
	.comm	_DCSR_IE,4,2                    ## @DCSR_IE
	.comm	_DMA_DCSR_C,8,3                 ## @DMA_DCSR_C
	.comm	_DCSR_BIU,4,2                   ## @DCSR_BIU
	.comm	_DMA_DBSB,8,3                   ## @DMA_DBSB
	.comm	_DMA_DBTB,8,3                   ## @DMA_DBTB
	.comm	_DMA_DBSA,8,3                   ## @DMA_DBSA
	.comm	_DMA_DBTA,8,3                   ## @DMA_DBTA
	.comm	_DCSR_STRTA,4,2                 ## @DCSR_STRTA
	.comm	_DCSR_STRTB,4,2                 ## @DCSR_STRTB
	.no_dead_strip	_sa11x0_dma_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sa11x0_dma_suspend
_sa11x0_dma_suspend:                    ; @sa11x0_dma_suspend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_dev_get_drvdata
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _NR_PHY_CHAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NR_PHY_CHAN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x23, #0
	mov	x24, #0
Lloh3:
	adrp	x21, _DMA_DCSR_R@GOTPAGE
Lloh4:
	ldr	x21, [x21, _DMA_DCSR_R@GOTPAGEOFF]
Lloh5:
	adrp	x22, _DCSR_RUN@GOTPAGE
Lloh6:
	ldr	x22, [x22, _DCSR_RUN@GOTPAGEOFF]
Lloh7:
	adrp	x19, _DCSR_IE@GOTPAGE
Lloh8:
	ldr	x19, [x19, _DCSR_IE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh9:
	adrp	x9, _DMA_DBSA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DMA_DBSA@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	add	x22, x27, x23
	ldr	x8, [x22, #24]
	str	x0, [x8]
	ldr	x8, [x26, #8]
Lloh12:
	adrp	x9, _DMA_DBTA@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DMA_DBTA@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	ldr	x8, [x22, #16]
	str	x0, [x8]
	ldr	x8, [x26, #8]
Lloh15:
	adrp	x9, _DMA_DBSB@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DMA_DBSB@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	ldr	x8, [x22, #24]
	str	x0, [x8, #8]
	ldr	x8, [x26, #8]
Lloh18:
	adrp	x9, _DMA_DBTB@GOTPAGE
Lloh19:
	ldr	x9, [x9, _DMA_DBTB@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	ldr	x8, [x22, #16]
Lloh21:
	adrp	x22, _DCSR_RUN@GOTPAGE
Lloh22:
	ldr	x22, [x22, _DCSR_RUN@GOTPAGEOFF]
	str	x0, [x8, #8]
Lloh23:
	adrp	x11, _DCSR_STRTA@GOTPAGE
Lloh24:
	ldr	x11, [x11, _DCSR_STRTA@GOTPAGEOFF]
	ldr	w8, [x11]
Lloh25:
	adrp	x12, _DCSR_STRTB@GOTPAGE
Lloh26:
	ldr	x12, [x12, _DCSR_STRTB@GOTPAGEOFF]
	ldr	w9, [x12]
	orr	w8, w9, w8
	and	w8, w8, w21
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh27:
	adrp	x21, _DMA_DCSR_R@GOTPAGE
Lloh28:
	ldr	x21, [x21, _DMA_DCSR_R@GOTPAGEOFF]
	orr	w9, w19, w25
	and	w9, w9, w20
	orr	w8, w8, w9
	str	w8, [x27, x23]
	ldr	w8, [x11]
	ldr	w9, [x12]
	orr	w0, w9, w8
	ldr	x8, [x26, #8]
Lloh29:
	adrp	x9, _DMA_DCSR_C@GOTPAGE
Lloh30:
	ldr	x9, [x9, _DMA_DCSR_C@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	add	x24, x24, #1
Lloh32:
	adrp	x8, _NR_PHY_CHAN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NR_PHY_CHAN@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	add	x23, x23, #32
	cmp	x24, x8
	mov	x19, x28
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x27, [x8]
	add	x26, x27, x23
	ldr	x8, [x26, #8]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x20, x0
	ldr	w25, [x22]
	tst	w25, w20
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	orr	w0, w8, w25
	ldr	x8, [x26, #8]
Lloh35:
	adrp	x9, _DMA_DCSR_C@GOTPAGE
Lloh36:
	ldr	x9, [x9, _DMA_DCSR_C@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x26, #8]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x21, x0
	ldr	w25, [x22]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x20
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x19
	ldr	w19, [x19]
Lloh38:
	adrp	x8, _DCSR_BIU@GOTPAGE
Lloh39:
	ldr	x8, [x8, _DCSR_BIU@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x8]
	ldr	x8, [x26, #8]
	tst	w9, w21
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh41:
	adrp	x9, _DMA_DBSB@GOTPAGE
Lloh42:
	ldr	x9, [x9, _DMA_DBSB@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	add	x22, x27, x23
	ldr	x8, [x22, #24]
	str	x0, [x8]
	ldr	x8, [x26, #8]
Lloh44:
	adrp	x9, _DMA_DBTB@GOTPAGE
Lloh45:
	ldr	x9, [x9, _DMA_DBTB@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	ldr	x8, [x22, #16]
	str	x0, [x8]
	ldr	x8, [x26, #8]
Lloh47:
	adrp	x9, _DMA_DBSA@GOTPAGE
Lloh48:
	ldr	x9, [x9, _DMA_DBSA@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	ldr	x8, [x22, #24]
	str	x0, [x8, #8]
	ldr	x8, [x26, #8]
Lloh50:
	adrp	x9, _DMA_DBTA@GOTPAGE
Lloh51:
	ldr	x9, [x9, _DMA_DBTA@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	ldr	x8, [x22, #16]
Lloh53:
	adrp	x22, _DCSR_RUN@GOTPAGE
Lloh54:
	ldr	x22, [x22, _DCSR_RUN@GOTPAGEOFF]
	str	x0, [x8, #8]
Lloh55:
	adrp	x11, _DCSR_STRTA@GOTPAGE
Lloh56:
	ldr	x11, [x11, _DCSR_STRTA@GOTPAGEOFF]
	ldr	w8, [x11]
Lloh57:
	adrp	x12, _DCSR_STRTB@GOTPAGE
Lloh58:
	ldr	x12, [x12, _DCSR_STRTB@GOTPAGEOFF]
	ldr	w9, [x12]
	tst	w8, w21
	csel	w10, wzr, w9, eq
	tst	w9, w21
	csel	w8, wzr, w8, eq
	orr	w8, w8, w10
	b	LBB0_3
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_NR_PHY_CHAN,4,2                ; @NR_PHY_CHAN
	.comm	_DMA_DCSR_R,8,3                 ; @DMA_DCSR_R
	.comm	_DCSR_RUN,4,2                   ; @DCSR_RUN
	.comm	_DCSR_IE,4,2                    ; @DCSR_IE
	.comm	_DMA_DCSR_C,8,3                 ; @DMA_DCSR_C
	.comm	_DCSR_BIU,4,2                   ; @DCSR_BIU
	.comm	_DMA_DBSB,8,3                   ; @DMA_DBSB
	.comm	_DMA_DBTB,8,3                   ; @DMA_DBTB
	.comm	_DMA_DBSA,8,3                   ; @DMA_DBSA
	.comm	_DMA_DBTA,8,3                   ; @DMA_DBTA
	.comm	_DCSR_STRTA,4,2                 ; @DCSR_STRTA
	.comm	_DCSR_STRTB,4,2                 ; @DCSR_STRTB
	.no_dead_strip	_sa11x0_dma_suspend
.subsections_via_symbols
