	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function coh901318_base_init
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_coh901318_base_init:                   ## @coh901318_base_init
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_INIT_LIST_HEAD
	movl	(%r13), %ebx
	cmpl	$-1, %ebx
	je	LBB0_6
## %bb.1:
	xorl	%eax, %eax
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%r13,%rax,4), %ebx
	addq	$2, %rax
	cmpl	$-1, %ebx
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	orq	$1, %rcx
	cmpl	(%r13,%rcx,4), %ebx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jg	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ebx, %rax
	leaq	-1(%rax), %r14
	shlq	$3, %rax
	leaq	(%rax,%rax,8), %r15
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %r13
	movq	(%r12), %r12
	leaq	(%r12,%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, 64(%r12,%r15)
	movq	%rdx, 16(%r12,%r15)
	movl	%ebx, (%r12,%r15)
	leaq	(%r12,%r15), %rdi
	addq	$56, %rdi
	callq	_spin_lock_init
	leaq	(%r12,%r15), %rdi
	addq	$36, %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r12,%r15)
	callq	_INIT_LIST_HEAD
	leaq	(%r12,%r15), %rdi
	addq	$32, %rdi
	callq	_INIT_LIST_HEAD
	leaq	(%r12,%r15), %rdi
	addq	$28, %rdi
	callq	_INIT_LIST_HEAD
	leaq	(%r12,%r15), %rdi
	addq	$24, %rdi
	movq	_dma_tasklet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_tasklet_init
	leaq	(%r12,%r15), %rdi
	addq	$8, %rdi
	movq	%r13, %r12
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add_tail
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%r13,%rcx,4), %rax
	incq	%r14
	incl	%ebx
	addq	$72, %r15
	cmpq	%rax, %r14
	jl	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dma_tasklet,4,2                ## @dma_tasklet
	.no_dead_strip	_coh901318_base_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coh901318_base_init
_coh901318_base_init:                   ; @coh901318_base_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_INIT_LIST_HEAD
	ldr	w23, [x20]
	cmn	w23, #1
	b.eq	LBB0_6
; %bb.1:
	mov	x24, #0
Lloh0:
	adrp	x25, _dma_tasklet@GOTPAGE
Lloh1:
	ldr	x25, [x25, _dma_tasklet@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #2
	ldr	w23, [x20, x24, lsl #2]
	cmn	w23, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	orr	x26, x24, #0x1
	ldr	w8, [x20, x26, lsl #2]
	cmp	w23, w8
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x8, w23
	sub	x27, x8, #1
	add	x8, x8, w23, sxtw #3
	lsl	x28, x8, #3
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19]
	add	x22, x8, x28
	str	x19, [x22, #64]
	str	x21, [x22, #16]
	str	w23, [x22]
	add	x0, x22, #56
	bl	_spin_lock_init
	add	x0, x22, #36
	stp	xzr, xzr, [x22, #40]
	bl	_INIT_LIST_HEAD
	add	x0, x22, #32
	bl	_INIT_LIST_HEAD
	add	x0, x22, #28
	bl	_INIT_LIST_HEAD
	add	x0, x22, #24
	ldr	w1, [x25]
	mov	x2, x22
	bl	_tasklet_init
	add	x0, x22, #8
	mov	x1, x21
	bl	_list_add_tail
	ldrsw	x8, [x20, x26, lsl #2]
	add	x27, x27, #1
	add	w23, w23, #1
	add	x28, x28, #72
	cmp	x27, x8
	b.lt	LBB0_5
	b	LBB0_2
LBB0_6:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dma_tasklet,4,2                ; @dma_tasklet
	.no_dead_strip	_coh901318_base_init
.subsections_via_symbols
