	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_tls_add_metadata
_mlx5e_tls_add_metadata:                ## @mlx5e_tls_add_metadata
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	$4, %esi
	callq	_skb_cow_head
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skb_push
	movq	%rax, %r15
	addl	$-4, (%rbx)
	movq	8(%rbx), %rdi
	leaq	4(%rdi), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%edx, %edx
	callq	_memmove
	movq	_MLX5E_METADATA_ETHER_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	movl	%eax, (%r15)
	movq	_SYNDROME_OFFLOAD_REQUIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$24, %edi
	callq	_htonl
	orl	%r14d, %eax
	movl	%eax, 4(%r15)
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MLX5E_METADATA_ETHER_TYPE,4,2  ## @MLX5E_METADATA_ETHER_TYPE
	.comm	_SYNDROME_OFFLOAD_REQUIRED,4,2  ## @SYNDROME_OFFLOAD_REQUIRED
	.no_dead_strip	_mlx5e_tls_add_metadata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_tls_add_metadata
_mlx5e_tls_add_metadata:                ; @mlx5e_tls_add_metadata
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	mov	w1, #4
	bl	_skb_cow_head
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	w1, #4
	bl	_skb_push
	mov	x21, x0
	ldr	w8, [x20]
	sub	w8, w8, #4
	str	w8, [x20]
	ldr	x0, [x20, #8]
	add	x1, x0, #4
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w2, w8, #1
	bl	_memmove
Lloh6:
	adrp	x8, _MLX5E_METADATA_ETHER_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX5E_METADATA_ETHER_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	str	w0, [x21]
Lloh9:
	adrp	x8, _SYNDROME_OFFLOAD_REQUIRED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SYNDROME_OFFLOAD_REQUIRED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	w0, w8, #24
	bl	_htonl
	mov	x8, x0
	mov	w0, #0
	orr	w8, w8, w19
	str	w8, [x21, #4]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MLX5E_METADATA_ETHER_TYPE,4,2  ; @MLX5E_METADATA_ETHER_TYPE
	.comm	_SYNDROME_OFFLOAD_REQUIRED,4,2  ; @SYNDROME_OFFLOAD_REQUIRED
	.no_dead_strip	_mlx5e_tls_add_metadata
.subsections_via_symbols
