	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_tls_build_netdev         ## -- Begin function mlx5e_tls_build_netdev
	.p2align	4, 0x90
_mlx5e_tls_build_netdev:                ## @mlx5e_tls_build_netdev
	.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, %rbx
	movq	8(%rdi), %r14
	movl	(%rdi), %edi
	callq	_mlx5_accel_is_ktls_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mlx5e_ktls_build_netdev        ## TAILCALL
LBB0_1:
	movl	(%rbx), %edi
	callq	_mlx5_accel_is_tls_device
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	movl	(%rbx), %edi
	callq	_mlx5_accel_tls_device_caps
	movq	_MLX5_ACCEL_TLS_TX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_NETIF_F_HW_TLS_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%r14)
	orl	%ecx, 8(%r14)
LBB0_4:
	movq	_MLX5_ACCEL_TLS_RX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_NETIF_F_HW_TLS_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%r14)
	orl	%ecx, 8(%r14)
LBB0_6:
	movq	_MLX5_ACCEL_TLS_LRO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.7:
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 12(%r14)
	andl	%eax, 8(%r14)
LBB0_8:
	movq	_mlx5e_tls_ops@GOTPCREL(%rip), %rax
	movq	%rax, (%r14)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_ACCEL_TLS_TX,4,2          ## @MLX5_ACCEL_TLS_TX
	.comm	_NETIF_F_HW_TLS_TX,4,2          ## @NETIF_F_HW_TLS_TX
	.comm	_MLX5_ACCEL_TLS_RX,4,2          ## @MLX5_ACCEL_TLS_RX
	.comm	_NETIF_F_HW_TLS_RX,4,2          ## @NETIF_F_HW_TLS_RX
	.comm	_MLX5_ACCEL_TLS_LRO,4,2         ## @MLX5_ACCEL_TLS_LRO
	.comm	_NETIF_F_LRO,4,2                ## @NETIF_F_LRO
	.comm	_mlx5e_tls_ops,4,2              ## @mlx5e_tls_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_tls_build_netdev         ; -- Begin function mlx5e_tls_build_netdev
	.p2align	2
_mlx5e_tls_build_netdev:                ; @mlx5e_tls_build_netdev
	.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
	ldr	x20, [x0, #8]
	ldr	w0, [x0]
	bl	_mlx5_accel_is_ktls_device
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mlx5e_ktls_build_netdev
LBB0_2:
	ldr	w0, [x19]
	bl	_mlx5_accel_is_tls_device
	cbz	w0, LBB0_10
; %bb.3:
	ldr	w0, [x19]
	bl	_mlx5_accel_tls_device_caps
Lloh0:
	adrp	x8, _MLX5_ACCEL_TLS_TX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_ACCEL_TLS_TX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _NETIF_F_HW_TLS_TX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETIF_F_HW_TLS_TX@GOTPAGEOFF]
	ldr	d0, [x20, #8]
	ld1r.2s	{ v1 }, [x8]
	orr.8b	v0, v0, v1
	str	d0, [x20, #8]
LBB0_5:
Lloh5:
	adrp	x8, _MLX5_ACCEL_TLS_RX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLX5_ACCEL_TLS_RX@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _NETIF_F_HW_TLS_RX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETIF_F_HW_TLS_RX@GOTPAGEOFF]
	ldr	d0, [x20, #8]
	ld1r.2s	{ v1 }, [x8]
	orr.8b	v0, v0, v1
	str	d0, [x20, #8]
LBB0_7:
Lloh10:
	adrp	x8, _MLX5_ACCEL_TLS_LRO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MLX5_ACCEL_TLS_LRO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_9
; %bb.8:
Lloh13:
	adrp	x8, _NETIF_F_LRO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NETIF_F_LRO@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	mvn	w8, w8
	ldr	d0, [x20, #8]
	dup.2s	v1, w8
	and.8b	v0, v0, v1
	str	d0, [x20, #8]
LBB0_9:
Lloh16:
	adrp	x8, _mlx5e_tls_ops@GOTPAGE
Lloh17:
	ldr	x8, [x8, _mlx5e_tls_ops@GOTPAGEOFF]
	str	x8, [x20]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_ACCEL_TLS_TX,4,2          ; @MLX5_ACCEL_TLS_TX
	.comm	_NETIF_F_HW_TLS_TX,4,2          ; @NETIF_F_HW_TLS_TX
	.comm	_MLX5_ACCEL_TLS_RX,4,2          ; @MLX5_ACCEL_TLS_RX
	.comm	_NETIF_F_HW_TLS_RX,4,2          ; @NETIF_F_HW_TLS_RX
	.comm	_MLX5_ACCEL_TLS_LRO,4,2         ; @MLX5_ACCEL_TLS_LRO
	.comm	_NETIF_F_LRO,4,2                ; @NETIF_F_LRO
	.comm	_mlx5e_tls_ops,4,2              ; @mlx5e_tls_ops
.subsections_via_symbols
