	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Screen_Draw1200LED             ## -- Begin function Screen_Draw1200LED
	.p2align	4, 0x90
_Screen_Draw1200LED:                    ## @Screen_Draw1200LED
	.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
	movq	_Screen_show_1200_leds@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.1:
	movq	_Atari800_keyboard_leds@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movq	_Screen_atari@GOTPCREL(%rip), %rax
	movq	_Screen_visible_x1@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movq	_SMALLFONT_WIDTH@GOTPCREL(%rip), %r14
	movslq	(%r14), %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rcx,%rax,8), %rax
	movq	_Screen_visible_y2@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	_SMALLFONT_HEIGHT@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	subq	%rdx, %rcx
	movq	_Screen_WIDTH@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	imulq	%rcx, %rdx
	leaq	(%rax,%rdx,4), %r15
	movq	_PIA_PORTB@GOTPCREL(%rip), %rax
	movq	_PIA_PORTB_mask@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	testb	$4, %bl
	jne	LBB0_4
## %bb.3:
	movq	_SMALLFONT_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$54, %ecx
	callq	_SmallFont_DrawChar
	movslq	(%r14), %rax
	leaq	(%r15,%rax,4), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	$54, %ecx
	callq	_SmallFont_DrawChar
LBB0_4:
	testb	$8, %bl
	jne	LBB0_5
## %bb.6:
	movslq	(%r14), %rax
	leaq	(%rax,%rax,2), %rax
	leaq	(%r15,%rax,4), %rbx
	movq	_SMALLFONT_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$54, %ecx
	callq	_SmallFont_DrawChar
	movslq	(%r14), %rax
	leaq	(%rbx,%rax,4), %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	movl	$54, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SmallFont_DrawChar             ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Screen_show_1200_leds,8,3      ## @Screen_show_1200_leds
	.comm	_Atari800_keyboard_leds,8,3     ## @Atari800_keyboard_leds
	.comm	_Screen_atari,8,3               ## @Screen_atari
	.comm	_Screen_visible_x1,4,2          ## @Screen_visible_x1
	.comm	_SMALLFONT_WIDTH,4,2            ## @SMALLFONT_WIDTH
	.comm	_Screen_visible_y2,4,2          ## @Screen_visible_y2
	.comm	_SMALLFONT_HEIGHT,4,2           ## @SMALLFONT_HEIGHT
	.comm	_Screen_WIDTH,4,2               ## @Screen_WIDTH
	.comm	_PIA_PORTB,4,2                  ## @PIA_PORTB
	.comm	_PIA_PORTB_mask,4,2             ## @PIA_PORTB_mask
	.comm	_SMALLFONT_L,4,2                ## @SMALLFONT_L
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Screen_Draw1200LED             ; -- Begin function Screen_Draw1200LED
	.p2align	2
_Screen_Draw1200LED:                    ; @Screen_Draw1200LED
	.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
Lloh0:
	adrp	x8, _Screen_show_1200_leds@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Screen_show_1200_leds@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _Atari800_keyboard_leds@GOTPAGE
Lloh4:
	ldr	x9, [x9, _Atari800_keyboard_leds@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_5
; %bb.1:
Lloh6:
	adrp	x8, _Screen_atari@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Screen_atari@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _Screen_visible_x1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _Screen_visible_x1@GOTPAGEOFF]
Lloh11:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #2
Lloh12:
	adrp	x20, _SMALLFONT_WIDTH@GOTPAGE
Lloh13:
	ldr	x20, [x20, _SMALLFONT_WIDTH@GOTPAGEOFF]
	ldrsw	x9, [x20]
	mov	w10, #40
	madd	x8, x9, x10, x8
Lloh14:
	adrp	x9, _Screen_visible_y2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _Screen_visible_y2@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _SMALLFONT_HEIGHT@GOTPAGE
Lloh18:
	ldr	x10, [x10, _SMALLFONT_HEIGHT@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	sub	w9, w9, w10
Lloh20:
	adrp	x10, _Screen_WIDTH@GOTPAGE
Lloh21:
	ldr	x10, [x10, _Screen_WIDTH@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	mul	w9, w9, w10
	add	x19, x8, w9, sxtw #2
Lloh23:
	adrp	x8, _PIA_PORTB@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PIA_PORTB@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _PIA_PORTB_mask@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PIA_PORTB_mask@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w22, w9, w8
Lloh29:
	adrp	x21, _SMALLFONT_L@GOTPAGE
Lloh30:
	ldr	x21, [x21, _SMALLFONT_L@GOTPAGEOFF]
	tbnz	w22, #2, LBB0_3
; %bb.2:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #54
	bl	_SmallFont_DrawChar
	ldrsw	x8, [x20]
	add	x0, x19, x8, lsl #2
	mov	w1, #1
	mov	w2, #0
	mov	w3, #54
	bl	_SmallFont_DrawChar
LBB0_3:
	tbnz	w22, #3, LBB0_5
; %bb.4:
	ldrsw	x8, [x20]
	mov	w9, #12
	madd	x19, x8, x9, x19
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #54
	bl	_SmallFont_DrawChar
	ldrsw	x8, [x20]
	add	x0, x19, x8, lsl #2
	mov	w1, #2
	mov	w2, #0
	mov	w3, #54
	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	_SmallFont_DrawChar
LBB0_5:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_Screen_show_1200_leds,8,3      ; @Screen_show_1200_leds
	.comm	_Atari800_keyboard_leds,8,3     ; @Atari800_keyboard_leds
	.comm	_Screen_atari,8,3               ; @Screen_atari
	.comm	_Screen_visible_x1,4,2          ; @Screen_visible_x1
	.comm	_SMALLFONT_WIDTH,4,2            ; @SMALLFONT_WIDTH
	.comm	_Screen_visible_y2,4,2          ; @Screen_visible_y2
	.comm	_SMALLFONT_HEIGHT,4,2           ; @SMALLFONT_HEIGHT
	.comm	_Screen_WIDTH,4,2               ; @Screen_WIDTH
	.comm	_PIA_PORTB,4,2                  ; @PIA_PORTB
	.comm	_PIA_PORTB_mask,4,2             ; @PIA_PORTB_mask
	.comm	_SMALLFONT_L,4,2                ; @SMALLFONT_L
.subsections_via_symbols
