	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_cd_leds
_draw_cd_leds:                          ## @draw_cd_leds
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_Pico_mcd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	_g_screen_ptr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	_g_screen_width@GOTPCREL(%rip), %r8
	movslq	(%r8), %rdx
	leaq	(%rdi,%rdx,4), %rsi
	movl	%eax, %ecx
	shll	$30, %ecx
	sarl	$31, %ecx
	andl	$100664832, %ecx                ## imm = 0x6000600
	andl	$1, %eax
	negl	%eax
	andl	$-1073692672, %eax              ## imm = 0xC000C000
	movl	%ecx, 8(%rdi,%rdx,4)
	movl	%ecx, 12(%rdi,%rdx,4)
	movl	%eax, 24(%rdi,%rdx,4)
	movl	%eax, 28(%rdi,%rdx,4)
	movl	(%r8), %edx
	movl	%edx, %edi
	shrl	$31, %edi
	addl	%edx, %edi
	sarl	%edi
	movslq	%edi, %rdx
	leaq	(%rsi,%rdx,4), %rdi
	addq	$28, %rdi
	movl	%ecx, 8(%rsi,%rdx,4)
	movl	%ecx, 12(%rsi,%rdx,4)
	movl	%eax, 24(%rsi,%rdx,4)
	movl	%eax, 28(%rsi,%rdx,4)
	movl	(%r8), %edx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	movslq	%esi, %rdx
	movl	%ecx, -20(%rdi,%rdx,4)
	movl	%ecx, -16(%rdi,%rdx,4)
	movl	%eax, -4(%rdi,%rdx,4)
	movl	%eax, (%rdi,%rdx,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico_mcd,8,3                   ## @Pico_mcd
	.comm	_g_screen_ptr,8,3               ## @g_screen_ptr
	.comm	_g_screen_width,4,2             ## @g_screen_width
	.no_dead_strip	_draw_cd_leds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_cd_leds
_draw_cd_leds:                          ; @draw_cd_leds
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _Pico_mcd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Pico_mcd@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _g_screen_ptr@GOTPAGE
Lloh4:
	ldr	x9, [x9, _g_screen_ptr@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _g_screen_width@GOTPAGE
Lloh7:
	ldr	x10, [x10, _g_screen_width@GOTPAGEOFF]
	ldrsw	x11, [x10]
	add	x9, x9, x11, lsl #2
	sbfx	w11, w8, #1, #1
	and	w11, w11, #0x6000600
	sbfx	w8, w8, #0, #1
	and	w8, w8, #0xc000c000
	str	w8, [x9, #28]!
	stp	w11, w11, [x9, #-20]
	stur	w8, [x9, #-4]
	ldr	w12, [x10]
	cmp	w12, #0
	cinc	w12, w12, lt
	asr	w12, w12, #1
	sub	w12, w12, #6
	add	x9, x9, w12, sxtw #2
	str	w8, [x9, #24]!
	stp	w11, w11, [x9, #-20]
	stur	w8, [x9, #-4]
	ldr	w10, [x10]
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	sub	w10, w10, #6
	add	x9, x9, w10, sxtw #2
	stp	w11, w11, [x9, #4]
	stp	w8, w8, [x9, #20]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico_mcd,8,3                   ; @Pico_mcd
	.comm	_g_screen_ptr,8,3               ; @g_screen_ptr
	.comm	_g_screen_width,4,2             ; @g_screen_width
	.no_dead_strip	_draw_cd_leds
.subsections_via_symbols
