	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function virtnet_alloc_queues
_virtnet_alloc_queues:                  ## @virtnet_alloc_queues
	.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, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$12, %edi
	callq	_kzalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$12, %esi
	callq	_kcalloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$24, %esi
	callq	_kcalloc
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	leaq	36(%r15), %rdi
	movq	_refill_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	cmpl	$0, (%r15)
	jle	LBB0_13
## %bb.4:
	movl	$8, %r12d
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	32(%r15), %edi
	movq	_virtnet_poll_tx@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_netif_tx_napi_add
	movq	24(%r15), %rax
	movl	8(%rax,%r14), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_sg_init_table
	movq	24(%r15), %rax
	leaq	(%rax,%r14), %rdi
	addq	$4, %rdi
	callq	_ewma_pkt_len_init
	movq	16(%r15), %rax
	movl	-4(%rax,%r12), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_sg_init_table
	movq	24(%r15), %rdi
	addq	%r14, %rdi
	callq	_u64_stats_init
	movq	16(%r15), %rax
	leaq	(%rax,%r12), %rdi
	addq	$-8, %rdi
	callq	_u64_stats_init
	incq	%r13
	movslq	(%r15), %rax
	addq	$12, %r12
	addq	$24, %r14
	cmpq	%rax, %r13
	jge	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movq	$0, (%rax,%r12,2)
	movl	32(%r15), %edi
	leaq	(%rax,%r14), %rsi
	addq	$12, %rsi
	movq	_virtnet_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_napi_weight@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_netif_napi_add
	movq	16(%r15), %rsi
	addq	%r12, %rsi
	movq	_napi_tx@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	$0, %ecx
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_napi_weight@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_5
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_9:
	movq	16(%r15), %rdi
	callq	_kfree
LBB0_10:
	movq	8(%r15), %rdi
	callq	_kfree
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %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	_refill_work,4,2                ## @refill_work
	.comm	_virtnet_poll,4,2               ## @virtnet_poll
	.comm	_napi_weight,4,2                ## @napi_weight
	.comm	_virtnet_poll_tx,4,2            ## @virtnet_poll_tx
	.comm	_napi_tx,8,3                    ## @napi_tx
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_virtnet_alloc_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function virtnet_alloc_queues
_virtnet_alloc_queues:                  ; @virtnet_alloc_queues
	.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
Lloh0:
	adrp	x20, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w0, #12
	bl	_kzalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.1:
	ldr	w0, [x19]
	ldr	w2, [x20]
	mov	w1, #12
	bl	_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_8
; %bb.2:
	ldr	w0, [x19]
	ldr	w2, [x20]
	mov	w1, #24
	bl	_kcalloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_7
; %bb.3:
	add	x0, x19, #36
Lloh2:
	adrp	x8, _refill_work@GOTPAGE
Lloh3:
	ldr	x8, [x8, _refill_work@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
	mov	x22, #0
	mov	x23, #0
Lloh5:
	adrp	x24, _virtnet_poll@GOTPAGE
Lloh6:
	ldr	x24, [x24, _virtnet_poll@GOTPAGEOFF]
Lloh7:
	adrp	x25, _napi_weight@GOTPAGE
Lloh8:
	ldr	x25, [x25, _napi_weight@GOTPAGEOFF]
Lloh9:
	adrp	x26, _virtnet_poll_tx@GOTPAGE
Lloh10:
	ldr	x26, [x26, _virtnet_poll_tx@GOTPAGEOFF]
Lloh11:
	adrp	x27, _napi_tx@GOTPAGE
Lloh12:
	ldr	x27, [x27, _napi_tx@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x8, x8, x22
	str	xzr, [x8, #16]
	ldr	w0, [x19, #32]
	add	x1, x8, #12
	ldr	w2, [x24]
	ldr	w3, [x25]
	bl	_netif_napi_add
	ldr	w0, [x19, #32]
	ldr	x8, [x19, #16]
	add	x8, x8, x21
	add	x1, x8, #8
	ldr	w2, [x26]
	ldr	x8, [x27]
	ldr	w9, [x25]
	cmp	x8, #0
	csel	w3, wzr, w9, eq
	bl	_netif_tx_napi_add
	ldr	x8, [x19, #24]
	add	x8, x8, x22
	ldr	w20, [x8, #8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x20
	bl	_sg_init_table
	ldr	x8, [x19, #24]
	add	x8, x8, x22
	add	x0, x8, #4
	bl	_ewma_pkt_len_init
	ldr	x8, [x19, #16]
	add	x8, x8, x21
	ldr	w20, [x8, #4]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x20
	bl	_sg_init_table
	ldr	x8, [x19, #24]
	add	x0, x8, x22
	bl	_u64_stats_init
	ldr	x8, [x19, #16]
	add	x0, x8, x21
	bl	_u64_stats_init
	add	x23, x23, #1
	ldrsw	x8, [x19]
	add	x22, x22, #24
	add	x21, x21, #12
	cmp	x23, x8
	b.lt	LBB0_5
LBB0_6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
	ldr	x0, [x19, #16]
	bl	_kfree
LBB0_8:
	ldr	x0, [x19, #8]
	bl	_kfree
LBB0_9:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_refill_work,4,2                ; @refill_work
	.comm	_virtnet_poll,4,2               ; @virtnet_poll
	.comm	_napi_weight,4,2                ; @napi_weight
	.comm	_virtnet_poll_tx,4,2            ; @virtnet_poll_tx
	.comm	_napi_tx,8,3                    ; @napi_tx
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_virtnet_alloc_queues
.subsections_via_symbols
