	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_rep_set_channels
_mlx5e_rep_set_channels:                ## @mlx5e_rep_set_channels
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movl	20(%rax), %r15d
	movl	(%rbx), %r14d
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_mlx5e_ethtool_set_channels
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	cmpl	$1, %r15d
	jne	LBB0_4
## %bb.2:
	cmpl	$2, %r14d
	jl	LBB0_4
## %bb.3:
	movq	_MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	16(%r12), %eax
	movl	%eax, -40(%rbp)
	jmp	LBB0_7
LBB0_4:
	xorl	%ebx, %ebx
	cmpl	$1, %r14d
	jne	LBB0_10
## %bb.5:
	cmpl	$2, %r15d
	jl	LBB0_10
## %bb.6:
	movq	_MLX5_FLOW_DESTINATION_TYPE_TIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
LBB0_7:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_mlx5e_replace_rep_vport_rx_rule
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	%eax, %ebx
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_netdev_warn
	jmp	LBB0_10
LBB0_8:
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE,4,2 ## @MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE
	.comm	_MLX5_FLOW_DESTINATION_TYPE_TIR,4,2 ## @MLX5_FLOW_DESTINATION_TYPE_TIR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to update vport rx rule, when going from (%d) channels to (%d) channels\n"

	.no_dead_strip	_mlx5e_rep_set_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_rep_set_channels
_mlx5e_rep_set_channels:                ; @mlx5e_rep_set_channels
	.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	x22, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	w19, [x0, #20]
	ldr	w20, [x22]
	mov	x1, x22
	bl	_mlx5e_ethtool_set_channels
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.1:
	cmp	w19, #1
	ccmp	w20, #2, #8, eq
	b.ge	LBB0_4
; %bb.2:
	cmp	w20, #1
	ccmp	w19, #2, #8, eq
	b.ge	LBB0_5
; %bb.3:
	mov	w22, #0
	b	LBB0_8
LBB0_4:
Lloh0:
	adrp	x8, _MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x21, #16]
	stp	w8, w9, [sp, #4]
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _MLX5_FLOW_DESTINATION_TYPE_TIR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_FLOW_DESTINATION_TYPE_TIR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x21, #8]
	ldr	w9, [x9]
	stp	w9, w8, [sp]
LBB0_6:
	mov	x1, sp
	mov	x0, x21
	bl	_mlx5e_replace_rep_vport_rx_rule
	mov	x22, x0
	cbz	w0, LBB0_8
; %bb.7:
	ldr	w0, [x21]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_netdev_warn
LBB0_8:
	mov	x0, x22
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE,4,2 ; @MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE
	.comm	_MLX5_FLOW_DESTINATION_TYPE_TIR,4,2 ; @MLX5_FLOW_DESTINATION_TYPE_TIR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to update vport rx rule, when going from (%d) channels to (%d) channels\n"

	.no_dead_strip	_mlx5e_rep_set_channels
.subsections_via_symbols
