	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_get_mac_vlan_cmd_status
_hclge_get_mac_vlan_cmd_status:         ## @hclge_get_mac_vlan_cmd_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %eax
	movq	(%rdi), %rsi
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	(%rsi), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%eax, %edx
LBB0_2:
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_3:
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	_HCLGE_MAC_VLAN_ADD@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_9
## %bb.6:
	xorl	%ebx, %ebx
	cmpl	$2, %edx
	jb	LBB0_4
## %bb.7:
	movq	_HCLGE_ADD_UC_OVERFLOW@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_18
## %bb.8:
	movq	(%rsi), %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_20
LBB0_9:
	movq	_HCLGE_MAC_VLAN_REMOVE@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_13
## %bb.10:
	testl	%edx, %edx
	je	LBB0_22
## %bb.11:
	cmpl	$1, %edx
	jne	LBB0_23
## %bb.12:
	movq	(%rsi), %rdi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_17
LBB0_13:
	movq	_HCLGE_MAC_VLAN_LKUP@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_21
## %bb.14:
	testl	%edx, %edx
	je	LBB0_22
## %bb.15:
	cmpl	$1, %edx
	jne	LBB0_26
## %bb.16:
	movq	(%rsi), %rdi
	leaq	L_.str.6(%rip), %rsi
LBB0_17:
	callq	_dev_dbg
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_18:
	movq	_HCLGE_ADD_MC_OVERFLOW@GOTPCREL(%rip), %rax
	movq	(%rsi), %rdi
	cmpl	%edx, (%rax)
	jne	LBB0_24
## %bb.19:
	leaq	L_.str.2(%rip), %rsi
LBB0_20:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_21:
	movq	(%rsi), %rdi
	leaq	L_.str.8(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%ecx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_22:
	movl	%edx, %ebx
	jmp	LBB0_4
LBB0_23:
	movq	(%rsi), %rdi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_27
LBB0_24:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_27
LBB0_26:
	movq	(%rsi), %rdi
	leaq	L_.str.7(%rip), %rsi
LBB0_27:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmdq execute failed for get_mac_vlan_cmd_status,status=%d.\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_HCLGE_MAC_VLAN_ADD,4,2         ## @HCLGE_MAC_VLAN_ADD
	.comm	_HCLGE_ADD_UC_OVERFLOW,4,2      ## @HCLGE_ADD_UC_OVERFLOW
L_.str.1:                               ## @.str.1
	.asciz	"add mac addr failed for uc_overflow.\n"

	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_HCLGE_ADD_MC_OVERFLOW,4,2      ## @HCLGE_ADD_MC_OVERFLOW
L_.str.2:                               ## @.str.2
	.asciz	"add mac addr failed for mc_overflow.\n"

L_.str.3:                               ## @.str.3
	.asciz	"add mac addr failed for undefined, code=%u.\n"

	.comm	_HCLGE_MAC_VLAN_REMOVE,4,2      ## @HCLGE_MAC_VLAN_REMOVE
L_.str.4:                               ## @.str.4
	.asciz	"remove mac addr failed for miss.\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.5:                               ## @.str.5
	.asciz	"remove mac addr failed for undefined, code=%u.\n"

	.comm	_HCLGE_MAC_VLAN_LKUP,4,2        ## @HCLGE_MAC_VLAN_LKUP
L_.str.6:                               ## @.str.6
	.asciz	"lookup mac addr failed for miss.\n"

L_.str.7:                               ## @.str.7
	.asciz	"lookup mac addr failed for undefined, code=%u.\n"

L_.str.8:                               ## @.str.8
	.asciz	"unknown opcode for get_mac_vlan_cmd_status, opcode=%d.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_hclge_get_mac_vlan_cmd_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_get_mac_vlan_cmd_status
_hclge_get_mac_vlan_cmd_status:         ; @hclge_get_mac_vlan_cmd_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
                                        ; kill: def $w3 killed $w3 def $x3
                                        ; kill: def $w2 killed $w2 def $x2
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0]
	cbz	w1, LBB0_5
; %bb.1:
	ldr	x0, [x8]
	str	x1, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	bl	_dev_err
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w2, w8
LBB0_4:
	mov	x0, x2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_5:
Lloh4:
	adrp	x9, _HCLGE_MAC_VLAN_ADD@GOTPAGE
Lloh5:
	ldr	x9, [x9, _HCLGE_MAC_VLAN_ADD@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w9, w3
	b.ne	LBB0_8
; %bb.6:
	cmp	w2, #2
	b.hs	LBB0_12
; %bb.7:
	mov	w2, #0
	b	LBB0_4
LBB0_8:
Lloh7:
	adrp	x9, _HCLGE_MAC_VLAN_REMOVE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _HCLGE_MAC_VLAN_REMOVE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w9, w3
	b.ne	LBB0_14
; %bb.9:
	cbz	w2, LBB0_4
; %bb.10:
	cmp	w2, #1
	b.ne	LBB0_23
; %bb.11:
	ldr	x0, [x8]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_18
LBB0_12:
Lloh12:
	adrp	x9, _HCLGE_ADD_UC_OVERFLOW@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HCLGE_ADD_UC_OVERFLOW@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w9, w2
	b.ne	LBB0_19
; %bb.13:
	ldr	x0, [x8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_21
LBB0_14:
Lloh17:
	adrp	x9, _HCLGE_MAC_VLAN_LKUP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _HCLGE_MAC_VLAN_LKUP@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w9, w3
	b.ne	LBB0_22
; %bb.15:
	cbz	w2, LBB0_4
; %bb.16:
	cmp	w2, #1
	b.ne	LBB0_25
; %bb.17:
	ldr	x0, [x8]
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_18:
	bl	_dev_dbg
Lloh22:
	adrp	x8, _ENOENT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_3
LBB0_19:
Lloh24:
	adrp	x9, _HCLGE_ADD_MC_OVERFLOW@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HCLGE_ADD_MC_OVERFLOW@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	ldr	x0, [x8]
	cmp	w9, w2
	b.ne	LBB0_24
; %bb.20:
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_21:
	bl	_dev_err
Lloh29:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
	b	LBB0_3
LBB0_22:
	ldr	x0, [x8]
	str	x3, [sp]
Lloh31:
	adrp	x1, l_.str.8@PAGE
Lloh32:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_dev_err
Lloh33:
	adrp	x8, _EINVAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_3
LBB0_23:
	ldr	x0, [x8]
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
	str	x2, [sp]
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_2
LBB0_24:
	str	x2, [sp]
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_25:
	ldr	x0, [x8]
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
	str	x2, [sp]
Lloh39:
	adrp	x1, l_.str.7@PAGE
Lloh40:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmdq execute failed for get_mac_vlan_cmd_status,status=%d.\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_HCLGE_MAC_VLAN_ADD,4,2         ; @HCLGE_MAC_VLAN_ADD
	.comm	_HCLGE_ADD_UC_OVERFLOW,4,2      ; @HCLGE_ADD_UC_OVERFLOW
l_.str.1:                               ; @.str.1
	.asciz	"add mac addr failed for uc_overflow.\n"

	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_HCLGE_ADD_MC_OVERFLOW,4,2      ; @HCLGE_ADD_MC_OVERFLOW
l_.str.2:                               ; @.str.2
	.asciz	"add mac addr failed for mc_overflow.\n"

l_.str.3:                               ; @.str.3
	.asciz	"add mac addr failed for undefined, code=%u.\n"

	.comm	_HCLGE_MAC_VLAN_REMOVE,4,2      ; @HCLGE_MAC_VLAN_REMOVE
l_.str.4:                               ; @.str.4
	.asciz	"remove mac addr failed for miss.\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.5:                               ; @.str.5
	.asciz	"remove mac addr failed for undefined, code=%u.\n"

	.comm	_HCLGE_MAC_VLAN_LKUP,4,2        ; @HCLGE_MAC_VLAN_LKUP
l_.str.6:                               ; @.str.6
	.asciz	"lookup mac addr failed for miss.\n"

l_.str.7:                               ; @.str.7
	.asciz	"lookup mac addr failed for undefined, code=%u.\n"

l_.str.8:                               ; @.str.8
	.asciz	"unknown opcode for get_mac_vlan_cmd_status, opcode=%d.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_hclge_get_mac_vlan_cmd_status
.subsections_via_symbols
