	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_func_send_switch_update
_bnx2x_func_send_switch_update:         ## @bnx2x_func_send_switch_update
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	24(%rsi), %rax
	movq	8(%rax), %r13
	movl	(%rax), %r15d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$88, %edx
	callq	_memset
	movq	_BNX2X_F_UPDATE_TX_SWITCH_SUSPEND_CHNG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r12), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, (%r13)
	movq	_BNX2X_F_UPDATE_TX_SWITCH_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movq	%rax, 80(%r13)
LBB0_2:
	movq	_BNX2X_F_UPDATE_SD_VLAN_TAG_CHNG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$1, 4(%r13)
	movl	20(%r12), %edi
	callq	_cpu_to_le16
	movq	%rax, 72(%r13)
LBB0_4:
	movq	_BNX2X_F_UPDATE_SD_VLAN_ETH_TYPE_CHNG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	$1, 8(%r13)
	movl	16(%r12), %edi
	callq	_cpu_to_le16
	movq	%rax, 64(%r13)
LBB0_6:
	movq	_BNX2X_F_UPDATE_VLAN_FORCE_PRIO_CHNG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	$1, 12(%r13)
	movq	_BNX2X_F_UPDATE_VLAN_FORCE_PRIO_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movl	(%r12), %eax
	movl	%eax, 16(%r13)
LBB0_8:
	movq	_BNX2X_F_UPDATE_TUNNEL_CFG_CHNG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_18
## %bb.9:
	movl	$1, 20(%r13)
	movq	_BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GRE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	$1, 24(%r13)
LBB0_11:
	movq	_BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_VXLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	$1, 28(%r13)
LBB0_13:
	movq	_BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GENEVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	$1, 32(%r13)
LBB0_15:
	movq	_BNX2X_F_UPDATE_TUNNEL_INNER_RSS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movl	$1, 36(%r13)
LBB0_17:
	movl	8(%r12), %edi
	callq	_cpu_to_le16
	movq	%rax, 56(%r13)
	movl	4(%r12), %edi
	callq	_cpu_to_le16
	movq	%rax, 48(%r13)
LBB0_18:
	movq	_SWITCH_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r13)
	movq	_RAMROD_CMD_ID_COMMON_FUNCTION_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r15d, %edi
	callq	_U64_HI
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_U64_LO
	movq	_NONE_CONNECTION_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_sp_post                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_F_UPDATE_TX_SWITCH_SUSPEND_CHNG,4,2 ## @BNX2X_F_UPDATE_TX_SWITCH_SUSPEND_CHNG
	.comm	_BNX2X_F_UPDATE_TX_SWITCH_SUSPEND,4,2 ## @BNX2X_F_UPDATE_TX_SWITCH_SUSPEND
	.comm	_BNX2X_F_UPDATE_SD_VLAN_TAG_CHNG,4,2 ## @BNX2X_F_UPDATE_SD_VLAN_TAG_CHNG
	.comm	_BNX2X_F_UPDATE_SD_VLAN_ETH_TYPE_CHNG,4,2 ## @BNX2X_F_UPDATE_SD_VLAN_ETH_TYPE_CHNG
	.comm	_BNX2X_F_UPDATE_VLAN_FORCE_PRIO_CHNG,4,2 ## @BNX2X_F_UPDATE_VLAN_FORCE_PRIO_CHNG
	.comm	_BNX2X_F_UPDATE_VLAN_FORCE_PRIO_FLAG,4,2 ## @BNX2X_F_UPDATE_VLAN_FORCE_PRIO_FLAG
	.comm	_BNX2X_F_UPDATE_TUNNEL_CFG_CHNG,4,2 ## @BNX2X_F_UPDATE_TUNNEL_CFG_CHNG
	.comm	_BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GRE,4,2 ## @BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GRE
	.comm	_BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_VXLAN,4,2 ## @BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_VXLAN
	.comm	_BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GENEVE,4,2 ## @BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GENEVE
	.comm	_BNX2X_F_UPDATE_TUNNEL_INNER_RSS,4,2 ## @BNX2X_F_UPDATE_TUNNEL_INNER_RSS
	.comm	_SWITCH_UPDATE,4,2              ## @SWITCH_UPDATE
	.comm	_RAMROD_CMD_ID_COMMON_FUNCTION_UPDATE,4,2 ## @RAMROD_CMD_ID_COMMON_FUNCTION_UPDATE
	.comm	_NONE_CONNECTION_TYPE,4,2       ## @NONE_CONNECTION_TYPE
	.no_dead_strip	_bnx2x_func_send_switch_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_func_send_switch_update
_bnx2x_func_send_switch_update:         ; @bnx2x_func_send_switch_update
	.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	x22, x1
	mov	x19, x0
	ldr	x8, [x1, #24]
	ldr	x21, [x8, #8]
	ldr	w20, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #88
	bl	_memset
Lloh0:
	adrp	x8, _BNX2X_F_UPDATE_TX_SWITCH_SUSPEND_CHNG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_F_UPDATE_TX_SWITCH_SUSPEND_CHNG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x23, x22, #12
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x21]
Lloh3:
	adrp	x8, _BNX2X_F_UPDATE_TX_SWITCH_SUSPEND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_F_UPDATE_TX_SWITCH_SUSPEND@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	str	x0, [x21, #80]
LBB0_2:
Lloh6:
	adrp	x8, _BNX2X_F_UPDATE_SD_VLAN_TAG_CHNG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_F_UPDATE_SD_VLAN_TAG_CHNG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x21, #4]
	ldr	w0, [x22, #20]
	bl	_cpu_to_le16
	str	x0, [x21, #72]
LBB0_4:
Lloh9:
	adrp	x8, _BNX2X_F_UPDATE_SD_VLAN_ETH_TYPE_CHNG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BNX2X_F_UPDATE_SD_VLAN_ETH_TYPE_CHNG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x21, #8]
	ldr	w0, [x22, #16]
	bl	_cpu_to_le16
	str	x0, [x21, #64]
LBB0_6:
Lloh12:
	adrp	x8, _BNX2X_F_UPDATE_VLAN_FORCE_PRIO_CHNG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNX2X_F_UPDATE_VLAN_FORCE_PRIO_CHNG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x21, #12]
Lloh15:
	adrp	x8, _BNX2X_F_UPDATE_VLAN_FORCE_PRIO_FLAG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BNX2X_F_UPDATE_VLAN_FORCE_PRIO_FLAG@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	ldr	w8, [x22]
	str	w8, [x21, #16]
LBB0_8:
Lloh18:
	adrp	x8, _BNX2X_F_UPDATE_TUNNEL_CFG_CHNG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BNX2X_F_UPDATE_TUNNEL_CFG_CHNG@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_18
; %bb.9:
	mov	w24, #1
	str	w24, [x21, #20]
Lloh21:
	adrp	x8, _BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GRE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GRE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_11
; %bb.10:
	str	w24, [x21, #24]
LBB0_11:
Lloh24:
	adrp	x8, _BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_VXLAN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_VXLAN@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_13
; %bb.12:
	mov	w8, #1
	str	w8, [x21, #28]
LBB0_13:
Lloh27:
	adrp	x8, _BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GENEVE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GENEVE@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_15
; %bb.14:
	mov	w8, #1
	str	w8, [x21, #32]
LBB0_15:
Lloh30:
	adrp	x8, _BNX2X_F_UPDATE_TUNNEL_INNER_RSS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BNX2X_F_UPDATE_TUNNEL_INNER_RSS@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_17
; %bb.16:
	mov	w8, #1
	str	w8, [x21, #36]
LBB0_17:
	ldr	w0, [x22, #8]
	bl	_cpu_to_le16
	str	x0, [x21, #56]
	ldr	w0, [x22, #4]
	bl	_cpu_to_le16
	str	x0, [x21, #48]
LBB0_18:
Lloh33:
	adrp	x8, _SWITCH_UPDATE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SWITCH_UPDATE@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [x21, #40]
Lloh36:
	adrp	x8, _RAMROD_CMD_ID_COMMON_FUNCTION_UPDATE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RAMROD_CMD_ID_COMMON_FUNCTION_UPDATE@GOTPAGEOFF]
Lloh38:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_U64_HI
	mov	x22, x0
	mov	x0, x20
	bl	_U64_LO
	mov	x4, x0
Lloh39:
	adrp	x8, _NONE_CONNECTION_TYPE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _NONE_CONNECTION_TYPE@GOTPAGEOFF]
Lloh41:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	x3, x22
	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	_bnx2x_sp_post
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_F_UPDATE_TX_SWITCH_SUSPEND_CHNG,4,2 ; @BNX2X_F_UPDATE_TX_SWITCH_SUSPEND_CHNG
	.comm	_BNX2X_F_UPDATE_TX_SWITCH_SUSPEND,4,2 ; @BNX2X_F_UPDATE_TX_SWITCH_SUSPEND
	.comm	_BNX2X_F_UPDATE_SD_VLAN_TAG_CHNG,4,2 ; @BNX2X_F_UPDATE_SD_VLAN_TAG_CHNG
	.comm	_BNX2X_F_UPDATE_SD_VLAN_ETH_TYPE_CHNG,4,2 ; @BNX2X_F_UPDATE_SD_VLAN_ETH_TYPE_CHNG
	.comm	_BNX2X_F_UPDATE_VLAN_FORCE_PRIO_CHNG,4,2 ; @BNX2X_F_UPDATE_VLAN_FORCE_PRIO_CHNG
	.comm	_BNX2X_F_UPDATE_VLAN_FORCE_PRIO_FLAG,4,2 ; @BNX2X_F_UPDATE_VLAN_FORCE_PRIO_FLAG
	.comm	_BNX2X_F_UPDATE_TUNNEL_CFG_CHNG,4,2 ; @BNX2X_F_UPDATE_TUNNEL_CFG_CHNG
	.comm	_BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GRE,4,2 ; @BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GRE
	.comm	_BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_VXLAN,4,2 ; @BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_VXLAN
	.comm	_BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GENEVE,4,2 ; @BNX2X_F_UPDATE_TUNNEL_INNER_CLSS_L2GENEVE
	.comm	_BNX2X_F_UPDATE_TUNNEL_INNER_RSS,4,2 ; @BNX2X_F_UPDATE_TUNNEL_INNER_RSS
	.comm	_SWITCH_UPDATE,4,2              ; @SWITCH_UPDATE
	.comm	_RAMROD_CMD_ID_COMMON_FUNCTION_UPDATE,4,2 ; @RAMROD_CMD_ID_COMMON_FUNCTION_UPDATE
	.comm	_NONE_CONNECTION_TYPE,4,2       ; @NONE_CONNECTION_TYPE
	.no_dead_strip	_bnx2x_func_send_switch_update
.subsections_via_symbols
