	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ring_show
_ring_show:                             ## @ring_show
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rbx
	leaq	40(%rbx), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rsi
	movl	$83, %r8d
	movl	$95, %r9d
	callq	_wil_print_ring
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	32(%rbx), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%r15,%r13)
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.6(%rip), %rax
	cmoveq	%rax, %rdx
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	L_.str.7(%rip), %rsi
	movq	-104(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	leaq	-68(%rbp), %r9
	xorl	%eax, %eax
	callq	_seq_printf
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	leaq	-58(%rbp), %rdx
	movq	%r12, %rcx
	movl	$95, %r8d
	movl	$72, %r9d
	callq	_wil_print_ring
	movq	32(%r15), %r12
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	addq	$24, %r14
	addq	$40, %r13
	cmpq	%rax, %rbx
	jae	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	32(%rax), %r12
	cmpq	$0, 16(%r12,%r14)
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rax), %r15
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movslq	(%rax), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movl	4(%rax), %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movl	(%r12,%r14), %eax
	subl	4(%r12,%r14), %eax
	movl	8(%r12,%r14), %ecx
	addl	%ecx, %eax
	cltd
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	idivl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_cycles
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	subq	8(%r15,%r13), %rsi
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-68(%rbp), %rdi
	movl	$10, %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r15,%r13), %rax
	imulq	$100, %rax, %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_do_div
	leaq	-68(%rbp), %rdi
	movl	$10, %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%r14, %r12
	movq	-104(%rbp), %rax                ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	notl	%eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r15,%r13)
	movl	$0, (%r15,%r13)
	leaq	-58(%rbp), %rdi
	movl	$10, %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	cmpl	8(%rdi), %ecx
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rdi), %rax
	movslq	(%rax,%rcx,4), %rdx
	cmpq	$0, 16(%r15,%r13)
	leaq	L_.str.5(%rip), %rsi
	movq	%rsi, %r9
	leaq	L_.str.6(%rip), %rax
	cmoveq	%rax, %r9
	movl	32(%r15,%r13), %r10d
	movl	36(%r15,%r13), %ebx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	cmpq	$0, 24(%r15,%r13)
	movq	%rsi, %r15
	cmoveq	%rax, %r15
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	-116(%rbp), %r8d                ## 4-byte Reload
	xorl	%eax, %eax
	leaq	-68(%rbp), %r11
	pushq	%r11
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	%r15
	pushq	%r10
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_seq_printf
	addq	$48, %rsp
	jmp	LBB0_9
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx"

L_.str.1:                               ## @.str.1
	.asciz	"%3d%%"

L_.str.2:                               ## @.str.2
	.asciz	"N/A"

L_.str.3:                               ## @.str.3
	.asciz	"tx_%2d"

L_.str.4:                               ## @.str.4
	.asciz	"\n%pM CID %d TID %d 1x%s BACK([%u] %u TU A%s) [%3d|%3d] idle %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"+"

L_.str.6:                               ## @.str.6
	.asciz	"-"

L_.str.7:                               ## @.str.7
	.asciz	"\nBroadcast 1x%s [%3d|%3d] idle %s\n"

	.no_dead_strip	_ring_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ring_show
_ring_show:                             ; @ring_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x20, [x0]
	add	x3, x20, #40
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	mov	w4, #83
	mov	w5, #95
	bl	_wil_print_ring
	ldr	x0, [x20, #32]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_11
; %bb.1:
	mov	x25, #0
	mov	x22, #0
	mov	w19, #36
	str	x23, [sp, #48]                  ; 8-byte Folded Spill
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	x8, x8, x19
	ldur	x8, [x8, #-20]
	cmp	x8, #0
Lloh5:
	adrp	x8, l_.str.5@PAGE
Lloh6:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh7:
	adrp	x9, l_.str.6@PAGE
Lloh8:
	add	x9, x9, l_.str.6@PAGEOFF
	csel	x2, x9, x8, eq
	add	x5, sp, #84
	ldr	x23, [sp, #48]                  ; 8-byte Folded Reload
	mov	x0, x23
Lloh9:
	adrp	x1, l_.str.7@PAGE
Lloh10:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x3, x21
	mov	x4, x27
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_seq_printf
	add	x2, sp, #94
	mov	x0, x23
	mov	x1, x20
	mov	x3, x26
	mov	w4, #95
	mov	w5, #72
	bl	_wil_print_ring
	ldr	x0, [x20, #32]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	bl	_ARRAY_SIZE
	add	x19, x19, #40
	add	x25, x25, #24
	cmp	x22, x0
	b.hs	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, #32]
	add	x26, x0, x25
	ldr	x8, [x26, #16]
	cbz	x8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x23, [x20, #24]
	ldr	x8, [x20]
	ldr	x8, [x8, x22, lsl #3]
	ldp	w9, w21, [x8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	str	x9, [sp, #72]                   ; 8-byte Folded Spill
	ldp	w8, w9, [x26]
	ldr	w28, [x26, #8]
	sub	w27, w8, w9
	bl	_get_cycles
	mov	x24, x0
	str	x23, [sp, #64]                  ; 8-byte Folded Spill
	add	x23, x23, x19
	ldur	x8, [x23, #-28]
	subs	x1, x0, x8
	str	w21, [sp, #60]                  ; 4-byte Folded Spill
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #84
	mov	w1, #10
Lloh11:
	adrp	x2, l_.str.2@PAGE
Lloh12:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldursw	x8, [x23, #-36]
	mov	w9, #100
	mul	x21, x8, x9
	mov	x0, x21
	bl	_do_div
	str	x21, [sp]
	add	x0, sp, #84
	mov	w1, #10
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_snprintf
	add	w8, w27, w28
	sdiv	w9, w8, w28
	msub	w21, w9, w28, w8
	mvn	w8, w21
	add	w27, w28, w8
	stur	x24, [x23, #-28]
	stur	wzr, [x23, #-36]
	str	x22, [sp]
	add	x0, sp, #94
	mov	w1, #10
Lloh15:
	adrp	x2, l_.str.3@PAGE
Lloh16:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_snprintf
	ldr	w8, [x20, #8]
	ldr	x3, [sp, #72]                   ; 8-byte Folded Reload
	cmp	w3, w8
	b.ge	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #16]
	ldrsw	x2, [x8, x3, lsl #2]
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	x8, x8, x19
	ldur	x9, [x8, #-20]
	cmp	x9, #0
Lloh17:
	adrp	x10, l_.str.5@PAGE
Lloh18:
	add	x10, x10, l_.str.5@PAGEOFF
Lloh19:
	adrp	x11, l_.str.6@PAGE
Lloh20:
	add	x11, x11, l_.str.6@PAGEOFF
	csel	x5, x11, x10, eq
	ldur	x9, [x8, #-12]
	cmp	x9, #0
	csel	x9, x11, x10, eq
	ldp	w8, w10, [x8, #-4]
	add	x11, sp, #84
	stp	x27, x11, [sp, #32]
	stp	x9, x21, [sp, #16]
	stp	x10, x8, [sp]
	ldr	x23, [sp, #48]                  ; 8-byte Folded Reload
	mov	x0, x23
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	ldr	w4, [sp, #60]                   ; 4-byte Folded Reload
	b	LBB0_3
LBB0_11:
	ldur	x8, [x29, #-88]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	w0, #0
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx"

l_.str.1:                               ; @.str.1
	.asciz	"%3d%%"

l_.str.2:                               ; @.str.2
	.asciz	"N/A"

l_.str.3:                               ; @.str.3
	.asciz	"tx_%2d"

l_.str.4:                               ; @.str.4
	.asciz	"\n%pM CID %d TID %d 1x%s BACK([%u] %u TU A%s) [%3d|%3d] idle %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"+"

l_.str.6:                               ; @.str.6
	.asciz	"-"

l_.str.7:                               ; @.str.7
	.asciz	"\nBroadcast 1x%s [%3d|%3d] idle %s\n"

	.no_dead_strip	_ring_show
.subsections_via_symbols
