	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_tls_complete_sync_skb
_mlx5e_tls_complete_sync_skb:           ## @mlx5e_tls_complete_sync_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
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%r8, -72(%rbp)
	movq	_SYNDROME_SYNC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	24(%rdi), %rax
	movq	%rax, 24(%rsi)
	movq	%rsi, %rdi
	callq	_skb_reset_mac_header
	movq	%rbx, %rdi
	callq	_skb_network_offset
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_skb_set_network_header
	movq	%rbx, %rdi
	callq	_skb_transport_offset
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_skb_set_transport_header
	movq	16(%r13), %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movslq	%r12d, %r15
	leaq	(,%r15,8), %rdi
	addq	16(%r13), %rdi
	leaq	-72(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	%r13, %rdi
	callq	_ip_hdr
	movq	%rax, %r12
	movl	(%r13), %ebx
	movq	%r13, %rdi
	callq	_skb_network_offset
	subl	%eax, %ebx
	movl	%ebx, %edi
	callq	_htons
	movq	%rax, (%r12)
	movq	%r13, %rdi
	callq	_tcp_hdr
	movq	%rax, %rbx
	movl	(%r13), %r12d
	subl	%r15d, %r12d
	subl	%r12d, %r14d
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, %edi
	callq	_htonl
	movl	%eax, (%rbx)
	movq	24(%r13), %rax
	movl	(%rax), %r14d
	movq	%r13, %rdi
	callq	_skb_network_offset
	movl	%eax, %ebx
	subl	%r15d, %ebx
	addl	%r14d, %ebx
	movq	%r13, %rdi
	callq	_skb_shinfo
	movl	$0, (%rax)
	cmpl	%ebx, %r12d
	jle	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_skb_shinfo
	movl	%ebx, (%rax)
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_skb_shinfo
	movl	%ebx, 8(%rax)
LBB0_2:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_skb_shinfo
	movl	4(%rax), %ebx
	movq	%r13, %rdi
	callq	_skb_shinfo
	movl	%ebx, 4(%rax)
	movq	16(%r13), %rbx
	leaq	32(%rbx), %rdi
	leaq	-64(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_htons
	movq	%rax, 32(%rbx)
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movl	4(%r14), %eax
	movl	%eax, 4(%r13)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYNDROME_SYNC,8,3              ## @SYNDROME_SYNC
	.comm	_CHECKSUM_PARTIAL,4,2           ## @CHECKSUM_PARTIAL
	.no_dead_strip	_mlx5e_tls_complete_sync_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_tls_complete_sync_skb
_mlx5e_tls_complete_sync_skb:           ; @mlx5e_tls_complete_sync_skb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	str	x4, [sp, #8]
Lloh0:
	adrp	x8, _SYNDROME_SYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYNDROME_SYNC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp]
	ldr	x8, [x0, #24]
	str	x8, [x1, #24]
	mov	x0, x1
	bl	_skb_reset_mac_header
	mov	x0, x20
	bl	_skb_network_offset
	mov	x1, x0
	mov	x0, x19
	bl	_skb_set_network_header
	mov	x0, x20
	bl	_skb_transport_offset
	mov	x1, x0
	mov	x0, x19
	bl	_skb_set_transport_header
	ldr	x0, [x19, #16]
	ldr	x1, [x20, #16]
	mov	x2, x21
	bl	_memcpy
	ldr	x8, [x19, #16]
	add	x0, x8, w21, sxtw #3
	add	x1, sp, #8
	mov	w2, #8
	bl	_memcpy
	mov	x0, x19
	bl	_ip_hdr
	mov	x23, x0
	ldr	w24, [x19]
	mov	x0, x19
	bl	_skb_network_offset
	sub	w0, w24, w0
	bl	_htons
	str	x0, [x23]
	mov	x0, x19
	bl	_tcp_hdr
	mov	x24, x0
	ldr	w8, [x19]
	sub	w23, w8, w21
	sub	w22, w22, w23
	mov	x0, x22
	bl	_htonl
	str	w0, [x24]
	ldr	x8, [x19, #24]
	ldr	w24, [x8]
	mov	x0, x19
	bl	_skb_network_offset
	sub	w8, w0, w21
	add	w21, w8, w24
	mov	x0, x19
	bl	_skb_shinfo
	str	wzr, [x0]
	cmp	w23, w21
	b.le	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_skb_shinfo
	str	w21, [x0]
	mov	x0, x23
	mov	x1, x21
	bl	_DIV_ROUND_UP
	mov	x21, x0
	mov	x0, x19
	bl	_skb_shinfo
	str	w21, [x0, #8]
LBB0_2:
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w21, [x0, #4]
	mov	x0, x19
	bl	_skb_shinfo
	str	w21, [x0, #4]
	ldr	x21, [x19, #16]
	add	x0, x21, #32
	mov	x1, sp
	mov	w2, #8
	bl	_memcpy
	mov	x0, x22
	bl	_htons
	str	x0, [x21, #32]
Lloh3:
	adrp	x8, _CHECKSUM_PARTIAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w8, [x20, #4]
	str	w8, [x19, #4]
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SYNDROME_SYNC,8,3              ; @SYNDROME_SYNC
	.comm	_CHECKSUM_PARTIAL,4,2           ; @CHECKSUM_PARTIAL
	.no_dead_strip	_mlx5e_tls_complete_sync_skb
.subsections_via_symbols
