	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_q_fill_init_general_data
_bnx2x_q_fill_init_general_data:        ## @bnx2x_q_fill_init_general_data
	.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	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movl	4(%rsi), %eax
	movl	%eax, 56(%rcx)
	movq	_BNX2X_Q_FLG_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r8, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	12(%r15), %eax
	movl	%eax, 40(%rbx)
	movl	$1, (%rbx)
	movq	_BNX2X_Q_FLG_ZERO_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	movq	%rax, 48(%rbx)
	jmp	LBB0_3
LBB0_2:
	movq	_DISABLE_STATISTIC_COUNTER_ID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
LBB0_3:
	movq	_BNX2X_Q_FLG_FCOE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_test_bit
	movq	%rax, 32(%rbx)
	movq	_BNX2X_Q_FLG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	movq	%rax, 8(%rbx)
	movl	8(%r15), %eax
	movl	%eax, 28(%rbx)
	movl	4(%r15), %edi
	callq	_cpu_to_le16
	movl	%eax, 24(%rbx)
	movl	(%r12), %eax
	movl	%eax, 20(%rbx)
	movl	(%r15), %eax
	movl	%eax, 4(%rbx)
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_LLFC_TRAFFIC_TYPE_NW@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_LLFC_TRAFFIC_TYPE_FCOE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rdx
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.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	_DISABLE_STATISTIC_COUNTER_ID_VALUE,4,2 ## @DISABLE_STATISTIC_COUNTER_ID_VALUE
	.comm	_BNX2X_Q_FLG_FCOE,4,2           ## @BNX2X_Q_FLG_FCOE
	.comm	_BNX2X_Q_FLG_ACTIVE,4,2         ## @BNX2X_Q_FLG_ACTIVE
	.comm	_LLFC_TRAFFIC_TYPE_FCOE,4,2     ## @LLFC_TRAFFIC_TYPE_FCOE
	.comm	_LLFC_TRAFFIC_TYPE_NW,4,2       ## @LLFC_TRAFFIC_TYPE_NW
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flags: active %d, cos %d, stats en %d\n"

	.no_dead_strip	_bnx2x_q_fill_init_general_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_q_fill_init_general_data
_bnx2x_q_fill_init_general_data:        ; @bnx2x_q_fill_init_general_data
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	ldr	w8, [x1, #4]
	str	w8, [x3, #56]
Lloh0:
	adrp	x8, _BNX2X_Q_FLG_STATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_Q_FLG_STATS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x4
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x21, #12]
	str	w8, [x19, #40]
	mov	w8, #1
	str	w8, [x19]
Lloh3:
	adrp	x8, _BNX2X_Q_FLG_ZERO_STATS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_Q_FLG_ZERO_STATS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	str	x0, [x19, #48]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _DISABLE_STATISTIC_COUNTER_ID_VALUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DISABLE_STATISTIC_COUNTER_ID_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #40]
LBB0_3:
Lloh9:
	adrp	x23, _BNX2X_Q_FLG_FCOE@GOTPAGE
Lloh10:
	ldr	x23, [x23, _BNX2X_Q_FLG_FCOE@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x20
	bl	_test_bit
	str	x0, [x19, #32]
Lloh11:
	adrp	x8, _BNX2X_Q_FLG_ACTIVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BNX2X_Q_FLG_ACTIVE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	str	x0, [x19, #8]
	ldp	w0, w8, [x21, #4]
	str	w8, [x19, #28]
	bl	_cpu_to_le16
	ldr	w8, [x22]
	stp	w8, w0, [x19, #20]
	ldr	w8, [x21]
	str	w8, [x19, #4]
	ldr	w0, [x23]
	mov	x1, x20
	bl	_test_bit
Lloh14:
	adrp	x8, _LLFC_TRAFFIC_TYPE_FCOE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LLFC_TRAFFIC_TYPE_FCOE@GOTPAGEOFF]
Lloh16:
	adrp	x9, _LLFC_TRAFFIC_TYPE_NW@GOTPAGE
Lloh17:
	ldr	x9, [x9, _LLFC_TRAFFIC_TYPE_NW@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _BNX2X_MSG_SP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BNX2X_MSG_SP@GOTPAGEOFF]
	str	w8, [x19, #16]
Lloh20:
	ldr	w0, [x9]
	ldr	x2, [x19, #8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	ldp	w4, w3, [x19]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_DP
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.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	_DISABLE_STATISTIC_COUNTER_ID_VALUE,4,2 ; @DISABLE_STATISTIC_COUNTER_ID_VALUE
	.comm	_BNX2X_Q_FLG_FCOE,4,2           ; @BNX2X_Q_FLG_FCOE
	.comm	_BNX2X_Q_FLG_ACTIVE,4,2         ; @BNX2X_Q_FLG_ACTIVE
	.comm	_LLFC_TRAFFIC_TYPE_FCOE,4,2     ; @LLFC_TRAFFIC_TYPE_FCOE
	.comm	_LLFC_TRAFFIC_TYPE_NW,4,2       ; @LLFC_TRAFFIC_TYPE_NW
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flags: active %d, cos %d, stats en %d\n"

	.no_dead_strip	_bnx2x_q_fill_init_general_data
.subsections_via_symbols
