	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_emad_construct_eth_hdr
_mlxsw_emad_construct_eth_hdr:          ## @mlxsw_emad_construct_eth_hdr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_MLXSW_EMAD_ETH_HDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_skb_push
	movq	%rax, %rbx
	movq	_MLXSW_EMAD_EH_DMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_emad_eth_hdr_dmac_memcpy_to
	movq	_MLXSW_EMAD_EH_SMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_emad_eth_hdr_smac_memcpy_to
	movq	_MLXSW_EMAD_EH_ETHERTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_emad_eth_hdr_ethertype_set
	movq	_MLXSW_EMAD_EH_MLX_PROTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_emad_eth_hdr_mlx_proto_set
	movq	_MLXSW_EMAD_EH_PROTO_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlxsw_emad_eth_hdr_ver_set
	movq	%r14, %rdi
	callq	_skb_reset_mac_header
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_EMAD_ETH_HDR_LEN,4,2     ## @MLXSW_EMAD_ETH_HDR_LEN
	.comm	_MLXSW_EMAD_EH_DMAC,4,2         ## @MLXSW_EMAD_EH_DMAC
	.comm	_MLXSW_EMAD_EH_SMAC,4,2         ## @MLXSW_EMAD_EH_SMAC
	.comm	_MLXSW_EMAD_EH_ETHERTYPE,4,2    ## @MLXSW_EMAD_EH_ETHERTYPE
	.comm	_MLXSW_EMAD_EH_MLX_PROTO,4,2    ## @MLXSW_EMAD_EH_MLX_PROTO
	.comm	_MLXSW_EMAD_EH_PROTO_VERSION,4,2 ## @MLXSW_EMAD_EH_PROTO_VERSION
	.no_dead_strip	_mlxsw_emad_construct_eth_hdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_emad_construct_eth_hdr
_mlxsw_emad_construct_eth_hdr:          ; @mlxsw_emad_construct_eth_hdr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _MLXSW_EMAD_ETH_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLXSW_EMAD_ETH_HDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_skb_push
	mov	x20, x0
Lloh3:
	adrp	x8, _MLXSW_EMAD_EH_DMAC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLXSW_EMAD_EH_DMAC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_mlxsw_emad_eth_hdr_dmac_memcpy_to
Lloh6:
	adrp	x8, _MLXSW_EMAD_EH_SMAC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLXSW_EMAD_EH_SMAC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mlxsw_emad_eth_hdr_smac_memcpy_to
Lloh9:
	adrp	x8, _MLXSW_EMAD_EH_ETHERTYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLXSW_EMAD_EH_ETHERTYPE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mlxsw_emad_eth_hdr_ethertype_set
Lloh12:
	adrp	x8, _MLXSW_EMAD_EH_MLX_PROTO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLXSW_EMAD_EH_MLX_PROTO@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mlxsw_emad_eth_hdr_mlx_proto_set
Lloh15:
	adrp	x8, _MLXSW_EMAD_EH_PROTO_VERSION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MLXSW_EMAD_EH_PROTO_VERSION@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mlxsw_emad_eth_hdr_ver_set
	mov	x0, x19
	bl	_skb_reset_mac_header
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_EMAD_ETH_HDR_LEN,4,2     ; @MLXSW_EMAD_ETH_HDR_LEN
	.comm	_MLXSW_EMAD_EH_DMAC,4,2         ; @MLXSW_EMAD_EH_DMAC
	.comm	_MLXSW_EMAD_EH_SMAC,4,2         ; @MLXSW_EMAD_EH_SMAC
	.comm	_MLXSW_EMAD_EH_ETHERTYPE,4,2    ; @MLXSW_EMAD_EH_ETHERTYPE
	.comm	_MLXSW_EMAD_EH_MLX_PROTO,4,2    ; @MLXSW_EMAD_EH_MLX_PROTO
	.comm	_MLXSW_EMAD_EH_PROTO_VERSION,4,2 ; @MLXSW_EMAD_EH_PROTO_VERSION
	.no_dead_strip	_mlxsw_emad_construct_eth_hdr
.subsections_via_symbols
