	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_prepare_mac_addr
_hclge_prepare_mac_addr:                ## @hclge_prepare_mac_addr
	.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	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movzbl	2(%rsi), %r12d
	movzbl	3(%rsi), %ebx
	movzbl	(%rsi), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movzbl	1(%rsi), %r13d
	movzbl	4(%rsi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movzbl	5(%rsi), %r15d
	movl	16(%rdi), %edi
	movq	_HCLGE_MAC_VLAN_BIT0_EN_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_hnae3_set_bit
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	movl	12(%r14), %edi
	movq	_HCLGE_MAC_VLAN_BIT1_EN_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_hnae3_set_bit
	movl	8(%r14), %edi
	movq	_HCLGE_MAC_VLAN_BIT0_EN_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_hnae3_set_bit
LBB0_2:
	shll	$8, %r15d
	addl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	shll	$16, %r12d
	shll	$24, %ebx
	orl	%r12d, %ebx
	addl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	shll	$8, %r13d
	orl	%ebx, %r13d
	movl	%r13d, %edi
	callq	_cpu_to_le32
	movl	%eax, 4(%r14)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movl	%eax, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_MAC_VLAN_BIT0_EN_B,4,2   ## @HCLGE_MAC_VLAN_BIT0_EN_B
	.comm	_HCLGE_MAC_VLAN_BIT1_EN_B,4,2   ## @HCLGE_MAC_VLAN_BIT1_EN_B
	.no_dead_strip	_hclge_prepare_mac_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_prepare_mac_addr
_hclge_prepare_mac_addr:                ; @hclge_prepare_mac_addr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x19, x0
	ldrb	w25, [x1, #2]
	ldrb	w23, [x1, #3]
	ldrb	w24, [x1]
	ldrb	w22, [x1, #1]
	ldrb	w20, [x1, #4]
	ldrb	w26, [x1, #5]
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x27, _HCLGE_MAC_VLAN_BIT0_EN_B@GOTPAGE
Lloh1:
	ldr	x27, [x27, _HCLGE_MAC_VLAN_BIT0_EN_B@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	w2, #1
	bl	_hnae3_set_bit
	cbz	w21, LBB0_2
; %bb.1:
	ldr	w0, [x19, #12]
Lloh2:
	adrp	x8, _HCLGE_MAC_VLAN_BIT1_EN_B@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HCLGE_MAC_VLAN_BIT1_EN_B@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_hnae3_set_bit
	ldr	w0, [x19, #8]
	ldr	w1, [x27]
	mov	w2, #1
	bl	_hnae3_set_bit
LBB0_2:
	bfi	w20, w26, #8, #8
	lsl	w8, w25, #16
	bfi	w8, w23, #24, #8
	orr	w0, w8, w24
	bfi	w0, w22, #8, #8
	bl	_cpu_to_le32
	str	w0, [x19, #4]
	mov	x0, x20
	bl	_cpu_to_le16
	str	w0, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_MAC_VLAN_BIT0_EN_B,4,2   ; @HCLGE_MAC_VLAN_BIT0_EN_B
	.comm	_HCLGE_MAC_VLAN_BIT1_EN_B,4,2   ; @HCLGE_MAC_VLAN_BIT1_EN_B
	.no_dead_strip	_hclge_prepare_mac_addr
.subsections_via_symbols
