	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxgb4_select_ntuple            ## -- Begin function cxgb4_select_ntuple
	.p2align	4, 0x90
_cxgb4_select_ntuple:                   ## @cxgb4_select_ntuple
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_netdev2adap
	movq	%rax, %r15
	movl	8(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	js	LBB0_3
## %bb.1:
	movl	(%rbx), %edx
	movq	_VLAN_NONE@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	je	LBB0_3
## %bb.2:
	movq	_FT_VLAN_VLD_F@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movl	%edx, %eax
LBB0_3:
	movl	12(%r15), %ecx
	testl	%ecx, %ecx
	js	LBB0_5
## %bb.4:
	movl	8(%rbx), %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	orl	%edx, %eax
LBB0_5:
	movl	16(%r15), %ecx
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %edx
	xorl	%ebx, %ebx
	testl	%ecx, %ecx
	cmovnsl	%edx, %ebx
	orl	%eax, %ebx
	cmpq	$0, 24(%r15)
	js	LBB0_8
## %bb.6:
	movq	_VNIC_F@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 32(%r15)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movl	4(%rax), %edi
	callq	_FT_VNID_ID_VF_V
	movl	%eax, %r12d
	movl	(%r15), %edi
	callq	_FT_VNID_ID_PF_V
	movl	%eax, %r13d
	orl	%r12d, %r13d
	movl	(%r14), %edi
	callq	_FT_VNID_ID_VLD_V
	orl	%r13d, %eax
	movb	24(%r15), %cl
	shll	%cl, %eax
	orl	%eax, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VLAN_NONE,4,2                  ## @VLAN_NONE
	.comm	_FT_VLAN_VLD_F,4,2              ## @FT_VLAN_VLD_F
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_VNIC_F,4,2                     ## @VNIC_F
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxgb4_select_ntuple            ; -- Begin function cxgb4_select_ntuple
	.p2align	2
_cxgb4_select_ntuple:                   ; @cxgb4_select_ntuple
	.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	x21, x1
	mov	x20, x0
	bl	_netdev2adap
	mov	x19, x0
	ldr	w8, [x0, #8]
	tbnz	w8, #31, LBB0_2
; %bb.1:
	ldr	w9, [x21]
Lloh0:
	adrp	x10, _VLAN_NONE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _VLAN_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_8
LBB0_2:
	mov	w8, #0
	ldr	w9, [x19, #12]
	tbnz	w9, #31, LBB0_4
LBB0_3:
	ldr	w10, [x21, #8]
	lsl	w9, w10, w9
	orr	w8, w9, w8
LBB0_4:
	ldr	w9, [x19, #16]
Lloh3:
	adrp	x10, _IPPROTO_TCP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IPPROTO_TCP@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w10, w10, w9
	cmp	w9, #0
	csel	w9, wzr, w10, lt
	orr	w21, w9, w8
	ldr	x8, [x19, #24]
	tbnz	x8, #63, LBB0_7
; %bb.5:
	ldr	w8, [x19, #32]
Lloh6:
	adrp	x9, _VNIC_F@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VNIC_F@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_netdev_priv
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_FT_VNID_ID_VF_V
	mov	x22, x0
	ldr	w0, [x19]
	bl	_FT_VNID_ID_PF_V
	orr	w22, w0, w22
	ldr	w0, [x20]
	bl	_FT_VNID_ID_VLD_V
	orr	w8, w22, w0
	ldr	w9, [x19, #24]
	lsl	w8, w8, w9
	orr	w21, w8, w21
LBB0_7:
	mov	x0, x21
	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
LBB0_8:
Lloh9:
	adrp	x10, _FT_VLAN_VLD_F@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FT_VLAN_VLD_F@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
	lsl	w8, w9, w8
	ldr	w9, [x19, #12]
	tbz	w9, #31, LBB0_3
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_VLAN_NONE,4,2                  ; @VLAN_NONE
	.comm	_FT_VLAN_VLD_F,4,2              ; @FT_VLAN_VLD_F
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_VNIC_F,4,2                     ; @VNIC_F
.subsections_via_symbols
