	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sirfsoc_dma_probe
_sirfsoc_dma_probe:                     ## @sirfsoc_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	8(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$112, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r14
	movq	(%r13), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_of_match_device
	movq	(%rax), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 108(%r14)
	movl	(%rax), %eax
	movl	%eax, 104(%r14)
	leaq	L_.str(%rip), %rsi
	leaq	-84(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movl	%eax, 100(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movl	100(%r14), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_11:
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_of_address_to_resource
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
LBB0_13:
	movl	(%r14), %edi
	callq	_irq_dispose_mapping
	jmp	LBB0_6
LBB0_14:
	movl	-48(%rbp), %ebx
	leaq	-48(%rbp), %rdi
	callq	_resource_size
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_devm_ioremap
	movl	%eax, 96(%r14)
	testl	%eax, %eax
	je	LBB0_17
## %bb.15:
	movl	(%r14), %edi
	movq	_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_sirfsoc_dma_irq@GOTPCREL(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	movq	%r14, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_18
## %bb.16:
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_17:
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_18:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	16(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, 88(%r14)
	movq	_sirfsoc_dma_alloc_chan_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%r14)
	movq	_sirfsoc_dma_free_chan_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r14)
	movq	_sirfsoc_dma_issue_pending@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r14)
	movq	_sirfsoc_dma_slave_config@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r14)
	movq	_sirfsoc_dma_pause_chan@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r14)
	movq	_sirfsoc_dma_resume_chan@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r14)
	movq	_sirfsoc_dma_terminate_all@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r14)
	movq	_sirfsoc_dma_tx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movq	_sirfsoc_dma_prep_interleaved@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r14)
	movq	_sirfsoc_dma_prep_cyclic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	_SIRFSOC_DMA_BUSWIDTHS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r14)
	movq	%rax, 32(%r14)
	movq	_DMA_DEV_TO_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	_DMA_MEM_TO_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%ebx, %eax
	movl	%eax, 16(%r14)
	leaq	20(%r14), %r15
	movq	%r15, %rdi
	callq	_INIT_LIST_HEAD
	movq	_DMA_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r14), %esi
	callq	_dma_cap_set
	movq	_DMA_CYCLIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r14), %esi
	callq	_dma_cap_set
	movq	_DMA_INTERLEAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r14), %esi
	callq	_dma_cap_set
	movq	_DMA_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r14), %esi
	callq	_dma_cap_set
	movq	_SIRFSOC_DMA_CHANNELS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_21
## %bb.19:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r15
	leaq	(%r15,%rbx), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r15,%rbx)
	callq	_dma_cookie_init
	leaq	(%r15,%rbx), %rdi
	addq	$36, %rdi
	callq	_INIT_LIST_HEAD
	leaq	(%r15,%rbx), %rdi
	addq	$32, %rdi
	callq	_INIT_LIST_HEAD
	leaq	(%r15,%rbx), %rdi
	addq	$28, %rdi
	callq	_INIT_LIST_HEAD
	leaq	(%r15,%rbx), %rdi
	addq	$24, %rdi
	callq	_INIT_LIST_HEAD
	leaq	(%r15,%rbx), %rdi
	addq	$20, %rdi
	callq	_INIT_LIST_HEAD
	leaq	(%r15,%rbx), %rdi
	addq	$16, %rdi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	callq	_spin_lock_init
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_list_add_tail
	movq	_SIRFSOC_DMA_CHANNELS@GOTPCREL(%rip), %rax
	incq	%r12
	movslq	(%rax), %rax
	addq	$40, %rbx
	cmpq	%rax, %r12
	jl	LBB0_20
LBB0_21:
	movq	%r14, %rdi
	addq	$4, %rdi
	movq	_sirfsoc_dma_tasklet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_tasklet_init
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_dev_set_drvdata
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_dma_async_device_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_24
## %bb.22:
	movq	_of_dma_sirfsoc_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_of_dma_controller_register
	testl	%eax, %eax
	je	LBB0_25
## %bb.23:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	%r15, %rdi
	callq	_dma_async_device_unregister
LBB0_24:
	movl	(%r14), %edi
	movq	%r14, %rsi
	callq	_free_irq
	jmp	LBB0_13
LBB0_25:
	movq	%r13, %rdi
	callq	_pm_runtime_enable
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cell-index"

L_.str.1:                               ## @.str.1
	.asciz	"Fail to get DMAC index\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"Error mapping IRQ!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"failed to get a clock.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Error parsing memory region!\n"

L_.str.5:                               ## @.str.5
	.asciz	"Error mapping memory region!\n"

	.comm	_sirfsoc_dma_irq,4,2            ## @sirfsoc_dma_irq
	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
L_.str.6:                               ## @.str.6
	.asciz	"Error requesting IRQ!\n"

	.comm	_sirfsoc_dma_alloc_chan_resources,4,2 ## @sirfsoc_dma_alloc_chan_resources
	.comm	_sirfsoc_dma_free_chan_resources,4,2 ## @sirfsoc_dma_free_chan_resources
	.comm	_sirfsoc_dma_issue_pending,4,2  ## @sirfsoc_dma_issue_pending
	.comm	_sirfsoc_dma_slave_config,4,2   ## @sirfsoc_dma_slave_config
	.comm	_sirfsoc_dma_pause_chan,4,2     ## @sirfsoc_dma_pause_chan
	.comm	_sirfsoc_dma_resume_chan,4,2    ## @sirfsoc_dma_resume_chan
	.comm	_sirfsoc_dma_terminate_all,4,2  ## @sirfsoc_dma_terminate_all
	.comm	_sirfsoc_dma_tx_status,4,2      ## @sirfsoc_dma_tx_status
	.comm	_sirfsoc_dma_prep_interleaved,4,2 ## @sirfsoc_dma_prep_interleaved
	.comm	_sirfsoc_dma_prep_cyclic,4,2    ## @sirfsoc_dma_prep_cyclic
	.comm	_SIRFSOC_DMA_BUSWIDTHS,8,3      ## @SIRFSOC_DMA_BUSWIDTHS
	.comm	_DMA_DEV_TO_MEM,4,2             ## @DMA_DEV_TO_MEM
	.comm	_DMA_MEM_TO_DEV,4,2             ## @DMA_MEM_TO_DEV
	.comm	_DMA_SLAVE,4,2                  ## @DMA_SLAVE
	.comm	_DMA_CYCLIC,4,2                 ## @DMA_CYCLIC
	.comm	_DMA_INTERLEAVE,4,2             ## @DMA_INTERLEAVE
	.comm	_DMA_PRIVATE,4,2                ## @DMA_PRIVATE
	.comm	_SIRFSOC_DMA_CHANNELS,4,2       ## @SIRFSOC_DMA_CHANNELS
	.comm	_sirfsoc_dma_tasklet,4,2        ## @sirfsoc_dma_tasklet
	.comm	_of_dma_sirfsoc_xlate,4,2       ## @of_dma_sirfsoc_xlate
L_.str.7:                               ## @.str.7
	.asciz	"failed to register DMA controller\n"

L_.str.8:                               ## @.str.8
	.asciz	"initialized SIRFSOC DMAC driver\n"

	.no_dead_strip	_sirfsoc_dma_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sirfsoc_dma_probe
_sirfsoc_dma_probe:                     ; @sirfsoc_dma_probe
	.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
	mov	x20, x0
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #112
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x20]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_of_match_device
	ldr	x8, [x0]
	ldr	d0, [x8]
	str	d0, [x19, #104]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #4
	mov	x0, x21
	bl	_of_property_read_u32
	cbz	x0, LBB0_6
; %bb.2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_5:
	mov	x0, x23
	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
LBB0_6:
	mov	x0, x21
	mov	w1, #0
	bl	_irq_of_parse_and_map
	str	w0, [x19]
	cbz	w0, LBB0_9
; %bb.7:
	mov	x0, x20
	mov	x1, #0
	bl	_devm_clk_get
	str	w0, [x19, #100]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.8:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19, #100]
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_5
LBB0_9:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_10:
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #0
	bl	_of_address_to_resource
	cbz	w0, LBB0_12
; %bb.11:
	mov	x23, x0
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_24
LBB0_12:
	ldr	w22, [sp, #8]
	add	x0, sp, #8
	bl	_resource_size
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_devm_ioremap
	str	w0, [x19, #96]
	cbz	w0, LBB0_15
; %bb.13:
	ldr	w0, [x19]
Lloh19:
	adrp	x8, _DRV_NAME@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
Lloh22:
	adrp	x1, _sirfsoc_dma_irq@GOTPAGE
Lloh23:
	ldr	x1, [x1, _sirfsoc_dma_irq@GOTPAGEOFF]
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	cbz	w0, LBB0_17
; %bb.14:
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh26:
	adrp	x8, _EINVAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_24
LBB0_17:
	str	x20, [x19, #88]
Lloh32:
	adrp	x8, _sirfsoc_dma_alloc_chan_resources@GOTPAGE
Lloh33:
	ldr	x8, [x8, _sirfsoc_dma_alloc_chan_resources@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _sirfsoc_dma_free_chan_resources@GOTPAGE
Lloh36:
	ldr	x9, [x9, _sirfsoc_dma_free_chan_resources@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #80]
Lloh38:
	adrp	x8, _sirfsoc_dma_issue_pending@GOTPAGE
Lloh39:
	ldr	x8, [x8, _sirfsoc_dma_issue_pending@GOTPAGEOFF]
Lloh40:
	adrp	x9, _sirfsoc_dma_slave_config@GOTPAGE
Lloh41:
	ldr	x9, [x9, _sirfsoc_dma_slave_config@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #72]
Lloh44:
	adrp	x8, _sirfsoc_dma_pause_chan@GOTPAGE
Lloh45:
	ldr	x8, [x8, _sirfsoc_dma_pause_chan@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
Lloh47:
	adrp	x9, _sirfsoc_dma_resume_chan@GOTPAGE
Lloh48:
	ldr	x9, [x9, _sirfsoc_dma_resume_chan@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #64]
Lloh50:
	adrp	x8, _sirfsoc_dma_terminate_all@GOTPAGE
Lloh51:
	ldr	x8, [x8, _sirfsoc_dma_terminate_all@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _sirfsoc_dma_tx_status@GOTPAGE
Lloh54:
	ldr	x9, [x9, _sirfsoc_dma_tx_status@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #56]
Lloh56:
	adrp	x8, _sirfsoc_dma_prep_interleaved@GOTPAGE
Lloh57:
	ldr	x8, [x8, _sirfsoc_dma_prep_interleaved@GOTPAGEOFF]
Lloh58:
	adrp	x9, _sirfsoc_dma_prep_cyclic@GOTPAGE
Lloh59:
	ldr	x9, [x9, _sirfsoc_dma_prep_cyclic@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
Lloh61:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
Lloh62:
	adrp	x8, _SIRFSOC_DMA_BUSWIDTHS@GOTPAGE
Lloh63:
	ldr	x8, [x8, _SIRFSOC_DMA_BUSWIDTHS@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #32]
Lloh65:
	adrp	x8, _DMA_DEV_TO_MEM@GOTPAGE
Lloh66:
	ldr	x8, [x8, _DMA_DEV_TO_MEM@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	bl	_BIT
	mov	x22, x0
Lloh68:
	adrp	x8, _DMA_MEM_TO_DEV@GOTPAGE
Lloh69:
	ldr	x8, [x8, _DMA_MEM_TO_DEV@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
	bl	_BIT
	orr	w8, w0, w22
	mov	x22, x19
	str	w8, [x22, #16]!
	add	x23, x22, #4
	mov	x0, x23
	bl	_INIT_LIST_HEAD
Lloh71:
	adrp	x8, _DMA_SLAVE@GOTPAGE
Lloh72:
	ldr	x8, [x8, _DMA_SLAVE@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	_dma_cap_set
Lloh74:
	adrp	x8, _DMA_CYCLIC@GOTPAGE
Lloh75:
	ldr	x8, [x8, _DMA_CYCLIC@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	_dma_cap_set
Lloh77:
	adrp	x8, _DMA_INTERLEAVE@GOTPAGE
Lloh78:
	ldr	x8, [x8, _DMA_INTERLEAVE@GOTPAGEOFF]
Lloh79:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	_dma_cap_set
Lloh80:
	adrp	x8, _DMA_PRIVATE@GOTPAGE
Lloh81:
	ldr	x8, [x8, _DMA_PRIVATE@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	_dma_cap_set
Lloh83:
	adrp	x25, _SIRFSOC_DMA_CHANNELS@GOTPAGE
Lloh84:
	ldr	x25, [x25, _SIRFSOC_DMA_CHANNELS@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.18:
	mov	x26, #0
	mov	x27, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x24, x8, x26
	str	x22, [x24, #8]
	mov	x0, x24
	bl	_dma_cookie_init
	add	x0, x24, #36
	bl	_INIT_LIST_HEAD
	add	x0, x24, #32
	bl	_INIT_LIST_HEAD
	add	x0, x24, #28
	bl	_INIT_LIST_HEAD
	add	x0, x24, #24
	bl	_INIT_LIST_HEAD
	add	x0, x24, #20
	bl	_INIT_LIST_HEAD
	add	x0, x24, #16
	bl	_spin_lock_init
	mov	x0, x24
	mov	x1, x23
	bl	_list_add_tail
	add	x27, x27, #1
	ldrsw	x8, [x25]
	add	x26, x26, #40
	cmp	x27, x8
	b.lt	LBB0_19
LBB0_20:
	add	x0, x19, #4
Lloh85:
	adrp	x8, _sirfsoc_dma_tasklet@GOTPAGE
Lloh86:
	ldr	x8, [x8, _sirfsoc_dma_tasklet@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_tasklet_init
	mov	x0, x20
	mov	x1, x19
	bl	_dev_set_drvdata
	mov	x0, x22
	bl	_dma_async_device_register
	mov	x23, x0
	cbnz	w0, LBB0_23
; %bb.21:
Lloh88:
	adrp	x8, _of_dma_sirfsoc_xlate@GOTPAGE
Lloh89:
	ldr	x8, [x8, _of_dma_sirfsoc_xlate@GOTPAGEOFF]
Lloh90:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x19
	bl	_of_dma_controller_register
	mov	x23, x0
	cbz	w0, LBB0_25
; %bb.22:
Lloh91:
	adrp	x1, l_.str.7@PAGE
Lloh92:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	mov	x0, x22
	bl	_dma_async_device_unregister
LBB0_23:
	ldr	w0, [x19]
	mov	x1, x19
	bl	_free_irq
LBB0_24:
	ldr	w0, [x19]
	bl	_irq_dispose_mapping
	b	LBB0_5
LBB0_25:
	mov	x0, x20
	bl	_pm_runtime_enable
Lloh93:
	adrp	x1, l_.str.8@PAGE
Lloh94:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh60
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh42
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh93, Lloh94
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cell-index"

l_.str.1:                               ; @.str.1
	.asciz	"Fail to get DMAC index\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"Error mapping IRQ!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"failed to get a clock.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Error parsing memory region!\n"

l_.str.5:                               ; @.str.5
	.asciz	"Error mapping memory region!\n"

	.comm	_sirfsoc_dma_irq,4,2            ; @sirfsoc_dma_irq
	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
l_.str.6:                               ; @.str.6
	.asciz	"Error requesting IRQ!\n"

	.comm	_sirfsoc_dma_alloc_chan_resources,4,2 ; @sirfsoc_dma_alloc_chan_resources
	.comm	_sirfsoc_dma_free_chan_resources,4,2 ; @sirfsoc_dma_free_chan_resources
	.comm	_sirfsoc_dma_issue_pending,4,2  ; @sirfsoc_dma_issue_pending
	.comm	_sirfsoc_dma_slave_config,4,2   ; @sirfsoc_dma_slave_config
	.comm	_sirfsoc_dma_pause_chan,4,2     ; @sirfsoc_dma_pause_chan
	.comm	_sirfsoc_dma_resume_chan,4,2    ; @sirfsoc_dma_resume_chan
	.comm	_sirfsoc_dma_terminate_all,4,2  ; @sirfsoc_dma_terminate_all
	.comm	_sirfsoc_dma_tx_status,4,2      ; @sirfsoc_dma_tx_status
	.comm	_sirfsoc_dma_prep_interleaved,4,2 ; @sirfsoc_dma_prep_interleaved
	.comm	_sirfsoc_dma_prep_cyclic,4,2    ; @sirfsoc_dma_prep_cyclic
	.comm	_SIRFSOC_DMA_BUSWIDTHS,8,3      ; @SIRFSOC_DMA_BUSWIDTHS
	.comm	_DMA_DEV_TO_MEM,4,2             ; @DMA_DEV_TO_MEM
	.comm	_DMA_MEM_TO_DEV,4,2             ; @DMA_MEM_TO_DEV
	.comm	_DMA_SLAVE,4,2                  ; @DMA_SLAVE
	.comm	_DMA_CYCLIC,4,2                 ; @DMA_CYCLIC
	.comm	_DMA_INTERLEAVE,4,2             ; @DMA_INTERLEAVE
	.comm	_DMA_PRIVATE,4,2                ; @DMA_PRIVATE
	.comm	_SIRFSOC_DMA_CHANNELS,4,2       ; @SIRFSOC_DMA_CHANNELS
	.comm	_sirfsoc_dma_tasklet,4,2        ; @sirfsoc_dma_tasklet
	.comm	_of_dma_sirfsoc_xlate,4,2       ; @of_dma_sirfsoc_xlate
l_.str.7:                               ; @.str.7
	.asciz	"failed to register DMA controller\n"

l_.str.8:                               ; @.str.8
	.asciz	"initialized SIRFSOC DMAC driver\n"

	.no_dead_strip	_sirfsoc_dma_probe
.subsections_via_symbols
