	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_set_eseg_swp
_mlx5e_set_eseg_swp:                    ## @mlx5e_set_eseg_swp
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_skb_network_offset
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, (%r15)
	movq	(%r13), %rbx
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_2
## %bb.1:
	movq	_MLX5_ETH_WQE_SWP_OUTER_L3_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r15)
LBB0_2:
	cmpq	$0, 8(%r13)
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_skb_transport_offset
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 4(%r15)
	cmpq	$128, 8(%r13)
	jne	LBB0_5
## %bb.4:
	movq	_MLX5_ETH_WQE_SWP_OUTER_L4_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r15)
LBB0_5:
	cmpq	$0, 32(%r13)
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_skb_inner_network_offset
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 8(%r15)
	movq	16(%r13), %rbx
	jmp	LBB0_8
LBB0_7:
	movq	%r14, %rdi
	callq	_skb_network_offset
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 8(%r15)
	movq	(%r13), %rbx
LBB0_8:
	movl	(%r12), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_10
## %bb.9:
	movq	_MLX5_ETH_WQE_SWP_INNER_L3_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r15)
LBB0_10:
	movl	24(%r13), %eax
	cmpl	$129, %eax
	je	LBB0_13
## %bb.11:
	cmpl	$128, %eax
	jne	LBB0_14
## %bb.12:
	movq	_MLX5_ETH_WQE_SWP_INNER_L4_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r15)
LBB0_13:
	movq	%r14, %rdi
	callq	_skb_inner_transport_offset
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 12(%r15)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.comm	_MLX5_ETH_WQE_SWP_OUTER_L3_IPV6,4,2 ## @MLX5_ETH_WQE_SWP_OUTER_L3_IPV6
	.comm	_MLX5_ETH_WQE_SWP_OUTER_L4_UDP,4,2 ## @MLX5_ETH_WQE_SWP_OUTER_L4_UDP
	.comm	_MLX5_ETH_WQE_SWP_INNER_L3_IPV6,4,2 ## @MLX5_ETH_WQE_SWP_INNER_L3_IPV6
	.comm	_MLX5_ETH_WQE_SWP_INNER_L4_UDP,4,2 ## @MLX5_ETH_WQE_SWP_INNER_L4_UDP
	.no_dead_strip	_mlx5e_set_eseg_swp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_set_eseg_swp
_mlx5e_set_eseg_swp:                    ; @mlx5e_set_eseg_swp
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_skb_network_offset
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
	str	w8, [x19]
	ldr	x23, [x21]
Lloh0:
	adrp	x22, _ETH_P_IPV6@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ETH_P_IPV6@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_htons
	cmp	x23, x0
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _MLX5_ETH_WQE_SWP_OUTER_L3_IPV6@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MLX5_ETH_WQE_SWP_OUTER_L3_IPV6@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
LBB0_2:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_skb_transport_offset
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
	str	w8, [x19, #4]
	ldr	x8, [x21, #8]
	cmp	x8, #128
	b.ne	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _MLX5_ETH_WQE_SWP_OUTER_L4_UDP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLX5_ETH_WQE_SWP_OUTER_L4_UDP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
LBB0_5:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_skb_inner_network_offset
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
	str	w8, [x19, #8]
	ldr	x23, [x21, #16]
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_skb_network_offset
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
	str	w8, [x19, #8]
	ldr	x23, [x21]
LBB0_8:
	ldr	w0, [x22]
	bl	_htons
	cmp	x23, x0
	b.ne	LBB0_10
; %bb.9:
Lloh8:
	adrp	x8, _MLX5_ETH_WQE_SWP_INNER_L3_IPV6@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLX5_ETH_WQE_SWP_INNER_L3_IPV6@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
LBB0_10:
	ldr	w8, [x21, #24]
	cmp	w8, #129
	b.eq	LBB0_13
; %bb.11:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.12:
Lloh11:
	adrp	x8, _MLX5_ETH_WQE_SWP_INNER_L4_UDP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MLX5_ETH_WQE_SWP_INNER_L4_UDP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
LBB0_13:
	mov	x0, x20
	bl	_skb_inner_transport_offset
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
	str	w8, [x19, #12]
LBB0_14:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.comm	_MLX5_ETH_WQE_SWP_OUTER_L3_IPV6,4,2 ; @MLX5_ETH_WQE_SWP_OUTER_L3_IPV6
	.comm	_MLX5_ETH_WQE_SWP_OUTER_L4_UDP,4,2 ; @MLX5_ETH_WQE_SWP_OUTER_L4_UDP
	.comm	_MLX5_ETH_WQE_SWP_INNER_L3_IPV6,4,2 ; @MLX5_ETH_WQE_SWP_INNER_L3_IPV6
	.comm	_MLX5_ETH_WQE_SWP_INNER_L4_UDP,4,2 ; @MLX5_ETH_WQE_SWP_INNER_L4_UDP
	.no_dead_strip	_mlx5e_set_eseg_swp
.subsections_via_symbols
