	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xenvif_kthread_guest_rx        ## -- Begin function xenvif_kthread_guest_rx
	.p2align	4, 0x90
_xenvif_kthread_guest_rx:               ## @xenvif_kthread_guest_rx
	.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, %rbx
	movq	16(%rdi), %r14
	cmpq	$0, (%r14)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_xenvif_queue_carrier_on
LBB0_2:
	movq	%rbx, %rdi
	callq	_xenvif_wait_for_rx_work
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	jne	LBB0_17
## %bb.3:
	leaq	8(%rbx), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	callq	_xenvif_queue_carrier_off
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_xenvif_rx_queue_drop_expired
	xorl	%eax, %eax
	callq	_cond_resched
	movq	%rbx, %rdi
	callq	_xenvif_wait_for_rx_work
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	jne	LBB0_17
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%r14)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, (%rbx)
	sete	%al
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, (%r14)
	jne	LBB0_12
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_xenvif_rx_action
	cmpq	$0, (%r14)
	je	LBB0_16
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_xenvif_rx_queue_stalled
	movq	%rbx, %rdi
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	callq	_xenvif_rx_queue_ready
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_xenvif_queue_carrier_on
	jmp	LBB0_16
LBB0_8:
	movq	%r14, %rdi
	callq	_xenvif_carrier_off
LBB0_17:
	movq	%rbx, %rdi
	callq	_xenvif_rx_queue_purge
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xenvif_kthread_guest_rx        ; -- Begin function xenvif_kthread_guest_rx
	.p2align	2
_xenvif_kthread_guest_rx:               ; @xenvif_kthread_guest_rx
	.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
	ldr	x20, [x0, #16]
	ldr	x8, [x20]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_xenvif_queue_carrier_on
LBB0_2:
	mov	x0, x19
	bl	_xenvif_wait_for_rx_work
	bl	_kthread_should_stop
	cbnz	x0, LBB0_16
; %bb.3:
	add	x21, x19, #8
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_xenvif_queue_carrier_off
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_xenvif_rx_queue_drop_expired
	bl	_cond_resched
	mov	x0, x19
	bl	_xenvif_wait_for_rx_work
	bl	_kthread_should_stop
	cbnz	x0, LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_9
	b	LBB0_15
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #0
	bl	_unlikely
	cbnz	x0, LBB0_15
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_skb_queue_empty
	cbz	w0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	cbnz	x8, LBB0_12
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_xenvif_rx_action
	ldr	x8, [x20]
	cbz	x8, LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_xenvif_rx_queue_stalled
	cbnz	x0, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_xenvif_rx_queue_ready
	cbz	x0, LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_xenvif_queue_carrier_on
	b	LBB0_5
LBB0_15:
	mov	x0, x20
	bl	_xenvif_carrier_off
LBB0_16:
	mov	x0, x19
	bl	_xenvif_rx_queue_purge
	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
.subsections_via_symbols
