	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_get_mac_ethertype_cmd_status
_hclge_get_mac_ethertype_cmd_status:    ## @hclge_get_mac_ethertype_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
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movl	%esi, %eax
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%eax, %edx
LBB0_9:
	xorl	%eax, %eax
	callq	_dev_err
LBB0_10:
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	xorl	%ebx, %ebx
	cmpl	$2, %edx
	jb	LBB0_11
## %bb.3:
	cmpl	$3, %edx
	je	LBB0_7
## %bb.4:
	cmpl	$2, %edx
	jne	LBB0_8
## %bb.5:
	movq	(%rdi), %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_7:
	movq	(%rdi), %rdi
	leaq	L_.str.2(%rip), %rsi
LBB0_6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_10
LBB0_8:
	movq	(%rdi), %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmdq execute failed for get_mac_ethertype_cmd_status, status=%d.\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"add mac ethertype failed for manager table overflow.\n"

L_.str.2:                               ## @.str.2
	.asciz	"add mac ethertype failed for key conflict.\n"

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

	.no_dead_strip	_hclge_get_mac_ethertype_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_ethertype_cmd_status
_hclge_get_mac_ethertype_cmd_status:    ; @hclge_get_mac_ethertype_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 $w2 killed $w2 def $x2
                                        ; kill: def $w1 killed $w1 def $x1
	cbz	w1, LBB0_4
; %bb.1:
	ldr	x0, [x0]
	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]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_4:
	cmp	w2, #2
	b.lo	LBB0_8
; %bb.5:
	cmp	w2, #3
	b.eq	LBB0_9
; %bb.6:
	cmp	w2, #2
	b.ne	LBB0_10
; %bb.7:
	ldr	x0, [x0]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_8:
	mov	w0, #0
	b	LBB0_3
LBB0_9:
	ldr	x0, [x0]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_10:
	ldr	x0, [x0]
	str	x2, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmdq execute failed for get_mac_ethertype_cmd_status, status=%d.\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"add mac ethertype failed for manager table overflow.\n"

l_.str.2:                               ; @.str.2
	.asciz	"add mac ethertype failed for key conflict.\n"

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

	.no_dead_strip	_hclge_get_mac_ethertype_cmd_status
.subsections_via_symbols
