	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function alloc_init_skbufs
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_alloc_init_skbufs:                     ## @alloc_init_skbufs
	.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, %r14
	movl	(%rdi), %r15d
	movl	4(%rdi), %r12d
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r15d, %edi
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movl	(%rbx), %edx
	movl	%r12d, %edi
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%r14)
	testq	%r15, %r15
	je	LBB0_10
## %bb.3:
	movq	$-1, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(,%rbx,4), %rsi
	addq	8(%r14), %rsi
	movl	40(%r14), %edx
	movq	%r14, %rdi
	callq	_tse_init_rx_buffer
	testl	%eax, %eax
	jne	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	incq	%r12
	cmpq	%r15, %rbx
	jne	LBB0_4
LBB0_10:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r14)
	xorl	%r13d, %r13d
	jmp	LBB0_11
LBB0_5:
	movl	%eax, %r13d
	testl	%ebx, %ebx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %esi
	shlq	$2, %rsi
	addq	8(%r14), %rsi
	movq	%r14, %rdi
	callq	_tse_free_rx_buffer
	decq	%r12
	leal	2(%r12), %eax
	cmpl	$1, %eax
	jg	LBB0_6
LBB0_7:
	movq	16(%r14), %rdi
	callq	_kfree
LBB0_8:
	movq	8(%r14), %rdi
	callq	_kfree
LBB0_11:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_alloc_init_skbufs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_init_skbufs
_alloc_init_skbufs:                     ; @alloc_init_skbufs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	ldp	w21, w22, [x0]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
Lloh3:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x21
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.1:
	ldr	w2, [x23]
	mov	x0, x22
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_10
; %bb.2:
	stp	xzr, xzr, [x19, #48]
	cbz	w21, LBB0_6
; %bb.3:
	mov	x23, #0
	mov	x22, #-1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x1, x8, x23, lsl #2
	ldr	w2, [x19, #40]
	mov	x0, x19
	bl	_tse_init_rx_buffer
	cbnz	w0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	add	x22, x22, #1
	cmp	x23, x21
	b.ne	LBB0_4
LBB0_6:
	mov	w20, #0
	stp	xzr, xzr, [x19, #24]
	b	LBB0_11
LBB0_7:
	mov	x20, x0
	cbz	w23, LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x1, x8, w22, uxtw #2
	mov	x0, x19
	bl	_tse_free_rx_buffer
	sub	x22, x22, #1
	add	w8, w22, #2
	cmp	w8, #1
	b.gt	LBB0_8
LBB0_9:
	ldr	x0, [x19, #16]
	bl	_kfree
LBB0_10:
	ldr	x0, [x19, #8]
	bl	_kfree
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_alloc_init_skbufs
.subsections_via_symbols
