	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UpdateTrayIcon
_UpdateTrayIcon:                        ## @UpdateTrayIcon
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r12d
	movl	%edi, %ebx
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$28, %edx
	callq	_memset
	movabsq	$4294967324, %rax               ## imm = 0x10000001C
	movq	%rax, -64(%rbp)
	movq	_NIF_ICON@GOTPCREL(%rip), %rax
	movq	_NIF_MESSAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ebx, -40(%rbp)
	movq	_NIF_TIP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -56(%rbp)
	movq	_WM_NOTIFYICONMSG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	%r12d, %edi
	callq	_CreateTrayIcon
	movl	%eax, -48(%rbp)
	movl	-52(%rbp), %ebx
	movl	%ebx, %edi
	callq	_ARRAYSIZE
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_StringCchCopy
	movq	_NIM_MODIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_Shell_NotifyIcon
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIF_ICON,4,2                   ## @NIF_ICON
	.comm	_NIF_MESSAGE,4,2                ## @NIF_MESSAGE
	.comm	_NIF_TIP,4,2                    ## @NIF_TIP
	.comm	_WM_NOTIFYICONMSG,4,2           ## @WM_NOTIFYICONMSG
	.comm	_NIM_MODIFY,4,2                 ## @NIM_MODIFY
	.no_dead_strip	_UpdateTrayIcon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function UpdateTrayIcon
lCPI0_0:
	.long	28                              ; 0x1c
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_UpdateTrayIcon:                        ; @UpdateTrayIcon
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #28
	bl	_memset
	str	w21, [sp, #24]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp]
Lloh2:
	adrp	x8, _NIF_ICON@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NIF_ICON@GOTPAGEOFF]
Lloh4:
	adrp	x9, _NIF_MESSAGE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _NIF_MESSAGE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _NIF_TIP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NIF_TIP@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _WM_NOTIFYICONMSG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _WM_NOTIFYICONMSG@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	str	w8, [sp, #8]
	str	w9, [sp, #20]
	mov	x0, x20
	bl	_CreateTrayIcon
	str	w0, [sp, #16]
	ldr	w20, [sp, #12]
	mov	x0, x20
	bl	_ARRAYSIZE
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_StringCchCopy
Lloh14:
	adrp	x8, _NIM_MODIFY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NIM_MODIFY@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_Shell_NotifyIcon
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NIF_ICON,4,2                   ; @NIF_ICON
	.comm	_NIF_MESSAGE,4,2                ; @NIF_MESSAGE
	.comm	_NIF_TIP,4,2                    ; @NIF_TIP
	.comm	_WM_NOTIFYICONMSG,4,2           ; @WM_NOTIFYICONMSG
	.comm	_NIM_MODIFY,4,2                 ; @NIM_MODIFY
	.no_dead_strip	_UpdateTrayIcon
.subsections_via_symbols
