	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_tls_add
_mlx5e_tls_add:                         ## @mlx5e_tls_add
	.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
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_tls_get_ctx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r14
	movq	%r14, %rdi
	callq	_mlx5_accel_tls_device_caps
	movl	%eax, %r13d
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_tls_flow@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5_ST_SZ_BYTES
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_mlx5e_tls_set_flow
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_10
LBB0_1:
	negl	%ebx
	jmp	LBB0_10
LBB0_3:
	movq	_TLS_OFFLOAD_CTX_DIR_TX@GOTPCREL(%rip), %r12
	xorl	%r9d, %r9d
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	cmpl	%r13d, (%r12)
	sete	%r9b
	leaq	-44(%rbp), %r8
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	callq	_mlx5_accel_tls_add_flow
	testl	%eax, %eax
	js	LBB0_4
## %bb.6:
	cmpl	%r13d, (%r12)
	jne	LBB0_8
## %bb.7:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_mlx5e_get_tls_tx_context
	movq	%rax, %rbx
	movl	-44(%rbp), %edi
	callq	_htonl
	movq	%rax, 8(%rbx)
	movl	%r14d, (%rbx)
	jmp	LBB0_9
LBB0_4:
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_8:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_mlx5e_get_tls_rx_context
	movq	%rax, %rbx
	movl	-44(%rbp), %edi
	callq	_htonl
	movq	%rax, (%rbx)
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tls_flow,4,2                   ## @tls_flow
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_TLS_OFFLOAD_CTX_DIR_TX,4,2     ## @TLS_OFFLOAD_CTX_DIR_TX
	.no_dead_strip	_mlx5e_tls_add
.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
_mlx5e_tls_add:                         ; @mlx5e_tls_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x4
	mov	x22, x3
	mov	x20, x2
	mov	x25, x1
	bl	_netdev_priv
	mov	x23, x0
	mov	x0, x25
	bl	_tls_get_ctx
	mov	x21, x0
	ldr	x23, [x23]
	mov	x0, x23
	bl	_mlx5_accel_tls_device_caps
	mov	x26, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
Lloh3:
	adrp	x8, _tls_flow@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tls_flow@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_MLX5_ST_SZ_BYTES
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x24, x0
	mov	x1, x25
	mov	x2, x26
	bl	_mlx5e_tls_set_flow
	mov	x25, x0
	cbz	w0, LBB0_5
LBB0_2:
	mov	x0, x24
	bl	_kfree
	b	LBB0_4
LBB0_3:
	neg	w25, w27
LBB0_4:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
Lloh9:
	adrp	x26, _TLS_OFFLOAD_CTX_DIR_TX@GOTPAGE
Lloh10:
	ldr	x26, [x26, _TLS_OFFLOAD_CTX_DIR_TX@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, w20
	cset	w5, eq
	add	x4, sp, #12
	mov	x0, x23
	mov	x1, x24
	mov	x2, x22
	mov	x3, x19
	bl	_mlx5_accel_tls_add_flow
	tbnz	w0, #31, LBB0_8
; %bb.6:
	ldr	w8, [x26]
	mov	x0, x21
	cmp	w8, w20
	b.ne	LBB0_9
; %bb.7:
	bl	_mlx5e_get_tls_tx_context
	mov	x20, x0
	ldr	w0, [sp, #12]
	bl	_htonl
	mov	w25, #0
	str	x0, [x20, #8]
	str	w19, [x20]
	b	LBB0_4
LBB0_8:
	mov	x25, x0
	b	LBB0_2
LBB0_9:
	bl	_mlx5e_get_tls_rx_context
	mov	x19, x0
	ldr	w0, [sp, #12]
	bl	_htonl
	mov	w25, #0
	str	x0, [x19]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tls_flow,4,2                   ; @tls_flow
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_TLS_OFFLOAD_CTX_DIR_TX,4,2     ; @TLS_OFFLOAD_CTX_DIR_TX
	.no_dead_strip	_mlx5e_tls_add
.subsections_via_symbols
