	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb_select_queue
_cxgb_select_queue:                     ## @cxgb_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_select_queue@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_skb_rx_queue_recorded
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_skb_get_rx_queue
	jmp	LBB0_4
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_netdev_pick_tx
	cltd
	idivl	(%r14)
	movl	%edx, %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	callq	_smp_processor_id
LBB0_4:
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	(%r14), %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %eax
	subl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_select_queue,8,3               ## @select_queue
	.comm	_ETH_P_FCOE,4,2                 ## @ETH_P_FCOE
	.comm	_VLAN_PRIO_MASK,4,2             ## @VLAN_PRIO_MASK
	.comm	_VLAN_PRIO_SHIFT,4,2            ## @VLAN_PRIO_SHIFT
	.no_dead_strip	_cxgb_select_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxgb_select_queue
_cxgb_select_queue:                     ; @cxgb_select_queue
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _select_queue@GOTPAGE
Lloh1:
	ldr	x8, [x8, _select_queue@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_skb_rx_queue_recorded
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_skb_get_rx_queue
	b	LBB0_6
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_netdev_pick_tx
	ldr	w8, [x19]
	sdiv	w9, w0, w8
	msub	w20, w9, w8, w0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	_smp_processor_id
LBB0_6:
	mov	x20, x0
	ldr	w8, [x19]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w20, w8
	cset	w0, ge
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19]
	sub	w20, w20, w8
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_select_queue,8,3               ; @select_queue
	.comm	_ETH_P_FCOE,4,2                 ; @ETH_P_FCOE
	.comm	_VLAN_PRIO_MASK,4,2             ; @VLAN_PRIO_MASK
	.comm	_VLAN_PRIO_SHIFT,4,2            ; @VLAN_PRIO_SHIFT
	.no_dead_strip	_cxgb_select_queue
.subsections_via_symbols
