	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_lookup_mac_vlan_tbl
_hclge_lookup_mac_vlan_tbl:             ## @hclge_lookup_mac_vlan_tbl
	.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
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r14
	movq	_HCLGE_OPC_MAC_VLAN_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %r12d
	movq	%rdx, %rdi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_HCLGE_CMD_FLAG_NEXT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_cpu_to_le16
	orl	%eax, 16(%r13)
	movq	8(%r13), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	24(%r13), %rdi
	movq	_HCLGE_OPC_MAC_VLAN_ADD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movl	(%r12), %edi
	callq	_cpu_to_le16
	orl	%eax, 40(%r13)
	leaq	48(%r13), %rdi
	movl	(%rbx), %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movl	$3, %r12d
	jmp	LBB0_3
LBB0_2:
	movq	8(%r13), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
LBB0_3:
	leaq	8(%r14), %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_hclge_cmd_send
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	8(%r13), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movzbl	%ah, %ebx
	movl	(%r13), %edi
	callq	_le16_to_cpu
	movq	_HCLGE_MAC_VLAN_LKUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclge_get_mac_vlan_cmd_status  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_OPC_MAC_VLAN_ADD,4,2     ## @HCLGE_OPC_MAC_VLAN_ADD
	.comm	_HCLGE_CMD_FLAG_NEXT,4,2        ## @HCLGE_CMD_FLAG_NEXT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lookup mac addr failed for cmd_send, ret =%d.\n"

	.comm	_HCLGE_MAC_VLAN_LKUP,4,2        ## @HCLGE_MAC_VLAN_LKUP
	.no_dead_strip	_hclge_lookup_mac_vlan_tbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_lookup_mac_vlan_tbl
_hclge_lookup_mac_vlan_tbl:             ; @hclge_lookup_mac_vlan_tbl
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x23, [x0]
Lloh0:
	adrp	x24, _HCLGE_OPC_MAC_VLAN_ADD@GOTPAGE
Lloh1:
	ldr	x24, [x24, _HCLGE_OPC_MAC_VLAN_ADD@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x2
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	cbz	w22, LBB0_2
; %bb.1:
Lloh2:
	adrp	x22, _HCLGE_CMD_FLAG_NEXT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _HCLGE_CMD_FLAG_NEXT@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_cpu_to_le16
	ldr	w8, [x20, #16]
	orr	w8, w8, w0
	str	w8, [x20, #16]
	ldr	x0, [x20, #8]
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	add	x0, x20, #24
	ldr	w1, [x24]
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	ldr	w0, [x22]
	bl	_cpu_to_le16
	ldr	w8, [x20, #40]
	orr	w8, w8, w0
	str	w8, [x20, #40]
	add	x0, x20, #48
	ldr	w1, [x24]
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	mov	w2, #3
	b	LBB0_3
LBB0_2:
	ldr	x0, [x20, #8]
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	mov	w2, #1
LBB0_3:
	add	x0, x23, #8
	mov	x1, x20
	bl	_hclge_cmd_send
	cbz	w0, LBB0_5
; %bb.4:
	mov	x21, x0
	ldr	x0, [x23]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_dev_err
	mov	x0, x21
	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
	ret
LBB0_5:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	ubfx	w21, w0, #8, #8
	ldr	w0, [x20]
	bl	_le16_to_cpu
	mov	x1, x0
Lloh6:
	adrp	x8, _HCLGE_MAC_VLAN_LKUP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HCLGE_MAC_VLAN_LKUP@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x21
	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	_hclge_get_mac_vlan_cmd_status
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_OPC_MAC_VLAN_ADD,4,2     ; @HCLGE_OPC_MAC_VLAN_ADD
	.comm	_HCLGE_CMD_FLAG_NEXT,4,2        ; @HCLGE_CMD_FLAG_NEXT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lookup mac addr failed for cmd_send, ret =%d.\n"

	.comm	_HCLGE_MAC_VLAN_LKUP,4,2        ; @HCLGE_MAC_VLAN_LKUP
	.no_dead_strip	_hclge_lookup_mac_vlan_tbl
.subsections_via_symbols
