	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zx_dma_probe
_zx_dma_probe:                          ## @zx_dma_probe
	.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
	movq	%rdi, %r12
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	$144, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_27
## %bb.2:
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 120(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	120(%r14), %rdi
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_6:
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_of_property_read_u32
	movl	(%r12), %edi
	leaq	4(%r14), %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_of_property_read_u32
	cmpl	$0, 4(%r14)
	je	LBB0_10
## %bb.7:
	cmpl	$0, (%r14)
	je	LBB0_10
## %bb.8:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, 8(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	8(%r14), %rdi
	jmp	LBB0_4
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_11:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, 140(%r14)
	movq	_zx_dma_int_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	movq	%r14, %r9
	callq	_devm_request_irq
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_30
## %bb.12:
	movl	(%rbx), %edi
	movq	_LLI_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r13d, %r13d
	movq	%r12, %rsi
	movl	$32, %ecx
	xorl	%r8d, %r8d
	callq	_dmam_pool_create
	movl	%eax, 136(%r14)
	testl	%eax, %eax
	je	LBB0_17
## %bb.13:
	movl	(%r14), %esi
	movl	(%r15), %ecx
	movq	%r12, %rdi
	movl	$16, %edx
	callq	_devm_kcalloc
	movq	%rax, 128(%r14)
	testq	%rax, %rax
	je	LBB0_27
## %bb.14:
	movl	(%r14), %r8d
	testl	%r8d, %r8d
	jle	LBB0_22
## %bb.15:
	movq	120(%r14), %rcx
	cmpl	$1, %r8d
	jne	LBB0_18
## %bb.16:
	xorl	%esi, %esi
	jmp	LBB0_20
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_18:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	leaq	24(%rax), %rbx
	movl	$64, %edx
	xorl	%esi, %esi
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	%esi, -24(%rbx)
	leal	-64(%rdx), %edi
	andl	$-128, %edi
	addq	%rcx, %rdi
	movq	%rdi, -16(%rbx)
	leal	1(%rsi), %edi
	movl	%edi, -8(%rbx)
	movl	%edx, %edi
	andl	$-64, %edi
	addq	%rcx, %rdi
	movq	%rdi, (%rbx)
	addq	$2, %rsi
	addq	$32, %rbx
	subq	$-128, %rdx
	cmpq	%r9, %rsi
	jne	LBB0_19
LBB0_20:
	testb	$1, %r8b
	je	LBB0_22
## %bb.21:
	movq	%rsi, %rdx
	shlq	$4, %rdx
	movl	%esi, (%rax,%rdx)
	shll	$6, %esi
	addq	%rsi, %rcx
	movq	%rcx, 8(%rax,%rdx)
LBB0_22:
	leaq	100(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	_DMA_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	96(%r14), %esi
	callq	_dma_cap_set
	movq	_DMA_MEMCPY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	96(%r14), %esi
	callq	_dma_cap_set
	movq	_DMA_CYCLIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	96(%r14), %esi
	callq	_dma_cap_set
	movq	_DMA_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	96(%r14), %esi
	callq	_dma_cap_set
	movq	%r12, 88(%r14)
	movq	_zx_dma_free_chan_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r14)
	movq	_zx_dma_tx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r14)
	movq	_zx_dma_prep_memcpy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r14)
	movq	_zx_dma_prep_slave_sg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r14)
	movq	_zx_dma_prep_dma_cyclic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r14)
	movq	_zx_dma_issue_pending@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r14)
	movq	_zx_dma_config@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movq	_zx_dma_terminate_all@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r14)
	movq	_zx_dma_transfer_pause@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	_zx_dma_transfer_resume@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	movq	_DMA_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_ZX_DMA_BUSWIDTHS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14)
	movq	%rax, 24(%r14)
	movq	_DMA_MEM_TO_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r13d
	movq	_DMA_MEM_TO_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	orl	%r13d, %ebx
	movq	_DMA_DEV_TO_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%ebx, %eax
	movl	%eax, 16(%r14)
	movq	_DMA_RESIDUE_GRANULARITY_SEGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movl	4(%r14), %esi
	movl	(%r15), %ecx
	movq	%r12, %rdi
	movl	$12, %edx
	callq	_devm_kcalloc
	movq	%rax, 112(%r14)
	testq	%rax, %rax
	je	LBB0_27
## %bb.23:
	movq	%rax, %rbx
	leaq	16(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jle	LBB0_31
## %bb.24:
	movl	$1, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	_DMA_IN_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	(%rbx,%r15), %r13
	movl	%eax, 8(%rbx,%r15)
	leaq	(%rbx,%r15), %rdi
	addq	$4, %rdi
	callq	_INIT_LIST_HEAD
	movq	_zx_dma_free_desc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx,%r15)
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_vchan_init
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rax, %rcx
	jge	LBB0_31
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%rcx, %rax
	movq	112(%r14), %rbx
	addq	$12, %r15
	incq	%rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_25
LBB0_27:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_28:
	xorl	%r13d, %r13d
LBB0_29:
	subl	(%rax), %r13d
LBB0_30:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	8(%r14), %rdi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	js	LBB0_36
## %bb.32:
	movq	%r14, %rdi
	callq	_zx_dma_init_state
	leaq	108(%r14), %rdi
	callq	_spin_lock_init
	movq	%r14, %rdi
	addq	$104, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_dma_async_device_register
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_35
## %bb.33:
	movl	(%r12), %edi
	movq	_zx_of_dma_simple_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_of_dma_controller_register
	testl	%eax, %eax
	je	LBB0_37
## %bb.34:
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_dma_async_device_unregister
LBB0_35:
	movq	8(%r14), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_30
LBB0_36:
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_30
LBB0_37:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_info
	xorl	%r13d, %r13d
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dma-channels"

L_.str.1:                               ## @.str.1
	.asciz	"dma-requests"

L_.str.2:                               ## @.str.2
	.asciz	"no dma clk\n"

	.comm	_zx_dma_int_handler,4,2         ## @zx_dma_int_handler
	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
	.comm	_LLI_BLOCK_SIZE,4,2             ## @LLI_BLOCK_SIZE
	.comm	_DMA_SLAVE,4,2                  ## @DMA_SLAVE
	.comm	_DMA_MEMCPY,4,2                 ## @DMA_MEMCPY
	.comm	_DMA_CYCLIC,4,2                 ## @DMA_CYCLIC
	.comm	_DMA_PRIVATE,4,2                ## @DMA_PRIVATE
	.comm	_zx_dma_free_chan_resources,4,2 ## @zx_dma_free_chan_resources
	.comm	_zx_dma_tx_status,4,2           ## @zx_dma_tx_status
	.comm	_zx_dma_prep_memcpy,4,2         ## @zx_dma_prep_memcpy
	.comm	_zx_dma_prep_slave_sg,4,2       ## @zx_dma_prep_slave_sg
	.comm	_zx_dma_prep_dma_cyclic,4,2     ## @zx_dma_prep_dma_cyclic
	.comm	_zx_dma_issue_pending,4,2       ## @zx_dma_issue_pending
	.comm	_zx_dma_config,4,2              ## @zx_dma_config
	.comm	_zx_dma_terminate_all,4,2       ## @zx_dma_terminate_all
	.comm	_zx_dma_transfer_pause,4,2      ## @zx_dma_transfer_pause
	.comm	_zx_dma_transfer_resume,4,2     ## @zx_dma_transfer_resume
	.comm	_DMA_ALIGN,4,2                  ## @DMA_ALIGN
	.comm	_ZX_DMA_BUSWIDTHS,8,3           ## @ZX_DMA_BUSWIDTHS
	.comm	_DMA_MEM_TO_MEM,4,2             ## @DMA_MEM_TO_MEM
	.comm	_DMA_MEM_TO_DEV,4,2             ## @DMA_MEM_TO_DEV
	.comm	_DMA_DEV_TO_MEM,4,2             ## @DMA_DEV_TO_MEM
	.comm	_DMA_RESIDUE_GRANULARITY_SEGMENT,4,2 ## @DMA_RESIDUE_GRANULARITY_SEGMENT
	.comm	_DMA_IN_PROGRESS,4,2            ## @DMA_IN_PROGRESS
	.comm	_zx_dma_free_desc,4,2           ## @zx_dma_free_desc
L_.str.3:                               ## @.str.3
	.asciz	"clk_prepare_enable failed: %d\n"

	.comm	_zx_of_dma_simple_xlate,4,2     ## @zx_of_dma_simple_xlate
L_.str.4:                               ## @.str.4
	.asciz	"initialized\n"

	.no_dead_strip	_zx_dma_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zx_dma_probe
_zx_dma_probe:                          ; @zx_dma_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_platform_get_resource
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #144
	bl	_devm_kzalloc
	cbz	x0, LBB0_31
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	bl	_devm_ioremap_resource
	str	x0, [x20, #120]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x20, #120]
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_PTR_ERR
LBB0_5:
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_of_property_read_u32
	ldr	w0, [x19]
	add	x21, x20, #4
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_of_property_read_u32
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_9
; %bb.6:
	ldr	w8, [x20]
	cbz	w8, LBB0_9
; %bb.7:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.8:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #8]
	b	LBB0_4
LBB0_9:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_32
LBB0_10:
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x1, x0
	str	w0, [x20, #140]
Lloh13:
	adrp	x8, _zx_dma_int_handler@GOTPAGE
Lloh14:
	ldr	x8, [x8, _zx_dma_int_handler@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x22, _DRIVER_NAME@GOTPAGE
Lloh17:
	ldr	x22, [x22, _DRIVER_NAME@GOTPAGEOFF]
	ldr	w4, [x22]
	mov	x0, x19
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	mov	x23, x0
	cbnz	w0, LBB0_33
; %bb.11:
	ldr	w0, [x22]
Lloh18:
	adrp	x8, _LLI_BLOCK_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LLI_BLOCK_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x1, x19
	mov	w3, #32
	mov	w4, #0
	bl	_dmam_pool_create
	str	w0, [x20, #136]
	cbz	w0, LBB0_31
; %bb.12:
	ldr	w1, [x20]
	ldr	w3, [x24]
	mov	x0, x19
	mov	w2, #16
	bl	_devm_kcalloc
	str	x0, [x20, #128]
	cbz	x0, LBB0_31
; %bb.13:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.14:
	ldr	x9, [x20, #120]
	cmp	w8, #4
	b.hs	LBB0_16
; %bb.15:
	mov	x10, #0
	b	LBB0_19
LBB0_16:
	mov	x11, #0
	mov	w12, #0
	and	x10, x8, #0xfffffffc
	add	x13, x0, #32
	lsl	x14, x8, #6
	and	x14, x14, #0x3fffffff00
	mov	w15, #-192
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	w16, w12, #1
	add	w17, w12, #2
	add	w1, w12, #3
	stur	w16, [x13, #-16]
	str	w17, [x13]
	add	w16, w11, #64
	add	w17, w11, #128
	add	w2, w11, #192
	stur	w12, [x13, #-32]
	str	w1, [x13, #16]
	and	x1, x11, #0xffffff00
	and	x16, x16, x15
	and	x17, x17, #0xffffff80
	and	x2, x2, #0xffffffc0
	add	x1, x9, x1
	add	x16, x9, x16
	add	x17, x9, x17
	add	x2, x9, x2
	stur	x1, [x13, #-24]
	stur	x16, [x13, #-8]
	str	x17, [x13, #8]
	str	x2, [x13, #24]
	add	w12, w12, #4
	add	x11, x11, #256
	add	x13, x13, #64
	cmp	x14, x11
	b.ne	LBB0_17
; %bb.18:
	cmp	x10, x8
	b.eq	LBB0_21
LBB0_19:
	lsl	x11, x10, #6
	add	x12, x0, x10, lsl #4
	add	x12, x12, #8
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	stur	w10, [x12, #-8]
	and	x13, x11, #0xffffffc0
	add	x13, x9, x13
	str	x13, [x12], #16
	add	x10, x10, #1
	add	x11, x11, #64
	cmp	x8, x10
	b.ne	LBB0_20
LBB0_21:
	add	x0, x20, #100
	bl	_INIT_LIST_HEAD
Lloh21:
	adrp	x8, _DMA_SLAVE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DMA_SLAVE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w1, [x20, #96]
	bl	_dma_cap_set
Lloh24:
	adrp	x8, _DMA_MEMCPY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DMA_MEMCPY@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w1, [x20, #96]
	bl	_dma_cap_set
Lloh27:
	adrp	x8, _DMA_CYCLIC@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DMA_CYCLIC@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	w1, [x20, #96]
	bl	_dma_cap_set
Lloh30:
	adrp	x8, _DMA_PRIVATE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DMA_PRIVATE@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	ldr	w1, [x20, #96]
	bl	_dma_cap_set
	str	x19, [x20, #88]
Lloh33:
	adrp	x8, _zx_dma_free_chan_resources@GOTPAGE
Lloh34:
	ldr	x8, [x8, _zx_dma_free_chan_resources@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [x20, #80]
Lloh36:
	adrp	x8, _zx_dma_tx_status@GOTPAGE
Lloh37:
	ldr	x8, [x8, _zx_dma_tx_status@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _zx_dma_prep_memcpy@GOTPAGE
Lloh40:
	ldr	x9, [x9, _zx_dma_prep_memcpy@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #72]
Lloh42:
	adrp	x8, _zx_dma_prep_slave_sg@GOTPAGE
Lloh43:
	ldr	x8, [x8, _zx_dma_prep_slave_sg@GOTPAGEOFF]
Lloh44:
	adrp	x9, _zx_dma_prep_dma_cyclic@GOTPAGE
Lloh45:
	ldr	x9, [x9, _zx_dma_prep_dma_cyclic@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
Lloh47:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #64]
Lloh48:
	adrp	x8, _zx_dma_issue_pending@GOTPAGE
Lloh49:
	ldr	x8, [x8, _zx_dma_issue_pending@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
Lloh51:
	adrp	x9, _zx_dma_config@GOTPAGE
Lloh52:
	ldr	x9, [x9, _zx_dma_config@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #56]
Lloh54:
	adrp	x8, _zx_dma_terminate_all@GOTPAGE
Lloh55:
	ldr	x8, [x8, _zx_dma_terminate_all@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _zx_dma_transfer_pause@GOTPAGE
Lloh58:
	ldr	x9, [x9, _zx_dma_transfer_pause@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #48]
Lloh60:
	adrp	x8, _zx_dma_transfer_resume@GOTPAGE
Lloh61:
	ldr	x8, [x8, _zx_dma_transfer_resume@GOTPAGEOFF]
Lloh62:
	adrp	x9, _DMA_ALIGN@GOTPAGE
Lloh63:
	ldr	x9, [x9, _DMA_ALIGN@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
Lloh65:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #40]
Lloh66:
	adrp	x8, _ZX_DMA_BUSWIDTHS@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ZX_DMA_BUSWIDTHS@GOTPAGEOFF]
Lloh68:
	ldr	x8, [x8]
	stp	x8, x8, [x20, #24]
Lloh69:
	adrp	x8, _DMA_MEM_TO_MEM@GOTPAGE
Lloh70:
	ldr	x8, [x8, _DMA_MEM_TO_MEM@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
	bl	_BIT
	mov	x22, x0
Lloh72:
	adrp	x8, _DMA_MEM_TO_DEV@GOTPAGE
Lloh73:
	ldr	x8, [x8, _DMA_MEM_TO_DEV@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x8]
	bl	_BIT
	orr	w22, w0, w22
Lloh75:
	adrp	x8, _DMA_DEV_TO_MEM@GOTPAGE
Lloh76:
	ldr	x8, [x8, _DMA_DEV_TO_MEM@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x8]
	bl	_BIT
	orr	w8, w22, w0
	mov	x22, x20
	str	w8, [x22, #16]!
Lloh78:
	adrp	x8, _DMA_RESIDUE_GRANULARITY_SEGMENT@GOTPAGE
Lloh79:
	ldr	x8, [x8, _DMA_RESIDUE_GRANULARITY_SEGMENT@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	str	w8, [x22, #4]
	ldur	w1, [x22, #-12]
	ldr	w3, [x24]
	mov	x0, x19
	mov	w2, #12
	bl	_devm_kcalloc
	str	x0, [x22, #96]
	cbz	x0, LBB0_31
; %bb.22:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.23:
	mov	x23, x0
Lloh81:
	adrp	x24, _DMA_IN_PROGRESS@GOTPAGE
Lloh82:
	ldr	x24, [x24, _DMA_IN_PROGRESS@GOTPAGEOFF]
	ldr	w8, [x24]
	str	w8, [x0, #8]
	add	x0, x0, #4
	bl	_INIT_LIST_HEAD
Lloh83:
	adrp	x25, _zx_dma_free_desc@GOTPAGE
Lloh84:
	ldr	x25, [x25, _zx_dma_free_desc@GOTPAGEOFF]
	ldr	w8, [x25]
	str	w8, [x23]
	mov	x0, x23
	mov	x1, x22
	bl	_vchan_init
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_26
; %bb.24:
	mov	x23, #0
	mov	w26, #1
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #112]
	ldr	w9, [x24]
	add	x21, x8, x23
	str	w9, [x21, #20]
	add	x0, x21, #16
	bl	_INIT_LIST_HEAD
	ldr	w8, [x25]
	str	w8, [x21, #12]!
	mov	x0, x21
	mov	x1, x22
	bl	_vchan_init
	add	x26, x26, #1
	ldrsw	x8, [x20, #4]
	add	x23, x23, #12
	cmp	x26, x8
	b.lt	LBB0_25
LBB0_26:
	ldr	x0, [x20, #8]
	bl	_clk_prepare_enable
	tbnz	w0, #31, LBB0_34
; %bb.27:
	mov	x0, x20
	bl	_zx_dma_init_state
	add	x0, x20, #108
	bl	_spin_lock_init
	add	x0, x20, #104
	bl	_INIT_LIST_HEAD
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x22
	bl	_dma_async_device_register
	mov	x23, x0
	cbnz	w0, LBB0_30
; %bb.28:
	ldr	w0, [x19]
Lloh85:
	adrp	x8, _zx_of_dma_simple_xlate@GOTPAGE
Lloh86:
	ldr	x8, [x8, _zx_of_dma_simple_xlate@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_of_dma_controller_register
	mov	x23, x0
	cbz	w0, LBB0_35
; %bb.29:
	mov	x0, x22
	bl	_dma_async_device_unregister
LBB0_30:
	ldr	x0, [x20, #8]
	bl	_clk_disable_unprepare
	b	LBB0_33
LBB0_31:
Lloh88:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh89:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_32:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_33:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_34:
	mov	x23, x0
	str	x23, [sp]
Lloh90:
	adrp	x1, l_.str.3@PAGE
Lloh91:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_33
LBB0_35:
Lloh92:
	adrp	x1, l_.str.4@PAGE
Lloh93:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	b	LBB0_33
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh64
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh46
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.cfi_endproc
                                        ; -- End function
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dma-channels"

l_.str.1:                               ; @.str.1
	.asciz	"dma-requests"

l_.str.2:                               ; @.str.2
	.asciz	"no dma clk\n"

	.comm	_zx_dma_int_handler,4,2         ; @zx_dma_int_handler
	.comm	_DRIVER_NAME,4,2                ; @DRIVER_NAME
	.comm	_LLI_BLOCK_SIZE,4,2             ; @LLI_BLOCK_SIZE
	.comm	_DMA_SLAVE,4,2                  ; @DMA_SLAVE
	.comm	_DMA_MEMCPY,4,2                 ; @DMA_MEMCPY
	.comm	_DMA_CYCLIC,4,2                 ; @DMA_CYCLIC
	.comm	_DMA_PRIVATE,4,2                ; @DMA_PRIVATE
	.comm	_zx_dma_free_chan_resources,4,2 ; @zx_dma_free_chan_resources
	.comm	_zx_dma_tx_status,4,2           ; @zx_dma_tx_status
	.comm	_zx_dma_prep_memcpy,4,2         ; @zx_dma_prep_memcpy
	.comm	_zx_dma_prep_slave_sg,4,2       ; @zx_dma_prep_slave_sg
	.comm	_zx_dma_prep_dma_cyclic,4,2     ; @zx_dma_prep_dma_cyclic
	.comm	_zx_dma_issue_pending,4,2       ; @zx_dma_issue_pending
	.comm	_zx_dma_config,4,2              ; @zx_dma_config
	.comm	_zx_dma_terminate_all,4,2       ; @zx_dma_terminate_all
	.comm	_zx_dma_transfer_pause,4,2      ; @zx_dma_transfer_pause
	.comm	_zx_dma_transfer_resume,4,2     ; @zx_dma_transfer_resume
	.comm	_DMA_ALIGN,4,2                  ; @DMA_ALIGN
	.comm	_ZX_DMA_BUSWIDTHS,8,3           ; @ZX_DMA_BUSWIDTHS
	.comm	_DMA_MEM_TO_MEM,4,2             ; @DMA_MEM_TO_MEM
	.comm	_DMA_MEM_TO_DEV,4,2             ; @DMA_MEM_TO_DEV
	.comm	_DMA_DEV_TO_MEM,4,2             ; @DMA_DEV_TO_MEM
	.comm	_DMA_RESIDUE_GRANULARITY_SEGMENT,4,2 ; @DMA_RESIDUE_GRANULARITY_SEGMENT
	.comm	_DMA_IN_PROGRESS,4,2            ; @DMA_IN_PROGRESS
	.comm	_zx_dma_free_desc,4,2           ; @zx_dma_free_desc
l_.str.3:                               ; @.str.3
	.asciz	"clk_prepare_enable failed: %d\n"

	.comm	_zx_of_dma_simple_xlate,4,2     ; @zx_of_dma_simple_xlate
l_.str.4:                               ; @.str.4
	.asciz	"initialized\n"

	.no_dead_strip	_zx_dma_probe
.subsections_via_symbols
