	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_set_tx_cq_mode_params    ## -- Begin function mlx5e_set_tx_cq_mode_params
	.p2align	4, 0x90
_mlx5e_set_tx_cq_mode_params:           ## @mlx5e_set_tx_cq_mode_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movl	%esi, %edi
	callq	_mlx5_to_net_dim_cq_period_mode
	movl	%eax, %edi
	callq	_net_dim_get_def_tx_moderation
	jmp	LBB0_3
LBB0_2:
	movl	%esi, %edi
	callq	_mlx5e_get_def_tx_moderation
LBB0_3:
	movq	%rax, (%rbx)
	movq	_MLX5E_PFLAG_TX_CQE_BASED_MODER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_MLX5_CQ_PERIOD_MODE_START_FROM_CQE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_MLX5E_SET_PFLAG                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_PFLAG_TX_CQE_BASED_MODER,4,2 ## @MLX5E_PFLAG_TX_CQE_BASED_MODER
	.comm	_MLX5_CQ_PERIOD_MODE_START_FROM_CQE,8,3 ## @MLX5_CQ_PERIOD_MODE_START_FROM_CQE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_set_tx_cq_mode_params    ; -- Begin function mlx5e_set_tx_cq_mode_params
	.p2align	2
_mlx5e_set_tx_cq_mode_params:           ; @mlx5e_set_tx_cq_mode_params
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x1
	bl	_mlx5_to_net_dim_cq_period_mode
	bl	_net_dim_get_def_tx_moderation
	b	LBB0_3
LBB0_2:
	mov	x0, x1
	bl	_mlx5e_get_def_tx_moderation
LBB0_3:
	str	x0, [x19]
Lloh0:
	adrp	x8, _MLX5E_PFLAG_TX_CQE_BASED_MODER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_PFLAG_TX_CQE_BASED_MODER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MLX5_CQ_PERIOD_MODE_START_FROM_CQE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_CQ_PERIOD_MODE_START_FROM_CQE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w2, eq
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_MLX5E_SET_PFLAG
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_PFLAG_TX_CQE_BASED_MODER,4,2 ; @MLX5E_PFLAG_TX_CQE_BASED_MODER
	.comm	_MLX5_CQ_PERIOD_MODE_START_FROM_CQE,8,3 ; @MLX5_CQ_PERIOD_MODE_START_FROM_CQE
.subsections_via_symbols
