	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cppi41_add_chans
_cppi41_add_chans:                      ## @cppi41_add_chans
	.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	%rsi, %r15
	movl	(%rsi), %r14d
	leal	(%r14,%r14), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	$56, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.2:
	movq	%rax, %rbx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$2, %eax
	movl	$1, %ecx
	cmovgel	%eax, %ecx
	leaq	12(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_DMA_RXGCR
	xorl	%ecx, %ecx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	%r15, %rax
	movq	%rax, 40(%rbx)
	movl	%ecx, (%rbx)
	movl	%r13d, 4(%rbx)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	16(%r15), %rax
	addq	%r12, %rax
	movq	%rax, 32(%rbx)
	movl	4(%r15), %eax
	addl	%r12d, %eax
	movl	%eax, 8(%rbx)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, 24(%rbx)
	leaq	16(%rbx), %rdi
	callq	_list_add_tail
	addq	$56, %rbx
	addq	$4, %r12
	incl	%r14d
	cmpq	%r12, -64(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, 48(%rbx)
	movl	%r14d, %r13d
	shrl	%r13d
	movq	24(%r15), %r15
	movl	%r13d, %edi
	testb	$1, %r14b
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_DMA_TXGCR
	movl	$1, %ecx
	jmp	LBB0_6
LBB0_7:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r15)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_cppi41_add_chans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cppi41_add_chans
_cppi41_add_chans:                      ; @cppi41_add_chans
	.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, x1
	ldr	w22, [x1]
	lsl	w20, w22, #1
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x1, x20
	mov	w2, #56
	bl	_devm_kcalloc
	cbz	x0, LBB0_8
; %bb.1:
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, x0
	mov	w24, #0
	mov	x25, #0
	mov	x26, #0
	add	x22, x19, #12
	cmp	w20, #1
	csinc	w8, w20, wzr, gt
	mov	w9, #56
	umull	x27, w8, w9
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_DMA_RXGCR
	mov	w8, #0
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x0, x28
	add	x10, x21, x26
	str	x9, [x10, #40]
	stp	w8, w23, [x10]
	ldr	x8, [x19, #16]
	add	x8, x8, x25
	ldr	w9, [x19, #4]
	add	w9, w25, w9
	str	w9, [x10, #8]
	stp	x22, x8, [x10, #24]
	add	x0, x10, #16
	mov	x1, x22
	bl	_list_add_tail
	add	x26, x26, #56
	add	x25, x25, #4
	add	w24, w24, #1
	cmp	x27, x26
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x21, x26
	str	x19, [x8, #48]
	ldr	x28, [x19, #24]
	lsr	w23, w24, #1
	mov	x0, x23
	tbz	w24, #0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_DMA_TXGCR
	mov	w8, #1
	b	LBB0_4
LBB0_7:
	mov	w0, #0
	str	w20, [x19, #8]
	b	LBB0_9
LBB0_8:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_cppi41_add_chans
.subsections_via_symbols
