	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_core_buf_dump_dbg
_mlxsw_core_buf_dump_dbg:               ## @mlxsw_core_buf_dump_dbg
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	shrq	$3, %rdx
	movl	%edx, %ecx
	movl	%edx, %eax
	sarl	$31, %eax
	andl	%edx, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-1(%rcx), %rdx
	cmpq	$0, -8(%r12,%rcx,8)
	movq	%rdx, %rcx
	je	LBB0_1
## %bb.3:
	incl	%edx
	movl	%edx, %eax
LBB0_4:
	testl	%eax, %eax
	movl	$1, %ecx
	cmovnel	%eax, %ecx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%r12,%r15,8), %rdi
	callq	_be32_to_cpu
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	8(%r12,%r15,8), %rdi
	callq	_be32_to_cpu
	movl	%eax, %r14d
	movq	16(%r12,%r15,8), %rdi
	callq	_be32_to_cpu
	movl	%eax, %r13d
	movq	24(%r12,%r15,8), %rdi
	callq	_be32_to_cpu
	movl	%eax, (%rsp)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r8d
	movl	%r13d, %r9d
	callq	_dev_dbg
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	$4, %r15
	addl	$16, %ebx
	cmpl	%r15d, %ecx
	jg	LBB0_6
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%04x - %08x %08x %08x %08x\n"

	.no_dead_strip	_mlxsw_core_buf_dump_dbg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_core_buf_dump_dbg
_mlxsw_core_buf_dump_dbg:               ; @mlxsw_core_buf_dump_dbg
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	lsr	x8, x2, #3
	ubfx	x9, x2, #3, #32
	cmp	w8, #0
	csel	w8, w8, wzr, lt
	sub	x10, x1, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x11, x9, #1
	ldr	x12, [x10, x9, lsl #3]
	mov	x9, x11
	cbz	x12, LBB0_1
; %bb.3:
	add	w8, w11, #1
LBB0_4:
	cmp	w8, #0
	csinc	w27, w8, wzr, ne
	cmp	w27, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w21, #0
	mov	x28, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	w23, [x8]
	add	x22, x19, x28, lsl #3
	ldr	x0, [x22]
	bl	_be32_to_cpu
	mov	x24, x0
	ldr	x0, [x22, #8]
	bl	_be32_to_cpu
	mov	x25, x0
	ldr	x0, [x22, #16]
	bl	_be32_to_cpu
	mov	x26, x0
	ldr	x0, [x22, #24]
	bl	_be32_to_cpu
	mov	x6, x0
	mov	x0, x23
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x24
	mov	x4, x25
	mov	x5, x26
	bl	_dev_dbg
	add	x28, x28, #4
	add	w21, w21, #16
	cmp	w27, w28
	b.gt	LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%04x - %08x %08x %08x %08x\n"

	.no_dead_strip	_mlxsw_core_buf_dump_dbg
.subsections_via_symbols
