	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_get_q_flags
_bnx2x_get_q_flags:                     ## @bnx2x_get_q_flags
	.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
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	callq	_IS_MF_SD
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_BNX2X_Q_FLG_OV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	___set_bit
LBB0_2:
	movq	%r13, %rdi
	callq	_IS_FCOE_FP
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_BNX2X_Q_FLG_FCOE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %r12
	movq	%r12, %rsi
	callq	___set_bit
	movq	_BNX2X_Q_FLG_FORCE_DEFAULT_PRI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	___set_bit
LBB0_4:
	movq	(%r13), %rax
	movq	_TPA_MODE_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.5:
	movq	_BNX2X_Q_FLG_TPA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %r12
	movq	%r12, %rsi
	callq	___set_bit
	movq	_BNX2X_Q_FLG_TPA_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	___set_bit
	movq	(%r13), %rax
	movq	_TPA_MODE_GRO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_BNX2X_Q_FLG_TPA_GRO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	___set_bit
LBB0_7:
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.8:
	movq	_BNX2X_Q_FLG_LEADING_RSS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %r15
	movq	%r15, %rsi
	callq	___set_bit
	movq	_BNX2X_Q_FLG_MCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	___set_bit
LBB0_9:
	movq	_BNX2X_Q_FLG_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	___set_bit
	movq	%r14, %rdi
	callq	_IS_MF_AFEX
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_BNX2X_Q_FLG_SILENT_VLAN_REM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	___set_bit
LBB0_11:
	movq	-48(%rbp), %rbx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_bnx2x_get_common_flags
	orq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_Q_FLG_OV,4,2             ## @BNX2X_Q_FLG_OV
	.comm	_BNX2X_Q_FLG_FCOE,4,2           ## @BNX2X_Q_FLG_FCOE
	.comm	_BNX2X_Q_FLG_FORCE_DEFAULT_PRI,4,2 ## @BNX2X_Q_FLG_FORCE_DEFAULT_PRI
	.comm	_TPA_MODE_DISABLED,8,3          ## @TPA_MODE_DISABLED
	.comm	_BNX2X_Q_FLG_TPA,4,2            ## @BNX2X_Q_FLG_TPA
	.comm	_BNX2X_Q_FLG_TPA_IPV6,4,2       ## @BNX2X_Q_FLG_TPA_IPV6
	.comm	_TPA_MODE_GRO,8,3               ## @TPA_MODE_GRO
	.comm	_BNX2X_Q_FLG_TPA_GRO,4,2        ## @BNX2X_Q_FLG_TPA_GRO
	.comm	_BNX2X_Q_FLG_LEADING_RSS,4,2    ## @BNX2X_Q_FLG_LEADING_RSS
	.comm	_BNX2X_Q_FLG_MCAST,4,2          ## @BNX2X_Q_FLG_MCAST
	.comm	_BNX2X_Q_FLG_VLAN,4,2           ## @BNX2X_Q_FLG_VLAN
	.comm	_BNX2X_Q_FLG_SILENT_VLAN_REM,4,2 ## @BNX2X_Q_FLG_SILENT_VLAN_REM
	.no_dead_strip	_bnx2x_get_q_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_get_q_flags
_bnx2x_get_q_flags:                     ; @bnx2x_get_q_flags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x19, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	bl	_IS_MF_SD
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _BNX2X_Q_FLG_OV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_Q_FLG_OV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
LBB0_2:
	mov	x0, x19
	bl	_I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p, #8
	bl	___set_bit
LBB0_7:
	cbz	w21, LBB0_9
; %bb.8:
Lloh24:
	adrp	x8, _BNX2X_Q_FLG_LEADING_RSS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BNX2X_Q_FLG_LEADING_RSS@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
Lloh27:
	adrp	x8, _BNX2X_Q_FLG_MCAST@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BNX2X_Q_FLG_MCAST@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
LBB0_9:
Lloh30:
	adrp	x8, _BNX2X_Q_FLG_VLAN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BNX2X_Q_FLG_VLAN@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
	mov	x0, x20
	bl	_IS_MF_AFEX
	cbz	x0, LBB0_11
; %bb.10:
Lloh33:
	adrp	x8, _BNX2X_Q_FLG_SILENT_VLAN_REM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _BNX2X_Q_FLG_SILENT_VLAN_REM@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
LBB0_11:
	ldr	x21, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_bnx2x_get_common_flags
	orr	x0, x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_Q_FLG_OV,4,2             ; @BNX2X_Q_FLG_OV
	.comm	_BNX2X_Q_FLG_FCOE,4,2           ; @BNX2X_Q_FLG_FCOE
	.comm	_BNX2X_Q_FLG_FORCE_DEFAULT_PRI,4,2 ; @BNX2X_Q_FLG_FORCE_DEFAULT_PRI
	.comm	_TPA_MODE_DISABLED,8,3          ; @TPA_MODE_DISABLED
	.comm	_BNX2X_Q_FLG_TPA,4,2            ; @BNX2X_Q_FLG_TPA
	.comm	_BNX2X_Q_FLG_TPA_IPV6,4,2       ; @BNX2X_Q_FLG_TPA_IPV6
	.comm	_TPA_MODE_GRO,8,3               ; @TPA_MODE_GRO
	.comm	_BNX2X_Q_FLG_TPA_GRO,4,2        ; @BNX2X_Q_FLG_TPA_GRO
	.comm	_BNX2X_Q_FLG_LEADING_RSS,4,2    ; @BNX2X_Q_FLG_LEADING_RSS
	.comm	_BNX2X_Q_FLG_MCAST,4,2          ; @BNX2X_Q_FLG_MCAST
	.comm	_BNX2X_Q_FLG_VLAN,4,2           ; @BNX2X_Q_FLG_VLAN
	.comm	_BNX2X_Q_FLG_SILENT_VLAN_REM,4,2 ; @BNX2X_Q_FLG_SILENT_VLAN_REM
	.no_dead_strip	_bnx2x_get_q_flags
.subsections_via_symbols
