	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PicoLinePico
_PicoLinePico:                          ## @PicoLinePico
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_PicoPicohw@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	incl	%eax
	movl	%eax, (%rbx)
	movzwl	4(%rbx), %ecx
	testl	$16387, %ecx                    ## imm = 0x4003
	je	LBB0_2
## %bb.1:
	movq	_prev_line_cnt_irq3@GOTPCREL(%rip), %rcx
	movl	%eax, %edx
	subl	(%rcx), %edx
	cmpl	$201, %edx
	jl	LBB0_2
## %bb.11:
	movl	%eax, (%rcx)
	movq	_EL_PICOHW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_elprintf
	movl	$3, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_SekInterrupt                   ## TAILCALL
LBB0_2:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	jle	LBB0_6
## %bb.3:
	movq	_fifo_bytes_line@GOTPCREL(%rip), %rsi
	movl	16(%rbx), %ecx
	addl	(%rsi), %ecx
	movl	%ecx, 16(%rbx)
	cmpl	$65536, %ecx                    ## imm = 0x10000
	jl	LBB0_7
## %bb.4:
	movl	%ecx, %esi
	shrl	$16, %esi
	subq	%rsi, %rdx
	movq	%rdx, 8(%rbx)
	movzwl	%cx, %ecx
	movl	%ecx, 16(%rbx)
	jns	LBB0_7
## %bb.5:
	movq	$0, 8(%rbx)
	xorl	%edx, %edx
	jmp	LBB0_7
LBB0_6:
	movl	$0, 16(%rbx)
LBB0_7:
	movq	_PICOHW_FIFO_IRQ_THRESHOLD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, 24(%rbx)
	jl	LBB0_10
## %bb.8:
	cmpq	%rcx, %rdx
	jge	LBB0_10
## %bb.9:
	movq	_prev_line_cnt_irq3@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_EL_PICOHW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_elprintf
	movl	$3, %edi
	callq	_SekInterrupt
	movq	8(%rbx), %rdx
LBB0_10:
	movq	%rdx, 24(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PicoPicohw,32,3                ## @PicoPicohw
	.comm	_prev_line_cnt_irq3,4,2         ## @prev_line_cnt_irq3
	.comm	_EL_PICOHW,4,2                  ## @EL_PICOHW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"irq3"

	.comm	_fifo_bytes_line,8,3            ## @fifo_bytes_line
	.comm	_PICOHW_FIFO_IRQ_THRESHOLD,8,3  ## @PICOHW_FIFO_IRQ_THRESHOLD
L_.str.1:                               ## @.str.1
	.asciz	"irq3, fb=%i"

	.comm	_prev_line_cnt_irq5,4,2         ## @prev_line_cnt_irq5
	.no_dead_strip	_PicoLinePico
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PicoLinePico
_PicoLinePico:                          ; @PicoLinePico
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x19, _PicoPicohw@GOTPAGE
Lloh1:
	ldr	x19, [x19, _PicoPicohw@GOTPAGEOFF]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldrh	w9, [x19, #4]
	mov	w10, #16387
	tst	w9, w10
	b.eq	LBB0_3
; %bb.1:
Lloh2:
	adrp	x9, _prev_line_cnt_irq3@GOTPAGE
Lloh3:
	ldr	x9, [x9, _prev_line_cnt_irq3@GOTPAGEOFF]
	ldr	w10, [x9]
	sub	w10, w8, w10
	cmp	w10, #201
	b.lt	LBB0_3
; %bb.2:
	str	w8, [x9]
Lloh4:
	adrp	x8, _EL_PICOHW@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EL_PICOHW@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elprintf
	mov	w0, #3
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_SekInterrupt
LBB0_3:
	ldr	x9, [x19, #8]
	cmp	x9, #1
	b.lt	LBB0_7
; %bb.4:
Lloh9:
	adrp	x10, _fifo_bytes_line@GOTPAGE
Lloh10:
	ldr	x10, [x10, _fifo_bytes_line@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	ldr	w11, [x19, #16]
	add	w10, w11, w10
	str	w10, [x19, #16]
	cmp	w10, #16, lsl #12               ; =65536
	b.lt	LBB0_8
; %bb.5:
	lsr	w11, w10, #16
	and	w10, w10, #0xffff
	str	w10, [x19, #16]
	subs	x9, x9, x11
	str	x9, [x19, #8]
	b.pl	LBB0_8
; %bb.6:
	mov	x9, #0
	str	xzr, [x19, #8]
	b	LBB0_8
LBB0_7:
	str	wzr, [x19, #16]
LBB0_8:
	ldr	x10, [x19, #24]
Lloh12:
	adrp	x11, _PICOHW_FIFO_IRQ_THRESHOLD@GOTPAGE
Lloh13:
	ldr	x11, [x11, _PICOHW_FIFO_IRQ_THRESHOLD@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
	cmp	x10, x11
	ccmp	x9, x11, #0, ge
	b.ge	LBB0_10
; %bb.9:
Lloh15:
	adrp	x10, _prev_line_cnt_irq3@GOTPAGE
Lloh16:
	ldr	x10, [x10, _prev_line_cnt_irq3@GOTPAGEOFF]
Lloh17:
	str	w8, [x10]
Lloh18:
	adrp	x8, _EL_PICOHW@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EL_PICOHW@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	str	x9, [sp]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elprintf
	mov	w0, #3
	bl	_SekInterrupt
	ldr	x9, [x19, #8]
LBB0_10:
	str	x9, [x19, #24]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PicoPicohw,32,3                ; @PicoPicohw
	.comm	_prev_line_cnt_irq3,4,2         ; @prev_line_cnt_irq3
	.comm	_EL_PICOHW,4,2                  ; @EL_PICOHW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"irq3"

	.comm	_fifo_bytes_line,8,3            ; @fifo_bytes_line
	.comm	_PICOHW_FIFO_IRQ_THRESHOLD,8,3  ; @PICOHW_FIFO_IRQ_THRESHOLD
l_.str.1:                               ; @.str.1
	.asciz	"irq3, fb=%i"

	.comm	_prev_line_cnt_irq5,4,2         ; @prev_line_cnt_irq5
	.no_dead_strip	_PicoLinePico
.subsections_via_symbols
