	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_sched
_init_sched:                            ## @init_sched
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_DMA_SCHED_CTRL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	addq	8(%rdi), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_cppi_writel
	cmpl	$0, (%r13)
	je	LBB0_1
## %bb.2:
	xorl	%r12d, %r12d
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_SCHED_ENTRY0_CHAN
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_SCHED_ENTRY1_CHAN
	leal	1(%r12), %r13d
	orl	%eax, %ebx
	movq	_SCHED_ENTRY1_IS_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_SCHED_ENTRY2_CHAN
	movl	%eax, %r14d
	movl	%r13d, %edi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	callq	_SCHED_ENTRY3_CHAN
	orl	%eax, %r14d
	orl	%ebx, %r14d
	movq	_SCHED_ENTRY3_IS_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	8(%r13), %rbx
	movl	%r15d, %edi
	callq	_DMA_SCHED_WORD
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_cppi_writel
	incl	%r15d
	movl	(%r13), %eax
	addl	$2, %r12d
	cmpl	%eax, %r12d
	jb	LBB0_3
## %bb.4:
	leal	(%rax,%rax), %edi
	decl	%edi
	movq	_DMA_SCHED_CTRL@GOTPCREL(%rip), %rbx
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %edi
LBB0_5:
	movq	_DMA_SCHED_CTRL_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	(%rbx), %rsi
	addq	8(%r13), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cppi_writel                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_SCHED_CTRL,8,3             ## @DMA_SCHED_CTRL
	.comm	_SCHED_ENTRY1_IS_RX,4,2         ## @SCHED_ENTRY1_IS_RX
	.comm	_SCHED_ENTRY3_IS_RX,4,2         ## @SCHED_ENTRY3_IS_RX
	.comm	_DMA_SCHED_CTRL_EN,4,2          ## @DMA_SCHED_CTRL_EN
	.no_dead_strip	_init_sched
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_sched
_init_sched:                            ; @init_sched
	.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, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x20, _DMA_SCHED_CTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DMA_SCHED_CTRL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x1, x9, x8
	mov	w0, #0
	bl	_cppi_writel
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.1:
	mov	w20, #0
	mov	w21, #0
Lloh2:
	adrp	x27, _SCHED_ENTRY1_IS_RX@GOTPAGE
Lloh3:
	ldr	x27, [x27, _SCHED_ENTRY1_IS_RX@GOTPAGEOFF]
Lloh4:
	adrp	x28, _SCHED_ENTRY3_IS_RX@GOTPAGE
Lloh5:
	ldr	x28, [x28, _SCHED_ENTRY3_IS_RX@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_SCHED_ENTRY0_CHAN
	mov	x22, x0
	mov	x0, x21
	bl	_SCHED_ENTRY1_CHAN
	mov	x23, x0
	ldr	w26, [x27]
	add	w24, w21, #1
	mov	x0, x24
	bl	_SCHED_ENTRY2_CHAN
	mov	x25, x0
	mov	x0, x24
	bl	_SCHED_ENTRY3_CHAN
	ldr	w8, [x28]
	orr	w9, w23, w22
	orr	w9, w9, w26
	orr	w9, w9, w25
	orr	w9, w9, w0
	orr	w22, w9, w8
	ldr	x23, [x19, #8]
	mov	x0, x20
	bl	_DMA_SCHED_WORD
	add	x1, x0, x23
	mov	x0, x22
	bl	_cppi_writel
	add	w20, w20, #1
	ldr	w8, [x19]
	add	w21, w21, #2
	cmp	w21, w8
	b.lo	LBB0_2
; %bb.3:
	lsl	w8, w8, #1
	sub	w8, w8, #1
Lloh6:
	adrp	x20, _DMA_SCHED_CTRL@GOTPAGE
Lloh7:
	ldr	x20, [x20, _DMA_SCHED_CTRL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	w8, #-1
LBB0_5:
Lloh8:
	adrp	x9, _DMA_SCHED_CTRL_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DMA_SCHED_CTRL_EN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, x8
	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
	b	_cppi_writel
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_SCHED_CTRL,8,3             ; @DMA_SCHED_CTRL
	.comm	_SCHED_ENTRY1_IS_RX,4,2         ; @SCHED_ENTRY1_IS_RX
	.comm	_SCHED_ENTRY3_IS_RX,4,2         ; @SCHED_ENTRY3_IS_RX
	.comm	_DMA_SCHED_CTRL_EN,4,2          ; @DMA_SCHED_CTRL_EN
	.no_dead_strip	_init_sched
.subsections_via_symbols
