	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_tls_resync
_mlx5e_tls_resync:                      ## @mlx5e_tls_resync
	.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	%r8d, %r14d
	movq	%rcx, %rbx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_tls_get_ctx
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r12d
	movq	_TLS_OFFLOAD_CTX_DIR_RX@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%r14d, (%rax)
	setne	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%r13, %rdi
	callq	_mlx5e_get_tls_rx_context
	movq	%rax, %r14
	movl	%r12d, %edi
	callq	_be64_to_cpu
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_netdev_info
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	8(%r15), %edi
	movl	(%r14), %esi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	callq	_mlx5_accel_tls_resync_rx
	movq	(%r15), %rdi
	callq	_atomic64_inc
	xorl	%eax, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLS_OFFLOAD_CTX_DIR_RX,4,2     ## @TLS_OFFLOAD_CTX_DIR_RX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"resyncing seq %d rcd %lld\n"

	.no_dead_strip	_mlx5e_tls_resync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_tls_resync
_mlx5e_tls_resync:                      ; @mlx5e_tls_resync
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x24, x4
	mov	x21, x3
	mov	x19, x2
	mov	x22, x0
	mov	x0, x1
	bl	_tls_get_ctx
	mov	x23, x0
	mov	x0, x22
	bl	_netdev_priv
	mov	x20, x0
	ldr	w21, [x21]
Lloh0:
	adrp	x8, _TLS_OFFLOAD_CTX_DIR_RX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLS_OFFLOAD_CTX_DIR_RX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w24
	cset	w0, ne
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x0, x23
	bl	_mlx5e_get_tls_rx_context
	mov	x23, x0
	mov	x0, x21
	bl	_be64_to_cpu
	mov	x3, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x19
	bl	_netdev_info
	ldr	w0, [x20, #8]
	ldr	w1, [x23]
	mov	x2, x19
	mov	x3, x21
	bl	_mlx5_accel_tls_resync_rx
	ldr	x0, [x20]
	bl	_atomic64_inc
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TLS_OFFLOAD_CTX_DIR_RX,4,2     ; @TLS_OFFLOAD_CTX_DIR_RX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resyncing seq %d rcd %lld\n"

	.no_dead_strip	_mlx5e_tls_resync
.subsections_via_symbols
