	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenvif_select_queue
_xenvif_select_queue:                   ## @xenvif_select_queue
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	(%rax), %r12d
	movl	32(%rax), %edi
	callq	_READ_ONCE
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rax
	movq	_XEN_NETIF_CTRL_HASH_ALGORITHM_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_netdev_pick_tx
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_xenvif_set_skb_hash
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.7:
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	%r14, %rdi
	callq	_skb_get_hash_raw
	xorl	%edx, %edx
	divl	%r12d
                                        ## kill: def $edx killed $edx def $rdx
	movl	(%rbx,%rdx,4), %eax
	jmp	LBB0_8
LBB0_5:
	movq	%r14, %rdi
	callq	_skb_get_hash_raw
LBB0_6:
	xorl	%edx, %edx
	divl	(%r15)
	movl	%edx, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XEN_NETIF_CTRL_HASH_ALGORITHM_NONE,8,3 ## @XEN_NETIF_CTRL_HASH_ALGORITHM_NONE
	.no_dead_strip	_xenvif_select_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenvif_select_queue
_xenvif_select_queue:                   ; @xenvif_select_queue
	.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	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	w22, [x0]
	ldr	w0, [x0, #32]
	bl	_READ_ONCE
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x9, _XEN_NETIF_CTRL_HASH_ALGORITHM_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XEN_NETIF_CTRL_HASH_ALGORITHM_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_netdev_pick_tx
	b	LBB0_6
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	bl	_xenvif_set_skb_hash
	cbz	w22, LBB0_5
; %bb.4:
	ldp	x8, x9, [x21, #16]
	ldr	x19, [x8, x9, lsl #3]
	mov	x0, x20
	bl	_skb_get_hash_raw
	udiv	w8, w0, w22
	msub	w8, w8, w22, w0
	ldr	w0, [x19, w8, uxtw #2]
	b	LBB0_7
LBB0_5:
	mov	x0, x20
	bl	_skb_get_hash_raw
LBB0_6:
	ldr	w8, [x19]
	udiv	w9, w0, w8
	msub	w0, w9, w8, w0
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XEN_NETIF_CTRL_HASH_ALGORITHM_NONE,8,3 ; @XEN_NETIF_CTRL_HASH_ALGORITHM_NONE
	.no_dead_strip	_xenvif_select_queue
.subsections_via_symbols
