	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TrayIcon_ShellUpdateTrayIcon   ## -- Begin function TrayIcon_ShellUpdateTrayIcon
	.p2align	4, 0x90
_TrayIcon_ShellUpdateTrayIcon:          ## @TrayIcon_ShellUpdateTrayIcon
	.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
	subq	$320, %rsp                      ## imm = 0x140
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-352(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	xorl	%eax, %eax
	callq	_TrayIcon_GetProcessorUsageIcon
	movq	%rax, %r15
	movl	$48, -352(%rbp)
	movq	_hMainWnd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -312(%rbp)
	movq	$0, -320(%rbp)
	movq	_NIF_ICON@GOTPCREL(%rip), %rax
	movq	_NIF_MESSAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_NIF_TIP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -348(%rbp)
	movq	_WM_ONTRAYICON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -328(%rbp)
	movq	%r15, -336(%rbp)
	movq	_hInst@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IDS_MSG_TRAYICONCPUUSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-304(%rbp), %r12
	movq	%r12, %rdx
	movl	$64, %ecx
	callq	_LoadStringW
	movl	-344(%rbp), %ebx
	xorl	%eax, %eax
	callq	_PerfDataGetProcessorUsage
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_wsprintfW
	movq	_NIM_MODIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_Shell_NotifyIconW
	movl	%eax, %ebx
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_DestroyIcon
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %eax
	addq	$320, %rsp                      ## imm = 0x140
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_hMainWnd,4,2                   ## @hMainWnd
	.comm	_NIF_ICON,4,2                   ## @NIF_ICON
	.comm	_NIF_MESSAGE,4,2                ## @NIF_MESSAGE
	.comm	_NIF_TIP,4,2                    ## @NIF_TIP
	.comm	_WM_ONTRAYICON,4,2              ## @WM_ONTRAYICON
	.comm	_hInst,4,2                      ## @hInst
	.comm	_IDS_MSG_TRAYICONCPUUSAGE,4,2   ## @IDS_MSG_TRAYICONCPUUSAGE
	.comm	_NIM_MODIFY,4,2                 ## @NIM_MODIFY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TrayIcon_ShellUpdateTrayIcon   ; -- Begin function TrayIcon_ShellUpdateTrayIcon
	.p2align	2
_TrayIcon_ShellUpdateTrayIcon:          ; @TrayIcon_ShellUpdateTrayIcon
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	w20, #48
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	bl	_TrayIcon_GetProcessorUsageIcon
	mov	x19, x0
Lloh3:
	adrp	x8, _hMainWnd@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hMainWnd@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _NIF_ICON@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NIF_ICON@GOTPAGEOFF]
	str	w8, [sp, #48]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _NIF_MESSAGE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NIF_MESSAGE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _NIF_TIP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NIF_TIP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	xzr, [sp, #40]
	stp	w20, w8, [sp, #8]
Lloh15:
	adrp	x8, _WM_ONTRAYICON@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WM_ONTRAYICON@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #32]
	str	x0, [sp, #24]
Lloh18:
	adrp	x8, _hInst@GOTPAGE
Lloh19:
	ldr	x8, [x8, _hInst@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _IDS_MSG_TRAYICONCPUUSAGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IDS_MSG_TRAYICONCPUUSAGE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x2, sp, #56
	mov	w3, #64
	bl	_LoadStringW
	ldr	w20, [sp, #16]
	bl	_PerfDataGetProcessorUsage
	mov	x2, x0
	add	x1, sp, #56
	mov	x0, x20
	bl	_wsprintfW
Lloh24:
	adrp	x8, _NIM_MODIFY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NIM_MODIFY@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_Shell_NotifyIconW
	mov	x20, x0
	cbz	x19, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_DestroyIcon
LBB0_2:
	ldur	x8, [x29, #-40]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #320]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_hMainWnd,4,2                   ; @hMainWnd
	.comm	_NIF_ICON,4,2                   ; @NIF_ICON
	.comm	_NIF_MESSAGE,4,2                ; @NIF_MESSAGE
	.comm	_NIF_TIP,4,2                    ; @NIF_TIP
	.comm	_WM_ONTRAYICON,4,2              ; @WM_ONTRAYICON
	.comm	_hInst,4,2                      ; @hInst
	.comm	_IDS_MSG_TRAYICONCPUUSAGE,4,2   ; @IDS_MSG_TRAYICONCPUUSAGE
	.comm	_NIM_MODIFY,4,2                 ; @NIM_MODIFY
.subsections_via_symbols
