	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpsw_get_channels              ## -- Begin function cpsw_get_channels
	.p2align	4, 0x90
_cpsw_get_channels:                     ## @cpsw_get_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_ndev_to_cpsw
	cmpq	$0, 8(%rax)
	movq	_CPSW_MAX_QUEUES@GOTPCREL(%rip), %rcx
	movl	$1, %edx
	movl	(%rcx), %esi
	cmovnel	%edx, %esi
	movl	%esi, (%rbx)
	cmovel	(%rcx), %edx
	movl	%edx, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	$0, 40(%rbx)
	movl	4(%rax), %ecx
	movl	%ecx, 20(%rbx)
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPSW_MAX_QUEUES,4,2            ## @CPSW_MAX_QUEUES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpsw_get_channels              ; -- Begin function cpsw_get_channels
	.p2align	2
_cpsw_get_channels:                     ; @cpsw_get_channels
	.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, x1
	bl	_ndev_to_cpsw
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _CPSW_MAX_QUEUES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CPSW_MAX_QUEUES@GOTPAGEOFF]
	ldr	w10, [x9]
	cmp	x8, #0
	csinc	w8, w10, wzr, eq
	str	w8, [x19]
	ldr	w8, [x9]
	csinc	w8, w8, wzr, eq
	str	w8, [x19, #4]
	stp	xzr, xzr, [x19, #32]
	str	xzr, [x19, #24]
	ldr	d0, [x0]
	str	d0, [x19, #16]
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CPSW_MAX_QUEUES,4,2            ; @CPSW_MAX_QUEUES
.subsections_via_symbols
