	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ef4_alloc_channel
_ef4_alloc_channel:                     ## @ef4_alloc_channel
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%r14, 40(%rbx)
	movl	%r15d, (%rbx)
	movq	_ef4_default_channel_type@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_EF4_TXQ_TYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.2:
	movq	24(%rbx), %rdx
	addq	$16, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, (%rdx)
	imull	%r15d, %ecx
	addl	%esi, %ecx
	movl	%ecx, -16(%rdx)
	movq	%rbx, -8(%rdx)
	incq	%rsi
	movslq	(%rax), %rcx
	addq	$24, %rdx
	cmpq	%rcx, %rsi
	jl	LBB0_3
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	%r14, 16(%rbx)
	movq	_ef4_rx_slow_fill@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ef4_default_channel_type,4,2   ## @ef4_default_channel_type
	.comm	_EF4_TXQ_TYPES,4,2              ## @EF4_TXQ_TYPES
	.comm	_ef4_rx_slow_fill,4,2           ## @ef4_rx_slow_fill
	.no_dead_strip	_ef4_alloc_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ef4_alloc_channel
_ef4_alloc_channel:                     ; @ef4_alloc_channel
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	str	w21, [x19]
Lloh3:
	adrp	x8, _ef4_default_channel_type@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ef4_default_channel_type@GOTPAGEOFF]
	stp	x8, x20, [x19, #32]
Lloh5:
	adrp	x8, _EF4_TXQ_TYPES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EF4_TXQ_TYPES@GOTPAGEOFF]
	ldr	w10, [x8]
	cmp	w10, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x9, #0
	ldr	x11, [x19, #24]
	add	x11, x11, #16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	stp	x19, x20, [x11, #-8]
	madd	w10, w10, w21, w9
	stur	w10, [x11, #-16]
	add	x9, x9, #1
	ldrsw	x10, [x8]
	add	x11, x11, #24
	cmp	x9, x10
	b.lt	LBB0_3
LBB0_4:
	add	x0, x19, #8
	str	x20, [x19, #16]
Lloh7:
	adrp	x8, _ef4_rx_slow_fill@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ef4_rx_slow_fill@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ef4_default_channel_type,4,2   ; @ef4_default_channel_type
	.comm	_EF4_TXQ_TYPES,4,2              ; @EF4_TXQ_TYPES
	.comm	_ef4_rx_slow_fill,4,2           ; @ef4_rx_slow_fill
	.no_dead_strip	_ef4_alloc_channel
.subsections_via_symbols
