	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_q_fill_init_tx_data
_bnx2x_q_fill_init_tx_data:             ## @bnx2x_q_fill_init_tx_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	_BNX2X_Q_FLG_TX_SEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rcx, %rsi
	callq	_test_bit
	movq	%rax, 80(%rbx)
	movl	16(%r14), %edi
	callq	_cpu_to_le16
	movl	%eax, 72(%rbx)
	movq	_BNX2X_Q_FLG_DEF_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	movq	%rax, 64(%rbx)
	movq	_BNX2X_Q_FLG_TX_SWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	movq	%rax, 56(%rbx)
	movq	_BNX2X_Q_FLG_ANTI_SPOOF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	movq	%rax, 48(%rbx)
	movq	_BNX2X_Q_FLG_FORCE_DEFAULT_PRI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	movq	%rax, 40(%rbx)
	movq	_BNX2X_Q_FLG_PCSUM_ON_PKT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_PCSUM_ON_BD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PCSUM_ON_PKT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movl	12(%r14), %eax
	movl	%eax, 32(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 28(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 24(%rbx)
	movl	(%r14), %edi
	callq	_U64_LO
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%rbx)
	movl	(%r14), %edi
	callq	_U64_HI
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%rbx)
	movq	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_Q_FLG_TX_SEC,4,2         ## @BNX2X_Q_FLG_TX_SEC
	.comm	_BNX2X_Q_FLG_DEF_VLAN,4,2       ## @BNX2X_Q_FLG_DEF_VLAN
	.comm	_BNX2X_Q_FLG_TX_SWITCH,4,2      ## @BNX2X_Q_FLG_TX_SWITCH
	.comm	_BNX2X_Q_FLG_ANTI_SPOOF,4,2     ## @BNX2X_Q_FLG_ANTI_SPOOF
	.comm	_BNX2X_Q_FLG_FORCE_DEFAULT_PRI,4,2 ## @BNX2X_Q_FLG_FORCE_DEFAULT_PRI
	.comm	_BNX2X_Q_FLG_PCSUM_ON_PKT,4,2   ## @BNX2X_Q_FLG_PCSUM_ON_PKT
	.comm	_PCSUM_ON_PKT,4,2               ## @PCSUM_ON_PKT
	.comm	_PCSUM_ON_BD,4,2                ## @PCSUM_ON_BD
	.no_dead_strip	_bnx2x_q_fill_init_tx_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_tx_data
_bnx2x_q_fill_init_tx_data:             ; @bnx2x_q_fill_init_tx_data
	.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, x3
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _BNX2X_Q_FLG_TX_SEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_Q_FLG_TX_SEC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x3
	bl	_test_bit
	str	x0, [x19, #80]
	ldr	w0, [x20, #16]
	bl	_cpu_to_le16
	str	w0, [x19, #72]
Lloh3:
	adrp	x8, _BNX2X_Q_FLG_DEF_VLAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_Q_FLG_DEF_VLAN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	str	x0, [x19, #64]
Lloh6:
	adrp	x8, _BNX2X_Q_FLG_TX_SWITCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_Q_FLG_TX_SWITCH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	str	x0, [x19, #56]
Lloh9:
	adrp	x8, _BNX2X_Q_FLG_ANTI_SPOOF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BNX2X_Q_FLG_ANTI_SPOOF@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	str	x0, [x19, #48]
Lloh12:
	adrp	x8, _BNX2X_Q_FLG_FORCE_DEFAULT_PRI@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNX2X_Q_FLG_FORCE_DEFAULT_PRI@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	str	x0, [x19, #40]
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]
	mov	x1, x21
	bl	_test_bit
Lloh18:
	adrp	x8, _PCSUM_ON_PKT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PCSUM_ON_PKT@GOTPAGEOFF]
Lloh20:
	adrp	x9, _PCSUM_ON_BD@GOTPAGE
Lloh21:
	ldr	x9, [x9, _PCSUM_ON_BD@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	ldr	w9, [x20, #12]
	stp	w9, w8, [x19, #32]
	ldur	d0, [x20, #4]
	str	d0, [x19, #24]
	ldr	w0, [x20]
	bl	_U64_LO
	bl	_cpu_to_le32
	str	x0, [x19, #16]
	ldr	w0, [x20]
	bl	_U64_HI
	bl	_cpu_to_le32
	stp	xzr, x0, [x19]
	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
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_Q_FLG_TX_SEC,4,2         ; @BNX2X_Q_FLG_TX_SEC
	.comm	_BNX2X_Q_FLG_DEF_VLAN,4,2       ; @BNX2X_Q_FLG_DEF_VLAN
	.comm	_BNX2X_Q_FLG_TX_SWITCH,4,2      ; @BNX2X_Q_FLG_TX_SWITCH
	.comm	_BNX2X_Q_FLG_ANTI_SPOOF,4,2     ; @BNX2X_Q_FLG_ANTI_SPOOF
	.comm	_BNX2X_Q_FLG_FORCE_DEFAULT_PRI,4,2 ; @BNX2X_Q_FLG_FORCE_DEFAULT_PRI
	.comm	_BNX2X_Q_FLG_PCSUM_ON_PKT,4,2   ; @BNX2X_Q_FLG_PCSUM_ON_PKT
	.comm	_PCSUM_ON_PKT,4,2               ; @PCSUM_ON_PKT
	.comm	_PCSUM_ON_BD,4,2                ; @PCSUM_ON_BD
	.no_dead_strip	_bnx2x_q_fill_init_tx_data
.subsections_via_symbols
