	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function STATUSBAR_Refresh
_STATUSBAR_Refresh:                     ## @STATUSBAR_Refresh
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movl	16(%r13), %edi
	callq	_IsWindowVisible
	testl	%eax, %eax
	je	LBB0_17
## %bb.1:
	movq	%r13, %rdi
	callq	_STATUSBAR_SetPartBounds
	movl	16(%r13), %edi
	leaq	-44(%rbp), %rsi
	callq	_GetClientRect
	movl	16(%r13), %edi
	callq	_GetWindowTheme
	testl	%eax, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_3
## %bb.2:
	leaq	-44(%rbp), %r8
	movl	%eax, %edi
	movl	%r14d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_DrawThemeBackground
	jmp	LBB0_8
LBB0_3:
	movq	(%r13), %rdi
	movq	_CLR_DEFAULT@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rdi
	jne	LBB0_4
## %bb.5:
	movq	_COLOR_3DFACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSysColorBrush
	jmp	LBB0_6
LBB0_4:
	callq	_CreateSolidBrush
LBB0_6:
	movl	%eax, %ebx
	leaq	-44(%rbp), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_FillRect
	movq	(%r13), %rax
	cmpq	(%r12), %rax
	je	LBB0_8
## %bb.7:
	movl	%ebx, %edi
	callq	_DeleteObject
LBB0_8:
	movq	56(%r13), %rsi
	testq	%rsi, %rsi
	jne	LBB0_10
## %bb.9:
	movq	48(%r13), %rsi
LBB0_10:
	movl	%r14d, %edi
	callq	_SelectObject
	movq	%rax, %r12
	cmpq	$0, 40(%r13)
	je	LBB0_11
## %bb.18:
	leaq	32(%r13), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	xorl	%ecx, %ecx
	callq	_STATUSBAR_RefreshPart
	jmp	LBB0_14
LBB0_11:
	cmpl	$0, 8(%r13)
	je	LBB0_14
## %bb.12:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rdx
	addq	%r15, %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%ebx, %ecx
	callq	_STATUSBAR_RefreshPart
	incq	%rbx
	movl	8(%r13), %eax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jb	LBB0_13
LBB0_14:
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_SelectObject
	movl	16(%r13), %edi
	movq	_GWL_STYLE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_GetWindowLongW
	movq	_SBARS_SIZEGRIP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_17
## %bb.15:
	movl	12(%r13), %edi
	movl	(%rbx), %esi
	callq	_GetWindowLongW
	movq	_WS_MAXIMIZE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_17
## %bb.16:
	leaq	-44(%rbp), %rdx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	callq	_STATUSBAR_DrawSizeGrip
LBB0_17:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_CLR_DEFAULT,8,3                ## @CLR_DEFAULT
	.comm	_COLOR_3DFACE,4,2               ## @COLOR_3DFACE
	.comm	_GWL_STYLE,4,2                  ## @GWL_STYLE
	.comm	_SBARS_SIZEGRIP,4,2             ## @SBARS_SIZEGRIP
	.comm	_WS_MAXIMIZE,4,2                ## @WS_MAXIMIZE
	.no_dead_strip	_STATUSBAR_Refresh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function STATUSBAR_Refresh
_STATUSBAR_Refresh:                     ; @STATUSBAR_Refresh
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	w0, [x20, #16]
	bl	_IsWindowVisible
	cbz	w0, LBB0_18
; %bb.1:
	mov	x0, x20
	bl	_STATUSBAR_SetPartBounds
	ldr	w0, [x20, #16]
	add	x1, sp, #12
	bl	_GetClientRect
	ldr	w0, [x20, #16]
	bl	_GetWindowTheme
	mov	x21, x0
	cbz	w0, LBB0_3
; %bb.2:
	add	x4, sp, #12
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	mov	w3, #0
	mov	x5, #0
	bl	_DrawThemeBackground
	b	LBB0_8
LBB0_3:
	ldr	x0, [x20]
Lloh2:
	adrp	x23, _CLR_DEFAULT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CLR_DEFAULT@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
Lloh4:
	adrp	x8, _COLOR_3DFACE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _COLOR_3DFACE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_GetSysColorBrush
	b	LBB0_6
LBB0_5:
	bl	_CreateSolidBrush
LBB0_6:
	mov	x22, x0
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x22
	bl	_FillRect
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x22
	bl	_DeleteObject
LBB0_8:
	ldr	x1, [x20, #56]
	cbnz	x1, LBB0_10
; %bb.9:
	ldr	x1, [x20, #48]
LBB0_10:
	mov	x0, x19
	bl	_SelectObject
	mov	x22, x0
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_12
; %bb.11:
	add	x2, x20, #32
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_STATUSBAR_RefreshPart
	b	LBB0_15
LBB0_12:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_15
; %bb.13:
	mov	x24, #0
	mov	x23, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	add	x2, x8, x24
	mov	x0, x20
	mov	x1, x19
	mov	x3, x23
	bl	_STATUSBAR_RefreshPart
	add	x23, x23, #1
	ldr	w8, [x20, #8]
	add	x24, x24, #4
	cmp	x23, x8
	b.lo	LBB0_14
LBB0_15:
	mov	x0, x19
	mov	x1, x22
	bl	_SelectObject
	ldr	w0, [x20, #16]
Lloh7:
	adrp	x22, _GWL_STYLE@GOTPAGE
Lloh8:
	ldr	x22, [x22, _GWL_STYLE@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_GetWindowLongW
Lloh9:
	adrp	x8, _SBARS_SIZEGRIP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SBARS_SIZEGRIP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_18
; %bb.16:
	ldr	w0, [x20, #12]
	ldr	w1, [x22]
	bl	_GetWindowLongW
Lloh12:
	adrp	x8, _WS_MAXIMIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WS_MAXIMIZE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_18
; %bb.17:
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x19
	bl	_STATUSBAR_DrawSizeGrip
LBB0_18:
	mov	w0, #0
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_CLR_DEFAULT,8,3                ; @CLR_DEFAULT
	.comm	_COLOR_3DFACE,4,2               ; @COLOR_3DFACE
	.comm	_GWL_STYLE,4,2                  ; @GWL_STYLE
	.comm	_SBARS_SIZEGRIP,4,2             ; @SBARS_SIZEGRIP
	.comm	_WS_MAXIMIZE,4,2                ; @WS_MAXIMIZE
	.no_dead_strip	_STATUSBAR_Refresh
.subsections_via_symbols
