	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_build_rx_cq_param        ## -- Begin function mlx5e_build_rx_cq_param
	.p2align	4, 0x90
_mlx5e_build_rx_cq_param:               ## @mlx5e_build_rx_cq_param
	.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, %r14
	movq	%rsi, %r12
	movq	8(%rcx), %rbx
	cmpl	$128, (%rsi)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	%rdx, %r13
	movq	(%rdi), %r15
	movq	%r12, %rdi
	movq	%rdx, %rsi
	callq	_mlx5e_mpwqe_get_log_rq_size
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_mlx5e_mpwqe_get_log_num_strides
	movl	%eax, %ecx
	addl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	jmp	LBB0_3
LBB0_2:
	movl	4(%r12), %ecx
LBB0_3:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	%ecx, %edx
	callq	_MLX5_SET
	movq	_MLX5E_PFLAG_RX_CQE_COMPRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_MLX5E_GET_PFLAG
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_mini_cqe_res_format@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MLX5_CQE_FORMAT_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_MLX5_SET
	movq	_cqe_comp_en@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	_MLX5_SET
LBB0_5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_mlx5e_build_common_cq_param
	movl	8(%r12), %eax
	movl	%eax, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_PFLAG_RX_CQE_COMPRESS,4,2 ## @MLX5E_PFLAG_RX_CQE_COMPRESS
	.comm	_mini_cqe_res_format,4,2        ## @mini_cqe_res_format
	.comm	_MLX5_CQE_FORMAT_CSUM,4,2       ## @MLX5_CQE_FORMAT_CSUM
	.comm	_cqe_comp_en,4,2                ## @cqe_comp_en
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_build_rx_cq_param        ; -- Begin function mlx5e_build_rx_cq_param
	.p2align	2
_mlx5e_build_rx_cq_param:               ; @mlx5e_build_rx_cq_param
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x3, #8]
	ldr	w8, [x1]
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	mov	x23, x2
	ldr	x24, [x21]
	mov	x0, x20
	mov	x1, x2
	bl	_mlx5e_mpwqe_get_log_rq_size
	mov	x25, x0
	mov	x0, x24
	mov	x1, x20
	mov	x2, x23
	bl	_mlx5e_mpwqe_get_log_num_strides
	add	w2, w0, w25
	b	LBB0_3
LBB0_2:
	ldr	w2, [x20, #4]
LBB0_3:
	mov	x0, x22
	mov	x1, x22
	mov	x3, x2
	bl	_MLX5_SET
Lloh0:
	adrp	x8, _MLX5E_PFLAG_RX_CQE_COMPRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_PFLAG_RX_CQE_COMPRESS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5E_GET_PFLAG
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _mini_cqe_res_format@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mini_cqe_res_format@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _MLX5_CQE_FORMAT_CSUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX5_CQE_FORMAT_CSUM@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x22
	bl	_MLX5_SET
Lloh9:
	adrp	x8, _cqe_comp_en@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cqe_comp_en@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x22
	mov	w3, #1
	bl	_MLX5_SET
LBB0_5:
	mov	x0, x21
	mov	x1, x19
	bl	_mlx5e_build_common_cq_param
	ldr	w8, [x20, #8]
	str	w8, [x19]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_PFLAG_RX_CQE_COMPRESS,4,2 ; @MLX5E_PFLAG_RX_CQE_COMPRESS
	.comm	_mini_cqe_res_format,4,2        ; @mini_cqe_res_format
	.comm	_MLX5_CQE_FORMAT_CSUM,4,2       ; @MLX5_CQE_FORMAT_CSUM
	.comm	_cqe_comp_en,4,2                ; @cqe_comp_en
.subsections_via_symbols
