	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function icc_empty_fifo
_icc_empty_fifo:                        ## @icc_empty_fifo
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_L1_DEB_ISAC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_L1_DEB_ISAC_FIFO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_debugl1
LBB0_3:
	movq	8(%rbx), %r15
	movslq	%r14d, %rdx
	addq	%r15, %rdx
	movq	_MAX_DFRAME_LEN_L1@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jge	LBB0_4
## %bb.7:
	shlq	$2, %r15
	addq	40(%rbx), %r15
	movq	%rdx, 8(%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	*32(%rbx)
	movq	_ICC_CMDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	*24(%rbx)
	movq	_L1_DEB_ISAC_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.9:
	movq	16(%rbx), %r12
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_sprintf
	movslq	%eax, %rdi
	addq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_QuickHex
	movq	16(%rbx), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_debugl1                        ## TAILCALL
LBB0_4:
	movq	_L1_DEB_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_debugl1
LBB0_6:
	movq	_ICC_CMDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	*24(%rbx)
	movq	$0, 8(%rbx)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_L1_DEB_ISAC,4,2                ## @L1_DEB_ISAC
	.comm	_L1_DEB_ISAC_FIFO,4,2           ## @L1_DEB_ISAC_FIFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"icc_empty_fifo"

	.comm	_MAX_DFRAME_LEN_L1,8,3          ## @MAX_DFRAME_LEN_L1
	.comm	_L1_DEB_WARN,4,2                ## @L1_DEB_WARN
L_.str.1:                               ## @.str.1
	.asciz	"icc_empty_fifo overrun %d"

	.comm	_ICC_CMDR,4,2                   ## @ICC_CMDR
L_.str.2:                               ## @.str.2
	.asciz	"icc_empty_fifo cnt %d"

	.no_dead_strip	_icc_empty_fifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function icc_empty_fifo
_icc_empty_fifo:                        ; @icc_empty_fifo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _L1_DEB_ISAC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _L1_DEB_ISAC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x22, _L1_DEB_ISAC_FIFO@GOTPAGE
Lloh4:
	ldr	x22, [x22, _L1_DEB_ISAC_FIFO@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_debugl1
LBB0_3:
	ldr	x9, [x19, #8]
	add	x8, x9, w20, sxtw
Lloh7:
	adrp	x10, _MAX_DFRAME_LEN_L1@GOTPAGE
Lloh8:
	ldr	x10, [x10, _MAX_DFRAME_LEN_L1@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ge	LBB0_6
; %bb.4:
	ldp	x11, x10, [x19, #32]
	add	x21, x10, x9, lsl #2
	str	x8, [x19, #8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	blr	x11
	ldr	x8, [x19, #24]
Lloh10:
	adrp	x9, _ICC_CMDR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ICC_CMDR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #128
	blr	x8
	ldr	w8, [x19]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.5:
	ldr	x22, [x19, #16]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x2, x20
	bl	_sprintf
	add	x0, x22, w0, sxtw
	mov	x1, x21
	mov	x2, x20
	bl	_QuickHex
	ldr	x1, [x19, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_debugl1
LBB0_6:
	ldr	w9, [x19]
Lloh15:
	adrp	x10, _L1_DEB_WARN@GOTPAGE
Lloh16:
	ldr	x10, [x10, _L1_DEB_WARN@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.7:
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_debugl1
LBB0_8:
	ldr	x8, [x19, #24]
Lloh20:
	adrp	x9, _ICC_CMDR@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ICC_CMDR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #128
	blr	x8
	str	xzr, [x19, #8]
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_L1_DEB_ISAC,4,2                ; @L1_DEB_ISAC
	.comm	_L1_DEB_ISAC_FIFO,4,2           ; @L1_DEB_ISAC_FIFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"icc_empty_fifo"

	.comm	_MAX_DFRAME_LEN_L1,8,3          ; @MAX_DFRAME_LEN_L1
	.comm	_L1_DEB_WARN,4,2                ; @L1_DEB_WARN
l_.str.1:                               ; @.str.1
	.asciz	"icc_empty_fifo overrun %d"

	.comm	_ICC_CMDR,4,2                   ; @ICC_CMDR
l_.str.2:                               ; @.str.2
	.asciz	"icc_empty_fifo cnt %d"

	.no_dead_strip	_icc_empty_fifo
.subsections_via_symbols
