	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isac_empty_fifo
_isac_empty_fifo:                       ## @isac_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_DBG_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_DBG
	movq	(%r15), %rbx
	movslq	%r14d, %rdx
	addq	%rbx, %rdx
	movq	_MAX_DFRAME_LEN_L1@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jge	LBB0_1
## %bb.2:
	shlq	$2, %rbx
	addq	24(%r15), %rbx
	movq	%rdx, (%r15)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	*16(%r15)
	movq	_ISAC_CMDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISAC_CMDR_RMC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	*8(%r15)
	movq	_DBG_RFIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DBG_PACKET                     ## TAILCALL
LBB0_1:
	movq	_DBG_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_DBG
	movq	_ISAC_CMDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISAC_CMDR_RMC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	*8(%r15)
	movq	$0, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DBG_IRQ,4,2                    ## @DBG_IRQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"count %d"

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

	.comm	_ISAC_CMDR,4,2                  ## @ISAC_CMDR
	.comm	_ISAC_CMDR_RMC,4,2              ## @ISAC_CMDR_RMC
	.comm	_DBG_RFIFO,4,2                  ## @DBG_RFIFO
	.no_dead_strip	_isac_empty_fifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isac_empty_fifo
_isac_empty_fifo:                       ; @isac_empty_fifo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _DBG_IRQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBG_IRQ@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DBG
	ldr	x8, [x19]
	add	x2, x8, w20, sxtw
Lloh5:
	adrp	x9, _MAX_DFRAME_LEN_L1@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAX_DFRAME_LEN_L1@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x2, x9
	b.ge	LBB0_2
; %bb.1:
	ldp	x10, x9, [x19, #16]
	add	x21, x9, x8, lsl #2
	str	x2, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	blr	x10
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _ISAC_CMDR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ISAC_CMDR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
Lloh11:
	adrp	x9, _ISAC_CMDR_RMC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ISAC_CMDR_RMC@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x9]
	mov	x0, x19
	blr	x8
Lloh14:
	adrp	x8, _DBG_RFIFO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DBG_RFIFO@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x21
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_DBG_PACKET
LBB0_2:
Lloh17:
	adrp	x8, _DBG_WARN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DBG_WARN@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_DBG
	ldr	x8, [x19, #8]
Lloh22:
	adrp	x9, _ISAC_CMDR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _ISAC_CMDR@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x9]
Lloh25:
	adrp	x9, _ISAC_CMDR_RMC@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ISAC_CMDR_RMC@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x9]
	mov	x0, x19
	blr	x8
	str	xzr, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_DBG_IRQ,4,2                    ; @DBG_IRQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"count %d"

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

	.comm	_ISAC_CMDR,4,2                  ; @ISAC_CMDR
	.comm	_ISAC_CMDR_RMC,4,2              ; @ISAC_CMDR_RMC
	.comm	_DBG_RFIFO,4,2                  ; @DBG_RFIFO
	.no_dead_strip	_isac_empty_fifo
.subsections_via_symbols
