	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_wakeups
_draw_wakeups:                          ## @draw_wakeups
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_wake_events@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rdx
	movl	%r13d, %ecx
	movq	%rbx, %r8
	callq	_svg_partial_wakeline
LBB0_39:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r14), %r14
	movq	%r15, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_8 Depth 3
                                        ##       Child Loop BB0_19 Depth 3
	testq	%r14, %r14
	je	LBB0_40
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_all_data@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	8(%r15), %r15
	testq	%r15, %r15
	je	LBB0_28
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_8 Depth 3
                                        ##       Child Loop BB0_19 Depth 3
	movl	(%r15), %eax
	cmpl	(%r14), %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpl	4(%r14), %eax
	jne	LBB0_27
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	16(%r15), %r12
	testq	%r12, %r12
	jne	LBB0_8
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=3
	movq	24(%r12), %r12
	testq	%r12, %r12
	je	LBB0_18
LBB0_8:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r12), %ebx
	testl	%ebx, %ebx
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=3
	movq	8(%r14), %rax
	cmpq	%rax, 8(%r12)
	jg	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=3
	cmpq	%rax, 16(%r12)
	jl	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=3
	movl	(%r15), %eax
	cmpl	(%r14), %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=3
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=3
	movl	32(%r12), %edi
	callq	_strdup
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r15), %eax
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=3
	cmpl	4(%r14), %eax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=3
	movl	%r13d, %eax
	testl	%r13d, %r13d
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=3
	movl	(%r12), %r13d
	movl	32(%r12), %edi
	callq	_strdup
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	16(%r15), %rbx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=3
	movq	24(%rbx), %rbx
LBB0_19:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	testq	%rbx, %rbx
	je	LBB0_27
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=3
	movl	(%r15), %eax
	cmpl	(%r14), %eax
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=3
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=3
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	32(%rbx), %edi
	callq	_strdup
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r15), %eax
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=3
	cmpl	4(%r14), %eax
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=3
	testl	%r13d, %r13d
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_19 Depth=3
	movl	(%rbx), %r13d
	movl	32(%rbx), %edi
	callq	_strdup
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_29
## %bb.30:                              ##   in Loop: Header=BB0_1 Depth=1
	testq	%rbx, %rbx
	je	LBB0_31
LBB0_32:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, (%r14)
	je	LBB0_33
LBB0_34:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	je	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	subl	%r13d, %eax
	movl	%eax, %ecx
	negl	%ecx
	cmovsl	%eax, %ecx
	cmpl	$1, %ecx
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	callq	_svg_wakeline
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_29:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$40, %edi
	callq	_malloc
	movq	%rax, %r15
	movl	(%r14), %edx
	movq	%rax, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	testq	%rbx, %rbx
	jne	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$40, %edi
	callq	_malloc
	movq	%rax, %rbx
	movl	4(%r14), %edx
	movq	%rax, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	cmpl	$-1, (%r14)
	jne	LBB0_34
LBB0_33:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %rdi
	movl	%r13d, %esi
	callq	_svg_interrupt
	jmp	LBB0_39
LBB0_40:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wake_events,8,3                ## @wake_events
	.comm	_all_data,8,3                   ## @all_data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%i]"

	.no_dead_strip	_draw_wakeups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_wakeups
_draw_wakeups:                          ; @draw_wakeups
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _wake_events@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wake_events@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
	cbz	x24, LBB0_36
; %bb.1:
Lloh3:
	adrp	x25, _all_data@GOTPAGE
Lloh4:
	ldr	x25, [x25, _all_data@GOTPAGEOFF]
Lloh5:
	adrp	x19, l_.str@PAGE
Lloh6:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x24, #8]
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_svg_partial_wakeline
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x24, [x24, #16]
	mov	x0, x22
	bl	_free
	mov	x0, x20
	bl	_free
	cbz	x24, LBB0_36
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_11 Depth 3
                                        ;       Child Loop BB0_21 Depth 3
	ldr	x26, [x25]
	cbz	x26, LBB0_32
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, #0
	mov	x22, #0
	mov	w21, #0
	mov	w23, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x26, [x26, #8]
	cbz	x26, LBB0_25
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_11 Depth 3
                                        ;       Child Loop BB0_21 Depth 3
	ldr	w8, [x26]
	ldr	w9, [x24]
	cmp	w8, w9
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w9, [x24, #4]
	cmp	w8, w9
	b.ne	LBB0_6
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x27, [x26, #16]
	cbnz	x27, LBB0_11
	b	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=3
	ldr	x27, [x27, #24]
	cbz	x27, LBB0_19
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w28, [x27]
	cbz	w28, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=3
	ldr	x9, [x27, #8]
	ldr	x8, [x24, #8]
	cmp	x9, x8
	b.gt	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=3
	ldr	x9, [x27, #16]
	cmp	x9, x8
	b.lt	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=3
	ldr	w8, [x26]
	ldr	w9, [x24]
	cmp	w8, w9
	ccmp	w23, #0, #0, eq
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=3
	ldr	w0, [x27, #32]
	bl	_strdup
	mov	x22, x0
	ldr	w8, [x26]
	mov	x23, x28
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=3
	ldr	w9, [x24, #4]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=3
	cbnz	w21, LBB0_10
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=3
	ldr	w21, [x27]
	ldr	w0, [x27, #32]
	bl	_strdup
	mov	x20, x0
	b	LBB0_10
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x27, [x26, #16]
	cbnz	x27, LBB0_21
	b	LBB0_6
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=3
	ldr	x27, [x27, #24]
	cbz	x27, LBB0_6
LBB0_21:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x26]
	ldr	w9, [x24]
	cmp	w8, w9
	ccmp	w23, #0, #0, eq
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=3
	ldr	w23, [x27]
	ldr	w0, [x27, #32]
	bl	_strdup
	mov	x22, x0
	ldr	w8, [x26]
LBB0_23:                                ;   in Loop: Header=BB0_21 Depth=3
	ldr	w9, [x24, #4]
	cmp	w8, w9
	ccmp	w21, #0, #0, eq
	b.ne	LBB0_20
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=3
	ldr	w21, [x27]
	ldr	w0, [x27, #32]
	bl	_strdup
	mov	x20, x0
	b	LBB0_20
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x22, LBB0_33
; %bb.26:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	x20, LBB0_34
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	cmn	w8, #1
	b.eq	LBB0_35
; %bb.28:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	w23, LBB0_2
; %bb.29:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	w21, LBB0_2
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	subs	w8, w23, w21
	cneg	w8, w8, mi
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.31:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x24, #8]
	mov	x1, x23
	mov	x2, x21
	bl	_svg_wakeline
	b	LBB0_3
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, #0
	mov	w21, #0
	mov	w23, #0
LBB0_33:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #40
	bl	_malloc
	mov	x22, x0
	ldr	w2, [x24]
	mov	x1, x19
	bl	_sprintf
	cbnz	x20, LBB0_27
LBB0_34:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #40
	bl	_malloc
	mov	x20, x0
	ldr	w2, [x24, #4]
	mov	x1, x19
	bl	_sprintf
	b	LBB0_27
LBB0_35:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x24, #8]
	mov	x1, x21
	bl	_svg_interrupt
	b	LBB0_3
LBB0_36:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_wake_events,8,3                ; @wake_events
	.comm	_all_data,8,3                   ; @all_data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%i]"

	.no_dead_strip	_draw_wakeups
.subsections_via_symbols
