	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cobalt_irq_log_status          ## -- Begin function cobalt_irq_log_status
	.p2align	4, 0x90
_cobalt_irq_log_status:                 ## @cobalt_irq_log_status
	.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	%rdi, %rbx
	movq	40(%rdi), %rsi
	movq	32(%rdi), %rdx
	movq	24(%rdi), %rcx
	movq	8(%rdi), %r9
	movq	16(%rdi), %r8
	leaq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_cobalt_info
	movq	48(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_cobalt_info
	movq	_COBALT_NUM_STREAMS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	leaq	L_.str.3(%rip), %r15
	leaq	L_.str.2(%rip), %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r12, %r12
	movq	%r15, %rsi
	leaq	L_.str.4(%rip), %rax
	cmoveq	%rax, %rsi
	movq	(%rbx), %rax
	movl	(%rax,%r12,4), %edx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_pr_cont
	incq	%r12
	movslq	(%r13), %rax
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_3:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_cont
	xorps	%xmm0, %xmm0
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movups	%xmm0, (%rax)
	movups	%xmm0, 16(%rax)
	movups	%xmm0, 32(%rax)
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_COBALT_SYS_STAT_MASK@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_cobalt_read_bar1
	movq	_COBALT_SYSSTAT_VI0_LOST_DATA_MSK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_COBALT_SYSSTAT_VI1_LOST_DATA_MSK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_COBALT_SYSSTAT_VI2_LOST_DATA_MSK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_COBALT_SYSSTAT_VI3_LOST_DATA_MSK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_COBALT_SYSSTAT_VIHSMA_LOST_DATA_MSK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_COBALT_SYSSTAT_VOHSMA_LOST_DATA_MSK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_COBALT_SYSSTAT_AUD_IN_LOST_DATA_MSK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movq	_COBALT_SYSSTAT_AUD_OUT_LOST_DATA_MSK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cobalt_write_bar1              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"irq: adv1=%u adv2=%u advout=%u none=%u full=%u\n"

L_.str.1:                               ## @.str.1
	.asciz	"irq: dma_tot=%u ("

	.comm	_COBALT_NUM_STREAMS,4,2         ## @COBALT_NUM_STREAMS
L_.str.2:                               ## @.str.2
	.asciz	"%s%u"

L_.str.3:                               ## @.str.3
	.asciz	"/"

L_.str.4:                               ## @.str.4
	.space	1

L_.str.5:                               ## @.str.5
	.asciz	")\n"

	.comm	_COBALT_SYS_STAT_MASK,4,2       ## @COBALT_SYS_STAT_MASK
	.comm	_COBALT_SYSSTAT_VI0_LOST_DATA_MSK,4,2 ## @COBALT_SYSSTAT_VI0_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_VI1_LOST_DATA_MSK,4,2 ## @COBALT_SYSSTAT_VI1_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_VI2_LOST_DATA_MSK,4,2 ## @COBALT_SYSSTAT_VI2_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_VI3_LOST_DATA_MSK,4,2 ## @COBALT_SYSSTAT_VI3_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_VIHSMA_LOST_DATA_MSK,4,2 ## @COBALT_SYSSTAT_VIHSMA_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_VOHSMA_LOST_DATA_MSK,4,2 ## @COBALT_SYSSTAT_VOHSMA_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_AUD_IN_LOST_DATA_MSK,4,2 ## @COBALT_SYSSTAT_AUD_IN_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_AUD_OUT_LOST_DATA_MSK,4,2 ## @COBALT_SYSSTAT_AUD_OUT_LOST_DATA_MSK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cobalt_irq_log_status          ; -- Begin function cobalt_irq_log_status
	.p2align	2
_cobalt_irq_log_status:                 ; @cobalt_irq_log_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	mov	x21, x0
	ldr	x8, [x21, #8]!
	ldp	x9, x1, [x21, #24]
	ldp	x11, x10, [x21, #8]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_cobalt_info
	ldr	x1, [x21, #40]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_cobalt_info
Lloh4:
	adrp	x22, _COBALT_NUM_STREAMS@GOTPAGE
Lloh5:
	ldr	x22, [x22, _COBALT_NUM_STREAMS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
Lloh6:
	adrp	x24, l_.str.3@PAGE
Lloh7:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh8:
	adrp	x25, l_.str.4@PAGE
Lloh9:
	add	x25, x25, l_.str.4@PAGEOFF
Lloh10:
	adrp	x20, l_.str.2@PAGE
Lloh11:
	add	x20, x20, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x23, #0
	csel	x8, x25, x24, eq
	ldr	x9, [x19]
	ldr	w9, [x9, x23, lsl #2]
	stp	x8, x9, [sp]
	mov	x0, x20
	bl	_pr_cont
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.lt	LBB0_2
LBB0_3:
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_cont
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x21]
	str	q0, [x21, #32]
	ldr	x0, [x19]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh14:
	adrp	x20, _COBALT_SYS_STAT_MASK@GOTPAGE
Lloh15:
	ldr	x20, [x20, _COBALT_SYS_STAT_MASK@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_cobalt_read_bar1
Lloh16:
	adrp	x8, _COBALT_SYSSTAT_VI0_LOST_DATA_MSK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _COBALT_SYSSTAT_VI0_LOST_DATA_MSK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh19:
	adrp	x9, _COBALT_SYSSTAT_VI1_LOST_DATA_MSK@GOTPAGE
Lloh20:
	ldr	x9, [x9, _COBALT_SYSSTAT_VI1_LOST_DATA_MSK@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh22:
	adrp	x9, _COBALT_SYSSTAT_VI2_LOST_DATA_MSK@GOTPAGE
Lloh23:
	ldr	x9, [x9, _COBALT_SYSSTAT_VI2_LOST_DATA_MSK@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh25:
	adrp	x9, _COBALT_SYSSTAT_VI3_LOST_DATA_MSK@GOTPAGE
Lloh26:
	ldr	x9, [x9, _COBALT_SYSSTAT_VI3_LOST_DATA_MSK@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh28:
	adrp	x9, _COBALT_SYSSTAT_VIHSMA_LOST_DATA_MSK@GOTPAGE
Lloh29:
	ldr	x9, [x9, _COBALT_SYSSTAT_VIHSMA_LOST_DATA_MSK@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh31:
	adrp	x9, _COBALT_SYSSTAT_VOHSMA_LOST_DATA_MSK@GOTPAGE
Lloh32:
	ldr	x9, [x9, _COBALT_SYSSTAT_VOHSMA_LOST_DATA_MSK@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh34:
	adrp	x9, _COBALT_SYSSTAT_AUD_IN_LOST_DATA_MSK@GOTPAGE
Lloh35:
	ldr	x9, [x9, _COBALT_SYSSTAT_AUD_IN_LOST_DATA_MSK@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh37:
	adrp	x9, _COBALT_SYSSTAT_AUD_OUT_LOST_DATA_MSK@GOTPAGE
Lloh38:
	ldr	x9, [x9, _COBALT_SYSSTAT_AUD_OUT_LOST_DATA_MSK@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh39:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_cobalt_write_bar1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"irq: adv1=%u adv2=%u advout=%u none=%u full=%u\n"

l_.str.1:                               ; @.str.1
	.asciz	"irq: dma_tot=%u ("

	.comm	_COBALT_NUM_STREAMS,4,2         ; @COBALT_NUM_STREAMS
l_.str.2:                               ; @.str.2
	.asciz	"%s%u"

l_.str.3:                               ; @.str.3
	.asciz	"/"

l_.str.4:                               ; @.str.4
	.space	1

l_.str.5:                               ; @.str.5
	.asciz	")\n"

	.comm	_COBALT_SYS_STAT_MASK,4,2       ; @COBALT_SYS_STAT_MASK
	.comm	_COBALT_SYSSTAT_VI0_LOST_DATA_MSK,4,2 ; @COBALT_SYSSTAT_VI0_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_VI1_LOST_DATA_MSK,4,2 ; @COBALT_SYSSTAT_VI1_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_VI2_LOST_DATA_MSK,4,2 ; @COBALT_SYSSTAT_VI2_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_VI3_LOST_DATA_MSK,4,2 ; @COBALT_SYSSTAT_VI3_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_VIHSMA_LOST_DATA_MSK,4,2 ; @COBALT_SYSSTAT_VIHSMA_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_VOHSMA_LOST_DATA_MSK,4,2 ; @COBALT_SYSSTAT_VOHSMA_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_AUD_IN_LOST_DATA_MSK,4,2 ; @COBALT_SYSSTAT_AUD_IN_LOST_DATA_MSK
	.comm	_COBALT_SYSSTAT_AUD_OUT_LOST_DATA_MSK,4,2 ; @COBALT_SYSSTAT_AUD_OUT_LOST_DATA_MSK
.subsections_via_symbols
