	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xennet_open
_xennet_open:                           ## @xennet_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	leaq	4(%rax), %r15
	movq	%r15, %rdi
	callq	_napi_enable
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movq	%r14, %rdi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_xennet_alloc_rx_buffers
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	incq	%rax
	movq	%rax, (%rcx)
	callq	_RING_HAS_UNCONSUMED_RESPONSES
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_napi_schedule
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movq	%r14, %rdi
	callq	_netif_start_queue
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xennet_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xennet_open
_xennet_open:                           ; @xennet_open
	.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	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	add	x21, x0, #4
	mov	x0, x21
	bl	_napi_enable
	mov	x0, x20
	bl	_spin_lock_bh
	mov	x0, x19
	bl	_netif_carrier_ok
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_xennet_alloc_rx_buffers
	mov	x0, x20
	ldp	x8, x9, [x0, #8]!
	add	x8, x8, #1
	str	x8, [x9]
	bl	_RING_HAS_UNCONSUMED_RESPONSES
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_napi_schedule
LBB0_3:
	mov	x0, x20
	bl	_spin_unlock_bh
	mov	x0, x19
	bl	_netif_start_queue
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xennet_open
.subsections_via_symbols
