	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_cfg_mac_mode
_hclge_cfg_mac_mode:                    ## @hclge_cfg_mac_mode
	.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, %ebx
	movq	_HCLGE_OPC_CONFIG_MAC_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdi
	xorl	%edx, %edx
	callq	_hclge_cmd_setup_basic_desc
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_HCLGE_MAC_TX_EN_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	pushq	$1
	popq	%rbx
	xorl	%edi, %edi
	movl	%ebx, %edx
	callq	_hnae3_set_bit
	movq	_HCLGE_MAC_RX_EN_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%ebx, %edx
	callq	_hnae3_set_bit
	movq	_HCLGE_MAC_PAD_TX_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%ebx, %edx
	callq	_hnae3_set_bit
	movq	_HCLGE_MAC_PAD_RX_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%ebx, %edx
	callq	_hnae3_set_bit
	movq	_HCLGE_MAC_FCS_TX_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%ebx, %edx
	callq	_hnae3_set_bit
	movq	_HCLGE_MAC_RX_FCS_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%ebx, %edx
	callq	_hnae3_set_bit
	movq	_HCLGE_MAC_RX_FCS_STRIP_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%ebx, %edx
	callq	_hnae3_set_bit
	movq	_HCLGE_MAC_TX_OVERSIZE_TRUNCATE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%ebx, %edx
	callq	_hnae3_set_bit
	movq	_HCLGE_MAC_RX_OVERSIZE_TRUNCATE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%ebx, %edx
	callq	_hnae3_set_bit
	movq	_HCLGE_MAC_TX_UNDER_MIN_ERR_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%ebx, %edx
	callq	_hnae3_set_bit
LBB0_2:
	xorl	%edi, %edi
	callq	_cpu_to_le32
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_OPC_CONFIG_MAC_MODE,4,2  ## @HCLGE_OPC_CONFIG_MAC_MODE
	.comm	_HCLGE_MAC_TX_EN_B,4,2          ## @HCLGE_MAC_TX_EN_B
	.comm	_HCLGE_MAC_RX_EN_B,4,2          ## @HCLGE_MAC_RX_EN_B
	.comm	_HCLGE_MAC_PAD_TX_B,4,2         ## @HCLGE_MAC_PAD_TX_B
	.comm	_HCLGE_MAC_PAD_RX_B,4,2         ## @HCLGE_MAC_PAD_RX_B
	.comm	_HCLGE_MAC_FCS_TX_B,4,2         ## @HCLGE_MAC_FCS_TX_B
	.comm	_HCLGE_MAC_RX_FCS_B,4,2         ## @HCLGE_MAC_RX_FCS_B
	.comm	_HCLGE_MAC_RX_FCS_STRIP_B,4,2   ## @HCLGE_MAC_RX_FCS_STRIP_B
	.comm	_HCLGE_MAC_TX_OVERSIZE_TRUNCATE_B,4,2 ## @HCLGE_MAC_TX_OVERSIZE_TRUNCATE_B
	.comm	_HCLGE_MAC_RX_OVERSIZE_TRUNCATE_B,4,2 ## @HCLGE_MAC_RX_OVERSIZE_TRUNCATE_B
	.comm	_HCLGE_MAC_TX_UNDER_MIN_ERR_B,4,2 ## @HCLGE_MAC_TX_UNDER_MIN_ERR_B
	.no_dead_strip	_hclge_cfg_mac_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_cfg_mac_mode
_hclge_cfg_mac_mode:                    ; @hclge_cfg_mac_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _HCLGE_OPC_CONFIG_MAC_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGE_OPC_CONFIG_MAC_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #0
	bl	_hclge_cmd_setup_basic_desc
	cbz	w19, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _HCLGE_MAC_TX_EN_B@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HCLGE_MAC_TX_EN_B@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_OUTLINED_FUNCTION_0
Lloh6:
	adrp	x8, _HCLGE_MAC_RX_EN_B@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HCLGE_MAC_RX_EN_B@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_OUTLINED_FUNCTION_0
Lloh9:
	adrp	x8, _HCLGE_MAC_PAD_TX_B@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HCLGE_MAC_PAD_TX_B@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_OUTLINED_FUNCTION_0
Lloh12:
	adrp	x8, _HCLGE_MAC_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le32
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function OUTLINED_FUNCTION_0
_OUTLINED_FUNCTION_0:                   ; @OUTLINED_FUNCTION_0 Thunk
	.cfi_startproc
; %bb.0:
	mov	w0, #0
	mov	w2, #1
	b	_hnae3_set_bit
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_OPC_CONFIG_MAC_MODE,4,2  ; @HCLGE_OPC_CONFIG_MAC_MODE
	.comm	_HCLGE_MAC_TX_EN_B,4,2          ; @HCLGE_MAC_TX_EN_B
	.comm	_HCLGE_MAC_RX_EN_B,4,2          ; @HCLGE_MAC_RX_EN_B
	.comm	_HCLGE_MAC_PAD_TX_B,4,2         ; @HCLGE_MAC_PAD_TX_B
	.comm	_HCLGE_MAC_PAD_RX_B,4,2         ; @HCLGE_MAC_PAD_RX_B
	.comm	_HCLGE_MAC_FCS_TX_B,4,2         ; @HCLGE_MAC_FCS_TX_B
	.comm	_HCLGE_MAC_RX_FCS_B,4,2         ; @HCLGE_MAC_RX_FCS_B
	.comm	_HCLGE_MAC_RX_FCS_STRIP_B,4,2   ; @HCLGE_MAC_RX_FCS_STRIP_B
	.comm	_HCLGE_MAC_TX_OVERSIZE_TRUNCATE_B,4,2 ; @HCLGE_MAC_TX_OVERSIZE_TRUNCATE_B
	.comm	_HCLGE_MAC_RX_OVERSIZE_TRUNCATE_B,4,2 ; @HCLGE_MAC_RX_OVERSIZE_TRUNCATE_B
	.comm	_HCLGE_MAC_TX_UNDER_MIN_ERR_B,4,2 ; @HCLGE_MAC_TX_UNDER_MIN_ERR_B
	.no_dead_strip	_hclge_cfg_mac_mode
.subsections_via_symbols
