	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_get_common_flags
_bnx2x_get_common_flags:                ## @bnx2x_get_common_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movq	$0, -24(%rbp)
	movq	_BNX2X_Q_FLG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %r14
	movq	%r14, %rsi
	callq	___set_bit
	movq	_BNX2X_Q_FLG_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	___set_bit
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_BNX2X_Q_FLG_ZERO_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	callq	___set_bit
LBB0_2:
	movq	_BNX2X_Q_FLG_PCSUM_ON_PKT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	callq	___set_bit
	movq	-24(%rbp), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_Q_FLG_ACTIVE,4,2         ## @BNX2X_Q_FLG_ACTIVE
	.comm	_BNX2X_Q_FLG_STATS,4,2          ## @BNX2X_Q_FLG_STATS
	.comm	_BNX2X_Q_FLG_ZERO_STATS,4,2     ## @BNX2X_Q_FLG_ZERO_STATS
	.comm	_BNX2X_Q_FLG_PCSUM_ON_PKT,4,2   ## @BNX2X_Q_FLG_PCSUM_ON_PKT
	.comm	_BNX2X_Q_FLG_TX_SEC,4,2         ## @BNX2X_Q_FLG_TX_SEC
	.no_dead_strip	_bnx2x_get_common_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_common_flags
_bnx2x_get_common_flags:                ; @bnx2x_get_common_flags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _BNX2X_Q_FLG_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_Q_FLG_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
Lloh3:
	adrp	x8, _BNX2X_Q_FLG_STATS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_Q_FLG_STATS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
	cbz	w19, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _BNX2X_Q_FLG_ZERO_STATS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_Q_FLG_ZERO_STATS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
LBB0_2:
Lloh9:
	adrp	x8, _BNX2X_Q_FLG_PCSUM_ON_PKT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BNX2X_Q_FLG_PCSUM_ON_PKT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_Q_FLG_ACTIVE,4,2         ; @BNX2X_Q_FLG_ACTIVE
	.comm	_BNX2X_Q_FLG_STATS,4,2          ; @BNX2X_Q_FLG_STATS
	.comm	_BNX2X_Q_FLG_ZERO_STATS,4,2     ; @BNX2X_Q_FLG_ZERO_STATS
	.comm	_BNX2X_Q_FLG_PCSUM_ON_PKT,4,2   ; @BNX2X_Q_FLG_PCSUM_ON_PKT
	.comm	_BNX2X_Q_FLG_TX_SEC,4,2         ; @BNX2X_Q_FLG_TX_SEC
	.no_dead_strip	_bnx2x_get_common_flags
.subsections_via_symbols
