	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_pflag_cqe_based_moder
_set_pflag_cqe_based_moder:             ## @set_pflag_cqe_based_moder
	.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
	movl	%esi, %r14d
	xorl	%ebx, %ebx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	setne	%r15b
	callq	_netdev_priv
	movq	%rax, %r12
	movq	_MLX5_CQ_PERIOD_MODE_START_FROM_CQE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %r13
	testl	%r14d, %r14d
	jne	LBB0_2
## %bb.1:
	movq	_MLX5_CQ_PERIOD_MODE_START_FROM_EQE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
LBB0_2:
	movb	%r15b, %bl
	movq	(%r12,%rbx,8), %rbx
	cmpq	%rax, %r13
	jne	LBB0_5
## %bb.3:
	movq	24(%r12), %rdi
	movq	_cq_period_start_from_cqe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	xorl	%r14d, %r14d
	cmpq	%rbx, %r13
	je	LBB0_12
## %bb.6:
	movups	(%r12), %xmm0
	movaps	%xmm0, -64(%rbp)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:
	leaq	-64(%rbp), %rdi
	movq	%r13, %rsi
	callq	_mlx5e_set_rx_cq_mode_params
	jmp	LBB0_9
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_12
LBB0_8:
	leaq	-64(%rbp), %rdi
	movq	%r13, %rsi
	callq	_mlx5e_set_tx_cq_mode_params
LBB0_9:
	movq	_MLX5E_STATE_OPENED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	addq	$16, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_mlx5e_safe_switch_channels
	movl	%eax, %r14d
	jmp	LBB0_12
LBB0_10:
	movaps	-64(%rbp), %xmm0
	movups	%xmm0, (%r12)
LBB0_12:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_CQ_PERIOD_MODE_START_FROM_CQE,8,3 ## @MLX5_CQ_PERIOD_MODE_START_FROM_CQE
	.comm	_MLX5_CQ_PERIOD_MODE_START_FROM_EQE,8,3 ## @MLX5_CQ_PERIOD_MODE_START_FROM_EQE
	.comm	_cq_period_start_from_cqe,4,2   ## @cq_period_start_from_cqe
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MLX5E_STATE_OPENED,4,2         ## @MLX5E_STATE_OPENED
	.no_dead_strip	_set_pflag_cqe_based_moder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_pflag_cqe_based_moder
_set_pflag_cqe_based_moder:             ; @set_pflag_cqe_based_moder
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	cmp	w2, #0
	cset	w22, ne
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _MLX5_CQ_PERIOD_MODE_START_FROM_CQE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_CQ_PERIOD_MODE_START_FROM_CQE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MLX5_CQ_PERIOD_MODE_START_FROM_EQE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX5_CQ_PERIOD_MODE_START_FROM_EQE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	w21, #0
	csel	x21, x9, x8, eq
	ldr	x22, [x0, w22, uxtw #3]
	cmp	x21, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x19, #24]
Lloh6:
	adrp	x8, _cq_period_start_from_cqe@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cq_period_start_from_cqe@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN
	cbz	w0, LBB0_6
LBB0_2:
	cmp	x21, x22
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_11
LBB0_4:
	ldr	q0, [x19]
	str	q0, [sp]
	mov	x0, sp
	mov	x1, x21
	cbz	w20, LBB0_7
; %bb.5:
	bl	_mlx5e_set_rx_cq_mode_params
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_7:
	bl	_mlx5e_set_tx_cq_mode_params
LBB0_8:
Lloh12:
	adrp	x8, _MLX5E_STATE_OPENED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX5E_STATE_OPENED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_test_bit
	cbz	w0, LBB0_10
; %bb.9:
	mov	x1, sp
	mov	x0, x19
	mov	x2, #0
	bl	_mlx5e_safe_switch_channels
	b	LBB0_11
LBB0_10:
	ldr	q0, [sp]
	str	q0, [x19]
LBB0_11:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_CQ_PERIOD_MODE_START_FROM_CQE,8,3 ; @MLX5_CQ_PERIOD_MODE_START_FROM_CQE
	.comm	_MLX5_CQ_PERIOD_MODE_START_FROM_EQE,8,3 ; @MLX5_CQ_PERIOD_MODE_START_FROM_EQE
	.comm	_cq_period_start_from_cqe,4,2   ; @cq_period_start_from_cqe
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MLX5E_STATE_OPENED,4,2         ; @MLX5E_STATE_OPENED
	.no_dead_strip	_set_pflag_cqe_based_moder
.subsections_via_symbols
