	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rdi, %r14
	movq	$0, -32(%rbp)
	movq	_BNX2X_Q_FLG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %r15
	movq	%r15, %rsi
	callq	___set_bit
	movq	_BNX2X_Q_FLG_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %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	-32(%rbp), %rsi
	callq	___set_bit
LBB0_2:
	movq	_TX_SWITCHING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_4
## %bb.3:
	movq	_BNX2X_Q_FLG_TX_SWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rsi
	callq	___set_bit
LBB0_4:
	movq	_BNX2X_Q_FLG_PCSUM_ON_PKT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rsi
	callq	___set_bit
	movq	_BNX2X_Q_FLG_TUN_INC_INNER_IP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	___set_bit
	movq	-32(%rbp), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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	_TX_SWITCHING,4,2               ## @TX_SWITCHING
	.comm	_BNX2X_Q_FLG_TX_SWITCH,4,2      ## @BNX2X_Q_FLG_TX_SWITCH
	.comm	_BNX2X_Q_FLG_PCSUM_ON_PKT,4,2   ## @BNX2X_Q_FLG_PCSUM_ON_PKT
	.comm	_BNX2X_Q_FLG_TUN_INC_INNER_IP_ID,4,2 ## @BNX2X_Q_FLG_TUN_INC_INNER_IP_ID
	.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	x20, x2
	mov	x19, x0
	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	w20, 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:
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _TX_SWITCHING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TX_SWITCHING@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _BNX2X_Q_FLG_TX_SWITCH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNX2X_Q_FLG_TX_SWITCH@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
LBB0_4:
Lloh15:
	adrp	x8, _BNX2X_Q_FLG_PCSUM_ON_PKT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BNX2X_Q_FLG_PCSUM_ON_PKT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
Lloh18:
	adrp	x8, _BNX2X_Q_FLG_TUN_INC_INNER_IP_ID@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BNX2X_Q_FLG_TUN_INC_INNER_IP_ID@GOTPAGEOFF]
Lloh20:
	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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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	_TX_SWITCHING,4,2               ; @TX_SWITCHING
	.comm	_BNX2X_Q_FLG_TX_SWITCH,4,2      ; @BNX2X_Q_FLG_TX_SWITCH
	.comm	_BNX2X_Q_FLG_PCSUM_ON_PKT,4,2   ; @BNX2X_Q_FLG_PCSUM_ON_PKT
	.comm	_BNX2X_Q_FLG_TUN_INC_INNER_IP_ID,4,2 ; @BNX2X_Q_FLG_TUN_INC_INNER_IP_ID
	.comm	_BNX2X_Q_FLG_TX_SEC,4,2         ; @BNX2X_Q_FLG_TX_SEC
	.no_dead_strip	_bnx2x_get_common_flags
.subsections_via_symbols
