	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function STATUSBAR_SetIcon
_STATUSBAR_SetIcon:                     ## @STATUSBAR_SetIcon
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_FALSE@GOTPCREL(%rip), %r12
	cmpl	$-1, %esi
	jl	LBB0_10
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r15
	cmpl	%esi, (%rdi)
	jle	LBB0_10
## %bb.2:
	movq	%rdx, %r14
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_TRACE
	cmpl	$-1, %ebx
	je	LBB0_3
## %bb.6:
	movq	8(%r15), %rax
	movl	%ebx, %ecx
	shlq	$4, %rcx
	movq	_TRUE@GOTPCREL(%rip), %r12
	cmpq	%r14, (%rax,%rcx)
	je	LBB0_10
## %bb.7:
	leaq	(%rax,%rcx), %rdx
	movq	%r14, (%rdx)
	cmpq	$0, 24(%r15)
	jne	LBB0_10
## %bb.8:
	movl	16(%r15), %edi
	leaq	(%rax,%rcx), %rsi
	addq	$8, %rsi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_9
LBB0_3:
	movq	_TRUE@GOTPCREL(%rip), %r12
	cmpq	%r14, 32(%r15)
	je	LBB0_10
## %bb.4:
	movq	%r14, 32(%r15)
	cmpq	$0, 24(%r15)
	je	LBB0_10
## %bb.5:
	movl	16(%r15), %edi
	addq	$40, %r15
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
LBB0_9:
	callq	_InvalidateRect
LBB0_10:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting part %d\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_STATUSBAR_SetIcon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function STATUSBAR_SetIcon
_STATUSBAR_SetIcon:                     ; @STATUSBAR_SetIcon
	.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
	cmn	w1, #1
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x22, _FALSE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	b	LBB0_12
LBB0_2:
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh2:
	adrp	x22, _FALSE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	cmp	w8, w1
	b.le	LBB0_12
; %bb.3:
	mov	x20, x2
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_TRACE
	cmn	w21, #1
	b.eq	LBB0_7
; %bb.4:
	ldr	x8, [x19, #8]
	add	x9, x8, w21, uxtw #4
	ldr	x10, [x9]
	cmp	x10, x20
	b.eq	LBB0_11
; %bb.5:
	str	x20, [x9]
	ldr	x9, [x19, #24]
	cbnz	x9, LBB0_11
; %bb.6:
	mov	w9, w21
	ldr	w0, [x19, #16]
	add	x8, x8, x9, lsl #4
	add	x1, x8, #8
	b	LBB0_10
LBB0_7:
	ldr	x8, [x19, #32]
	cmp	x8, x20
	b.eq	LBB0_11
; %bb.8:
	str	x20, [x19, #32]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_11
; %bb.9:
	ldr	w0, [x19, #16]
	add	x1, x19, #40
LBB0_10:
	ldr	w2, [x22]
	bl	_InvalidateRect
LBB0_11:
Lloh6:
	adrp	x22, _TRUE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x22]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting part %d\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_STATUSBAR_SetIcon
.subsections_via_symbols
