	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_change_mac                  ## -- Begin function t4_change_mac
	.p2align	4, 0x90
_t4_change_mac:                         ## @t4_change_mac
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r14d
	testl	%r9d, %r9d
	jne	LBB0_1
## %bb.2:
	movq	_FW_VI_MAC_ADD_MAC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_FW_VI_MAC_ADD_PERSIST_MAC@GOTPCREL(%rip), %rax
LBB0_3:
	testl	%r13d, %r13d
	jns	LBB0_5
## %bb.4:
	movl	(%rax), %r13d
LBB0_5:
	cmpq	$0, 16(%rbp)
	jne	LBB0_6
## %bb.7:
	movq	_FW_VI_MAC_MPS_TCAM_ENTRY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_FW_VI_MAC_SMT_AND_MPSTCAM@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r15d
	leaq	-64(%rbp), %r12
	pushq	$24
	popq	%rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_FW_VI_MAC_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_CMD_OP_V
	movl	%eax, %ebx
	movq	_FW_CMD_REQUEST_F@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_FW_CMD_WRITE_F@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_FW_VI_MAC_CMD_VIID_V
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_be32
	movq	%rax, (%r12)
	pushq	$1
	popq	%rdi
	callq	_FW_CMD_LEN16_V
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, 8(%r12)
	movq	_FW_VI_MAC_CMD_VALID_F@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_FW_VI_MAC_CMD_SMAC_RESULT_V
	orl	%eax, %ebx
	movl	%r13d, %edi
	callq	_FW_VI_MAC_CMD_IDX_V
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_be16
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_VI_MAC_ADD_PERSIST_MAC,4,2  ## @FW_VI_MAC_ADD_PERSIST_MAC
	.comm	_FW_VI_MAC_ADD_MAC,4,2          ## @FW_VI_MAC_ADD_MAC
	.comm	_FW_VI_MAC_SMT_AND_MPSTCAM,4,2  ## @FW_VI_MAC_SMT_AND_MPSTCAM
	.comm	_FW_VI_MAC_MPS_TCAM_ENTRY,4,2   ## @FW_VI_MAC_MPS_TCAM_ENTRY
	.comm	_FW_VI_MAC_CMD,4,2              ## @FW_VI_MAC_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ## @FW_CMD_REQUEST_F
	.comm	_FW_CMD_WRITE_F,4,2             ## @FW_CMD_WRITE_F
	.comm	_FW_VI_MAC_CMD_VALID_F,4,2      ## @FW_VI_MAC_CMD_VALID_F
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CHELSIO_T5,8,3                 ## @CHELSIO_T5
	.comm	_FW_VIID_VIN_M,4,2              ## @FW_VIID_VIN_M
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_change_mac                  ; -- Begin function t4_change_mac
	.p2align	2
_t4_change_mac:                         ; @t4_change_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
Lloh0:
	adrp	x8, _FW_VI_MAC_ADD_PERSIST_MAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_VI_MAC_ADD_PERSIST_MAC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _FW_VI_MAC_ADD_MAC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FW_VI_MAC_ADD_MAC@GOTPAGEOFF]
	cmp	w5, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _FW_VI_MAC_SMT_AND_MPSTCAM@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FW_VI_MAC_SMT_AND_MPSTCAM@GOTPAGEOFF]
	cmp	w3, #0
	csel	w19, w8, w3, lt
Lloh6:
	adrp	x8, _FW_VI_MAC_MPS_TCAM_ENTRY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FW_VI_MAC_MPS_TCAM_ENTRY@GOTPAGEOFF]
	cmp	x6, #0
	csel	x8, x8, x9, eq
	ldr	w21, [x8]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh8:
	adrp	x8, _FW_VI_MAC_CMD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FW_VI_MAC_CMD@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_FW_CMD_OP_V
Lloh11:
	adrp	x8, _FW_CMD_REQUEST_F@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FW_CMD_REQUEST_F@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh14:
	adrp	x9, _FW_CMD_WRITE_F@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FW_CMD_WRITE_F@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w22, w8, w9
	mov	x0, x20
	bl	_FW_VI_MAC_CMD_VIID_V
	orr	w0, w22, w0
	bl	_cpu_to_be32
	str	x0, [sp, #8]
	mov	w0, #1
	bl	_FW_CMD_LEN16_V
	bl	_cpu_to_be32
	str	x0, [sp, #16]
Lloh17:
	adrp	x8, _FW_VI_MAC_CMD_VALID_F@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FW_VI_MAC_CMD_VALID_F@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	mov	x0, x21
	bl	_FW_VI_MAC_CMD_SMAC_RESULT_V
	orr	w20, w0, w20
	mov	x0, x19
	bl	_FW_VI_MAC_CMD_IDX_V
	orr	w0, w20, w0
	bl	_cpu_to_be16
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_VI_MAC_ADD_PERSIST_MAC,4,2  ; @FW_VI_MAC_ADD_PERSIST_MAC
	.comm	_FW_VI_MAC_ADD_MAC,4,2          ; @FW_VI_MAC_ADD_MAC
	.comm	_FW_VI_MAC_SMT_AND_MPSTCAM,4,2  ; @FW_VI_MAC_SMT_AND_MPSTCAM
	.comm	_FW_VI_MAC_MPS_TCAM_ENTRY,4,2   ; @FW_VI_MAC_MPS_TCAM_ENTRY
	.comm	_FW_VI_MAC_CMD,4,2              ; @FW_VI_MAC_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ; @FW_CMD_REQUEST_F
	.comm	_FW_CMD_WRITE_F,4,2             ; @FW_CMD_WRITE_F
	.comm	_FW_VI_MAC_CMD_VALID_F,4,2      ; @FW_VI_MAC_CMD_VALID_F
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CHELSIO_T5,8,3                 ; @CHELSIO_T5
	.comm	_FW_VIID_VIN_M,4,2              ; @FW_VIID_VIN_M
.subsections_via_symbols
