	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_tls_handle_tx_skb        ## -- Begin function mlx5e_tls_handle_tx_skb
	.p2align	4, 0x90
_mlx5e_tls_handle_tx_skb:               ## @mlx5e_tls_handle_tx_skb
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	_tls@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	%rbx, %r8
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx5e_ktls_handle_tx_skb       ## TAILCALL
LBB0_1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	4(%r12), %edi
	testl	%edi, %edi
	je	LBB0_9
## %bb.2:
	callq	_tls_is_sk_tx_device_offloaded
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	movl	(%r12), %ebx
	movq	%r12, %rdi
	callq	_skb_transport_offset
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_tcp_hdrlen
	addl	%r15d, %eax
	subl	%eax, %ebx
	je	LBB0_9
## %bb.4:
	movl	4(%r12), %edi
	callq	_tls_get_ctx
	movq	%rax, %r15
	xorl	%edi, %edi
	cmpq	%r14, (%rax)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
LBB0_9:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r12, %rdi
	callq	_tcp_hdr
	movl	(%rax), %edi
	callq	_ntohl
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_mlx5e_get_tls_tx_context
	movq	%rax, %r15
	xorl	%edi, %edi
	cmpq	%r14, (%rax)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.11:
	movq	(%r13), %r9
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx5e_tls_handle_ooo           ## TAILCALL
LBB0_6:
	movl	8(%r15), %esi
	movq	%r12, %rdi
	callq	_mlx5e_tls_add_metadata
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	(%r13), %rdi
	callq	_atomic64_inc
	movq	%r12, %rdi
	callq	_dev_kfree_skb_any
	xorl	%r12d, %r12d
	jmp	LBB0_9
LBB0_8:
	movslq	%ebx, %rax
	addq	%rax, %r14
	movq	%r14, (%r15)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_tls,4,2                        ## @tls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_tls_handle_tx_skb        ; -- Begin function mlx5e_tls_handle_tx_skb
	.p2align	2
_mlx5e_tls_handle_tx_skb:               ; @mlx5e_tls_handle_tx_skb
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x4
	mov	x21, x3
	mov	x19, x2
	mov	x23, x1
	mov	x24, x0
	bl	_netdev_priv
	mov	x22, x0
	ldr	x8, [x23]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _tls@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tls@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x19
	mov	x3, x21
	mov	x4, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_mlx5e_ktls_handle_tx_skb
LBB0_2:
	ldr	w0, [x19, #4]
	cbz	w0, LBB0_6
; %bb.3:
	bl	_tls_is_sk_tx_device_offloaded
	cbz	w0, LBB0_6
; %bb.4:
	ldr	w26, [x19]
	mov	x0, x19
	bl	_skb_transport_offset
	mov	x25, x0
	mov	x0, x19
	bl	_tcp_hdrlen
	add	w8, w0, w25
	subs	w26, w26, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w0, [x19, #4]
	bl	_tls_get_ctx
	mov	x25, x0
	ldr	x8, [x0]
	cmp	x8, x24
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_7
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	bl	_tcp_hdr
	ldr	w0, [x0]
	bl	_ntohl
	mov	x24, x0
	mov	x0, x25
	bl	_mlx5e_get_tls_tx_context
	mov	x25, x0
	ldr	x8, [x0]
	cmp	x8, x24
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x5, [x22]
	mov	x0, x25
	mov	x1, x23
	mov	x2, x19
	mov	x3, x21
	mov	x4, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_mlx5e_tls_handle_ooo
LBB0_9:
	ldr	w1, [x25, #8]
	mov	x0, x19
	bl	_mlx5e_tls_add_metadata
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x0, [x22]
	bl	_atomic64_inc
	mov	x0, x19
	bl	_dev_kfree_skb_any
	mov	x19, #0
	b	LBB0_6
LBB0_11:
	add	x8, x24, w26, sxtw
	str	x8, [x25]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tls,4,2                        ; @tls
.subsections_via_symbols
