	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_afex_handle_vif_list_cmd
_bnx2x_afex_handle_vif_list_cmd:        ## @bnx2x_afex_handle_vif_list_cmd
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movq	$0, -48(%rbp)
	movq	_VIF_LIST_RULE_GET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	cmpq	%rsi, %r13
	je	LBB0_3
## %bb.1:
	movq	_VIF_LIST_RULE_SET@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rcx, %r13
	callq	_BNX2X_ERR
	movq	(%r13), %r13
LBB0_3:
	movq	%r14, -88(%rbp)
	movq	_BNX2X_F_CMD_AFEX_VIFLISTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	%rbx, -56(%rbp)
	movl	%r12d, -64(%rbp)
	xorl	%eax, %eax
	cmpq	%rbx, %r13
	cmoveq	%rax, %r15
	movq	%r15, -72(%rbp)
	movq	$0, -80(%rbp)
	movq	_DRV_MSG_CODE_AFEX_LISTGET_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_DRV_MSG_CODE_AFEX_LISTSET_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-96(%rbp), %rsi
	movq	%r14, %rdi
	callq	_bnx2x_func_state_change
	testl	%eax, %eax
	jns	LBB0_5
## %bb.4:
	cmpq	%rbx, %r13
	cmovel	%r12d, %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_bnx2x_fw_command
LBB0_5:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIF_LIST_RULE_GET,8,3          ## @VIF_LIST_RULE_GET
	.comm	_VIF_LIST_RULE_SET,8,3          ## @VIF_LIST_RULE_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUG! afex_handle_vif_list_cmd invalid type 0x%x\n"

	.comm	_BNX2X_F_CMD_AFEX_VIFLISTS,4,2  ## @BNX2X_F_CMD_AFEX_VIFLISTS
	.comm	_DRV_MSG_CODE_AFEX_LISTGET_ACK,4,2 ## @DRV_MSG_CODE_AFEX_LISTGET_ACK
	.comm	_DRV_MSG_CODE_AFEX_LISTSET_ACK,4,2 ## @DRV_MSG_CODE_AFEX_LISTSET_ACK
	.no_dead_strip	_bnx2x_afex_handle_vif_list_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_afex_handle_vif_list_cmd
_bnx2x_afex_handle_vif_list_cmd:        ; @bnx2x_afex_handle_vif_list_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	str	q0, [sp]
Lloh0:
	adrp	x24, _VIF_LIST_RULE_GET@GOTPAGE
Lloh1:
	ldr	x24, [x24, _VIF_LIST_RULE_GET@GOTPAGEOFF]
	ldr	x23, [x24]
Lloh2:
	adrp	x8, _VIF_LIST_RULE_SET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VIF_LIST_RULE_SET@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x23, x1
	ccmp	x8, x1, #4, ne
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_BNX2X_ERR
	ldr	x23, [x24]
LBB0_2:
Lloh7:
	adrp	x8, _BNX2X_F_CMD_AFEX_VIFLISTS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BNX2X_F_CMD_AFEX_VIFLISTS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [sp]
	str	x20, [sp, #40]
	str	w22, [sp, #32]
	cmp	x23, x20
	csel	x8, xzr, x21, eq
	stp	xzr, x8, [sp, #16]
	str	x19, [sp, #8]
Lloh10:
	adrp	x8, _DRV_MSG_CODE_AFEX_LISTGET_ACK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DRV_MSG_CODE_AFEX_LISTGET_ACK@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
Lloh13:
	adrp	x8, _DRV_MSG_CODE_AFEX_LISTSET_ACK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DRV_MSG_CODE_AFEX_LISTSET_ACK@GOTPAGEOFF]
Lloh15:
	ldr	w22, [x8]
	mov	x1, sp
	mov	x0, x19
	bl	_bnx2x_func_state_change
	tbz	w0, #31, LBB0_4
; %bb.3:
	cmp	x23, x20
	csel	w1, w21, w22, eq
	mov	x0, x19
	mov	w2, #0
	bl	_bnx2x_fw_command
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_VIF_LIST_RULE_GET,8,3          ; @VIF_LIST_RULE_GET
	.comm	_VIF_LIST_RULE_SET,8,3          ; @VIF_LIST_RULE_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUG! afex_handle_vif_list_cmd invalid type 0x%x\n"

	.comm	_BNX2X_F_CMD_AFEX_VIFLISTS,4,2  ; @BNX2X_F_CMD_AFEX_VIFLISTS
	.comm	_DRV_MSG_CODE_AFEX_LISTGET_ACK,4,2 ; @DRV_MSG_CODE_AFEX_LISTGET_ACK
	.comm	_DRV_MSG_CODE_AFEX_LISTSET_ACK,4,2 ; @DRV_MSG_CODE_AFEX_LISTSET_ACK
	.no_dead_strip	_bnx2x_afex_handle_vif_list_cmd
.subsections_via_symbols
