	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpsw_add_ch_strings
_cpsw_add_ch_strings:                   ## @cpsw_add_ch_strings
	.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, %r14d
	movq	_CPSW_STATS_CH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	imull	%ecx, %r14d
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.1:
	movq	%rdi, %r12
	testl	%edx, %edx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r15
	cmoveq	%rax, %r15
	movq	(%rdi), %rdi
	movq	_ETH_GSTRING_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	decl	%r14d
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	cltd
	idivl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	movslq	%eax, %r8
	movq	_cpsw_gstrings_ch_stats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdx,4), %r9d
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_snprintf
	movq	_ETH_GSTRING_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	leaq	(,%rsi,4), %rdi
	addq	(%r12), %rdi
	movq	%rdi, (%r12)
	cmpl	%ebx, %r14d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_CPSW_STATS_CH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	incl	%ebx
	jmp	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPSW_STATS_CH_LEN,4,2          ## @CPSW_STATS_CH_LEN
	.comm	_ETH_GSTRING_LEN,4,2            ## @ETH_GSTRING_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s DMA chan %ld: %s"

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

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

	.comm	_cpsw_gstrings_ch_stats,8,3     ## @cpsw_gstrings_ch_stats
	.no_dead_strip	_cpsw_add_ch_strings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpsw_add_ch_strings
_cpsw_add_ch_strings:                   ; @cpsw_add_ch_strings
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x22, _CPSW_STATS_CH_LEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CPSW_STATS_CH_LEN@GOTPAGEOFF]
	ldr	w8, [x22]
	mul	w9, w8, w1
	subs	w23, w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	mov	w24, #0
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh4:
	adrp	x10, l_.str.2@PAGE
Lloh5:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w2, #0
	csel	x20, x10, x9, eq
Lloh6:
	adrp	x25, _ETH_GSTRING_LEN@GOTPAGE
Lloh7:
	ldr	x25, [x25, _ETH_GSTRING_LEN@GOTPAGEOFF]
	ldr	x0, [x0]
	ldr	w1, [x25]
Lloh8:
	adrp	x26, _cpsw_gstrings_ch_stats@GOTPAGE
Lloh9:
	ldr	x26, [x26, _cpsw_gstrings_ch_stats@GOTPAGEOFF]
Lloh10:
	adrp	x21, l_.str@PAGE
Lloh11:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sdiv	w9, w24, w8
	msub	w8, w8, w9, w24
	sxtw	x4, w9
	ldr	x9, [x26]
	ldr	w5, [x9, w8, uxtw #2]
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x21
	mov	x3, x20
	bl	_snprintf
	ldrsw	x1, [x25]
	ldr	x8, [x19]
	add	x0, x8, x1, lsl #2
	str	x0, [x19]
	cmp	w23, w24
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22]
	add	w24, w24, #1
	b	LBB0_2
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_CPSW_STATS_CH_LEN,4,2          ; @CPSW_STATS_CH_LEN
	.comm	_ETH_GSTRING_LEN,4,2            ; @ETH_GSTRING_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s DMA chan %ld: %s"

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

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

	.comm	_cpsw_gstrings_ch_stats,8,3     ; @cpsw_gstrings_ch_stats
	.no_dead_strip	_cpsw_add_ch_strings
.subsections_via_symbols
