	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_modify_rx_cqe_compression_locked ## -- Begin function mlx5e_modify_rx_cqe_compression_locked
	.p2align	4, 0x90
_mlx5e_modify_rx_cqe_compression_locked: ## @mlx5e_modify_rx_cqe_compression_locked
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_MLX5E_PFLAG_RX_CQE_COMPRESS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_MLX5E_GET_PFLAG
	movl	%eax, %r12d
	movl	8(%r14), %edi
	movq	_cqe_compression@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	cmpl	%r15d, %r12d
	je	LBB0_7
## %bb.3:
	movl	(%r14), %eax
	movl	%eax, -48(%rbp)
	movl	(%r13), %esi
	leaq	-48(%rbp), %rdi
	movl	%r15d, %edx
	callq	_MLX5E_SET_PFLAG
	movq	_MLX5E_STATE_OPENED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_mlx5e_safe_switch_channels
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_MLX5E_GET_PFLAG
	testl	%eax, %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_mlx5e_dbg
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	testl	%r15d, %r15d
	cmovel	%r15d, %ebx
	jmp	LBB0_7
LBB0_4:
	movl	-48(%rbp), %eax
	movl	%eax, (%r14)
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %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	_cqe_compression,4,2            ## @cqe_compression
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MLX5E_STATE_OPENED,4,2         ## @MLX5E_STATE_OPENED
	.comm	_DRV,4,2                        ## @DRV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MLX5E: RxCqeCmprss was turned %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"ON"

L_.str.2:                               ## @.str.2
	.asciz	"OFF"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_modify_rx_cqe_compression_locked ; -- Begin function mlx5e_modify_rx_cqe_compression_locked
	.p2align	2
_mlx5e_modify_rx_cqe_compression_locked: ; @mlx5e_modify_rx_cqe_compression_locked
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _MLX5E_PFLAG_RX_CQE_COMPRESS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MLX5E_PFLAG_RX_CQE_COMPRESS@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_MLX5E_GET_PFLAG
	mov	x21, x0
	ldr	w0, [x19, #8]
Lloh2:
	adrp	x8, _cqe_compression@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cqe_compression@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN
	cbz	w0, LBB0_6
; %bb.1:
	cmp	w21, w20
	b.eq	LBB0_5
; %bb.2:
	mov	x21, x19
	ldr	w8, [x21], #4
	str	w8, [sp, #8]
	ldr	w1, [x22]
	add	x0, sp, #8
	mov	x2, x20
	bl	_MLX5E_SET_PFLAG
Lloh5:
	adrp	x8, _MLX5E_STATE_OPENED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLX5E_STATE_OPENED@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_7
; %bb.3:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, #0
	bl	_mlx5e_safe_switch_channels
	cbnz	w0, LBB0_8
; %bb.4:
Lloh8:
	adrp	x8, _DRV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DRV@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_MLX5E_GET_PFLAG
Lloh11:
	adrp	x8, l_.str.1@PAGE
Lloh12:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh13:
	adrp	x9, l_.str.2@PAGE
Lloh14:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w0, #0
	csel	x3, x9, x8, eq
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_mlx5e_dbg
LBB0_5:
	mov	w0, #0
	b	LBB0_8
LBB0_6:
Lloh17:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w20, #0
	csneg	w0, wzr, w8, eq
	b	LBB0_8
LBB0_7:
	ldr	w8, [sp, #8]
	str	w8, [x19]
LBB0_8:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_PFLAG_RX_CQE_COMPRESS,4,2 ; @MLX5E_PFLAG_RX_CQE_COMPRESS
	.comm	_cqe_compression,4,2            ; @cqe_compression
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MLX5E_STATE_OPENED,4,2         ; @MLX5E_STATE_OPENED
	.comm	_DRV,4,2                        ; @DRV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MLX5E: RxCqeCmprss was turned %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"ON"

l_.str.2:                               ; @.str.2
	.asciz	"OFF"

.subsections_via_symbols
