	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function virtnet_open
_virtnet_open:                          ## @virtnet_open
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.1:
	movq	%rax, %r15
	addq	$24, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$8, %r13d
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	4(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rax
	leaq	(%rax,%r13), %rsi
	addq	$-8, %rsi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_try_fill_recv
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_schedule_delayed_work
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rdi
	addq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_xdp_rxq_info_reg
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rdi
	addq	%r13, %rdi
	movq	_MEM_TYPE_PAGE_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_xdp_rxq_info_reg_mem_model
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rax
	movl	-4(%rax,%r13), %edi
	leaq	(%rax,%r13), %rsi
	addq	$-8, %rsi
	callq	_virtnet_napi_enable
	movq	8(%r15), %rdx
	movl	4(%rdx,%rbx,8), %esi
	addq	%r14, %rdx
	movq	%r15, %rdi
	callq	_virtnet_napi_tx_enable
	incq	%rbx
	movslq	(%r15), %rax
	addq	$12, %r13
	addq	$8, %r14
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_10:
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_6:
	movl	%eax, %r12d
	jmp	LBB0_11
LBB0_8:
	movl	%eax, %r12d
	addq	16(%r15), %r13
	movq	%r13, %rdi
	callq	_xdp_rxq_info_unreg
LBB0_11:
	movl	%r12d, %eax
	addq	$24, %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	_MEM_TYPE_PAGE_SHARED,4,2       ## @MEM_TYPE_PAGE_SHARED
	.no_dead_strip	_virtnet_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function virtnet_open
_virtnet_open:                          ; @virtnet_open
	.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
	bl	_netdev_priv
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x20, x0
	mov	x24, #0
	mov	x21, #0
	add	x22, x0, #24
	mov	w25, #4
Lloh0:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	adrp	x27, _MEM_TYPE_PAGE_SHARED@GOTPAGE
Lloh3:
	ldr	x27, [x27, _MEM_TYPE_PAGE_SHARED@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x20, #4]
	cmp	x21, x8
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #16]
	add	x1, x8, x24
	ldr	w2, [x26]
	mov	x0, x20
	bl	_try_fill_recv
	cbnz	w0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	mov	w1, #0
	bl	_schedule_delayed_work
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #16]
	add	x8, x8, x24
	add	x0, x8, #8
	mov	x1, x19
	mov	x2, x21
	bl	_xdp_rxq_info_reg
	tbnz	w0, #31, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #16]
	add	x8, x8, x24
	add	x0, x8, #8
	ldr	w1, [x27]
	mov	x2, #0
	bl	_xdp_rxq_info_reg_mem_model
	tbnz	w0, #31, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #16]
	add	x1, x8, x24
	ldr	w0, [x1, #4]
	bl	_virtnet_napi_enable
	ldr	x8, [x20, #8]
	add	x2, x8, x25
	ldr	w1, [x2], #-4
	mov	x0, x20
	bl	_virtnet_napi_tx_enable
	add	x21, x21, #1
	ldrsw	x8, [x20]
	add	x24, x24, #12
	add	x25, x25, #8
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_8:
	mov	w23, #0
	b	LBB0_11
LBB0_9:
	mov	x23, x0
	b	LBB0_11
LBB0_10:
	mov	x23, x0
	ldr	x8, [x20, #16]
	add	x8, x8, x24
	add	x0, x8, #8
	bl	_xdp_rxq_info_unreg
LBB0_11:
	mov	x0, x23
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_MEM_TYPE_PAGE_SHARED,4,2       ; @MEM_TYPE_PAGE_SHARED
	.no_dead_strip	_virtnet_open
.subsections_via_symbols
