	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_build_rx_skb
_mlx5e_build_rx_skb:                    ## @mlx5e_build_rx_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	movl	12(%rdi), %edi
	callq	_be32_to_cpu
	movq	16(%r14), %r13
	movq	24(%r14), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$33554432, %eax                 ## imm = 0x2000000
	jl	LBB0_2
## %bb.1:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r13d
	shrl	$24, %r13d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_mlx5e_lro_update_hdr
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	12(%rcx), %eax
	addl	%r13d, %eax
	decl	%eax
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, 12(%rcx)
	incl	8(%rcx)
	addl	%r15d, 4(%rcx)
LBB0_2:
	movl	8(%r14), %edi
	callq	_mlx5e_rx_hw_stamp
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	4(%r14), %r15d
	movq	%r12, %rdi
	callq	_get_cqe_ts
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_mlx5_timecounter_cyc2time
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_skb_hwtstamps
	movl	%r15d, (%rax)
LBB0_4:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_skb_record_rx_queue
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%r13), %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_mlx5e_skb_set_hash
LBB0_6:
	movq	%r12, %rdi
	callq	_cqe_has_vlan
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, %r15d
	movl	8(%r12), %edi
	callq	_be16_to_cpu
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	___vlan_hwaccel_put_tag
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
LBB0_8:
	movl	4(%r12), %edi
	callq	_be32_to_cpu
	movq	_MLX5E_TC_FLOW_ID_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%rbx)
	xorl	%r8d, %r8d
	cmpl	$16777216, -44(%rbp)            ## 4-byte Folded Reload
                                        ## imm = 0x1000000
	setae	%r8b
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_mlx5e_handle_csum
	movq	_MLX5E_CE_BIT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%r12), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mlx5e_enable_ecn
LBB0_10:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_eth_type_trans
	movl	%eax, 4(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_MLX5E_TC_FLOW_ID_MASK,4,2      ## @MLX5E_TC_FLOW_ID_MASK
	.comm	_MLX5E_CE_BIT_MASK,4,2          ## @MLX5E_CE_BIT_MASK
	.no_dead_strip	_mlx5e_build_rx_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_build_rx_skb
_mlx5e_build_rx_skb:                    ; @mlx5e_build_rx_skb
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x20, x2
	mov	x24, x1
	mov	x22, x0
	ldr	w0, [x0, #12]
	bl	_be32_to_cpu
	mov	x23, x0
	ldp	x21, x27, [x20, #16]
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	w8, #33554432
	cmp	w0, w8
	b.lt	LBB0_2
; %bb.1:
	lsr	w25, w23, #24
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_mlx5e_lro_update_hdr
	mov	x0, x24
	mov	x1, x25
	bl	_DIV_ROUND_UP
	mov	x26, x0
	mov	x0, x19
	bl	_skb_shinfo
	str	w26, [x0]
	ldr	w8, [x27, #12]
	add	w8, w25, w8
	sub	w8, w8, #1
	str	w8, [x27, #12]
	ldur	d0, [x27, #4]
	movi.2s	v1, #1
	mov.s	v1[0], w24
	add.2s	v0, v0, v1
	stur	d0, [x27, #4]
LBB0_2:
	ldr	w0, [x20, #8]
	bl	_mlx5e_rx_hw_stamp
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w24, [x20, #4]
	mov	x0, x22
	bl	_get_cqe_ts
	mov	x1, x0
	mov	x0, x24
	bl	_mlx5_timecounter_cyc2time
	mov	x24, x0
	mov	x0, x19
	bl	_skb_hwtstamps
	str	w24, [x0]
LBB0_4:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_skb_record_rx_queue
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _NETIF_F_RXHASH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_likely
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x22
	mov	x1, x19
	bl	_mlx5e_skb_set_hash
LBB0_6:
	mov	x0, x22
	bl	_cqe_has_vlan
	cbz	x0, LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	mov	x24, x0
	ldr	w0, [x22, #8]
	bl	_be16_to_cpu
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	___vlan_hwaccel_put_tag
	ldr	w8, [x27]
	add	w8, w8, #1
	str	w8, [x27]
LBB0_8:
	ldr	w0, [x22, #4]
	bl	_be32_to_cpu
Lloh9:
	adrp	x8, _MLX5E_TC_FLOW_ID_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX5E_TC_FLOW_ID_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [x19]
	tst	w23, #0xff000000
	cset	w4, ne
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_mlx5e_handle_csum
	ldr	w8, [x22]
Lloh12:
	adrp	x9, _MLX5E_CE_BIT_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MLX5E_CE_BIT_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_unlikely
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x20
	mov	x1, x19
	bl	_mlx5e_enable_ecn
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	bl	_eth_type_trans
	str	w0, [x19, #4]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_MLX5E_TC_FLOW_ID_MASK,4,2      ; @MLX5E_TC_FLOW_ID_MASK
	.comm	_MLX5E_CE_BIT_MASK,4,2          ; @MLX5E_CE_BIT_MASK
	.no_dead_strip	_mlx5e_build_rx_skb
.subsections_via_symbols
