	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_switch_priv_channels
_mlx5e_switch_priv_channels:            ## @mlx5e_switch_priv_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	%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
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movl	4(%rsi), %r15d
	imull	(%rsi), %r15d
	movq	%r14, %rdi
	callq	_netif_carrier_ok
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_netif_carrier_off
	cmpl	(%r14), %r15d
	jge	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_netif_set_real_num_tx_queues
LBB0_2:
	movq	%rbx, %rdi
	callq	_mlx5e_deactivate_priv_channels
	leaq	8(%rbx), %rdi
	callq	_mlx5e_close_channels
	movq	(%r13), %rax
	movq	%rax, 8(%rbx)
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	*%r12
LBB0_4:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	%rbx, %rdi
	callq	_mlx5e_activate_priv_channels
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_carrier_on               ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlx5e_switch_priv_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_switch_priv_channels
_mlx5e_switch_priv_channels:            ; @mlx5e_switch_priv_channels
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldp	w8, w9, [x1]
	mul	w24, w9, w8
	mov	x0, x19
	bl	_netif_carrier_ok
	mov	x21, x0
	mov	x0, x19
	bl	_netif_carrier_off
	ldr	w8, [x19]
	cmp	w24, w8
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x24
	bl	_netif_set_real_num_tx_queues
LBB0_2:
	mov	x0, x20
	bl	_mlx5e_deactivate_priv_channels
	add	x0, x20, #8
	bl	_mlx5e_close_channels
	ldr	x8, [x23]
	str	x8, [x20, #8]
	cbz	x22, LBB0_4
; %bb.3:
	mov	x0, x20
	blr	x22
LBB0_4:
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	mov	x0, x20
	bl	_mlx5e_activate_priv_channels
	cbz	w21, LBB0_6
; %bb.5:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_netif_carrier_on
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlx5e_switch_priv_channels
.subsections_via_symbols
