	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function STATUSBAR_DrawPart
_STATUSBAR_DrawPart:                    ## @STATUSBAR_DrawPart
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	40(%rdx), %rax
	movq	%rax, -64(%rbp)
	movups	24(%rdx), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	_BDR_SUNKENOUTER@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	8(%rdi), %edi
	callq	_GetWindowTheme
	movq	%rax, %r13
	movq	_SP_PANE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-80(%rbp), %rdi
	callq	_wine_dbgstr_rect
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	movl	(%r14), %eax
	movq	_SBT_POPOUT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_BDR_RAISEDOUTER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%r13, %r13
	je	LBB0_9
LBB0_4:
	movl	8(%r15), %edi
	movq	_GWL_STYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetWindowLongW
	movq	_SBARS_SIZEGRIP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.5:
	cmpq	$0, 16(%r15)
	jne	LBB0_7
## %bb.6:
	movl	(%r15), %eax
	decl	%eax
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_8
LBB0_7:
	movq	_SP_GRIPPERPANE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_8:
	leaq	-80(%rbp), %r8
	movq	%r13, %rdi
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %esi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_DrawThemeBackground
	jmp	LBB0_10
LBB0_2:
	movq	_SBT_NOBORDERS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	testl	%eax, (%rcx)
	cmoveq	%rbx, %rdx
	testq	%r13, %r13
	jne	LBB0_4
LBB0_9:
	movq	_BF_RECT@GOTPCREL(%rip), %rax
	movq	_BF_ADJUST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-80(%rbp), %rsi
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	callq	_DrawEdge
LBB0_10:
	movl	16(%r14), %ecx
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.12:
	movslq	-80(%rbp), %rbx
	movslq	-76(%rbp), %rdx
	subq	%rdx, %rbx
	movq	-64(%rbp), %rsi
	addq	$2, %rsi
	movq	_DI_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movl	%r13d, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	pushq	%rax
	pushq	$0
	pushq	$0
	callq	_DrawIconEx
	addq	$32, %rsp
	addq	$2, %rbx
	jmp	LBB0_13
LBB0_11:
	xorl	%ebx, %ebx
LBB0_13:
	movq	_SBT_OWNERDRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_15
## %bb.14:
	movl	8(%r15), %edi
	movq	_GWLP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetWindowLongPtrW
	movl	%eax, -124(%rbp)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -128(%rbp)
	movl	8(%r15), %ecx
	movl	%ecx, -84(%rbp)
	movl	%r13d, -88(%rbp)
	movq	-64(%rbp), %rcx
	movq	%rcx, -96(%rbp)
	movaps	-80(%rbp), %xmm0
	movups	%xmm0, -112(%rbp)
	movq	8(%r14), %rcx
	movq	%rcx, -120(%rbp)
	movl	4(%r15), %edi
	movq	_WM_DRAWITEM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-128(%rbp), %rcx
	movl	%eax, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
	jmp	LBB0_16
LBB0_15:
	addq	%rbx, -64(%rbp)
	movq	8(%r14), %rdx
	movq	_SBT_NOBORDERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-80(%rbp), %rsi
	movl	%r13d, %edi
	callq	_DrawStatusTextW
LBB0_16:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BDR_SUNKENOUTER,8,3            ## @BDR_SUNKENOUTER
	.comm	_SP_PANE,4,2                    ## @SP_PANE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"part bound %s\n"

	.comm	_SBT_POPOUT,4,2                 ## @SBT_POPOUT
	.comm	_BDR_RAISEDOUTER,8,3            ## @BDR_RAISEDOUTER
	.comm	_SBT_NOBORDERS,4,2              ## @SBT_NOBORDERS
	.comm	_GWL_STYLE,4,2                  ## @GWL_STYLE
	.comm	_SBARS_SIZEGRIP,4,2             ## @SBARS_SIZEGRIP
	.comm	_SP_GRIPPERPANE,4,2             ## @SP_GRIPPERPANE
	.comm	_BF_RECT,4,2                    ## @BF_RECT
	.comm	_BF_ADJUST,4,2                  ## @BF_ADJUST
	.comm	_DI_NORMAL,4,2                  ## @DI_NORMAL
	.comm	_SBT_OWNERDRAW,4,2              ## @SBT_OWNERDRAW
	.comm	_GWLP_ID,4,2                    ## @GWLP_ID
	.comm	_WM_DRAWITEM,4,2                ## @WM_DRAWITEM
	.comm	_DT_NOPREFIX,4,2                ## @DT_NOPREFIX
	.comm	_DT_SINGLELINE,4,2              ## @DT_SINGLELINE
	.comm	_DT_VCENTER,4,2                 ## @DT_VCENTER
	.no_dead_strip	_STATUSBAR_DrawPart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function STATUSBAR_DrawPart
_STATUSBAR_DrawPart:                    ; @STATUSBAR_DrawPart
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldur	q0, [x2, #24]
	str	q0, [sp, #64]
	ldr	x8, [x2, #40]
	str	x8, [sp, #80]
Lloh0:
	adrp	x8, _BDR_SUNKENOUTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BDR_SUNKENOUTER@GOTPAGEOFF]
Lloh2:
	ldr	x25, [x8]
	ldr	w0, [x0, #8]
	bl	_GetWindowTheme
	mov	x23, x0
Lloh3:
	adrp	x8, _SP_PANE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SP_PANE@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	add	x0, sp, #64
	bl	_wine_dbgstr_rect
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _SBT_POPOUT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SBT_POPOUT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.1:
Lloh11:
	adrp	x8, _BDR_RAISEDOUTER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BDR_RAISEDOUTER@GOTPAGEOFF]
Lloh13:
	ldr	x2, [x8]
	cbz	x23, LBB0_9
LBB0_2:
	ldr	w0, [x21, #8]
Lloh14:
	adrp	x8, _GWL_STYLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GWL_STYLE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_GetWindowLongW
Lloh17:
	adrp	x8, _SBARS_SIZEGRIP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SBARS_SIZEGRIP@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.3:
	ldr	x8, [x21, #16]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	w8, [x21]
	sub	w8, w8, #1
	cmp	w8, w22
	b.ne	LBB0_6
LBB0_5:
Lloh20:
	adrp	x8, _SP_GRIPPERPANE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SP_GRIPPERPANE@GOTPAGEOFF]
Lloh22:
	ldr	w24, [x8]
LBB0_6:
	add	x4, sp, #64
	mov	x0, x23
	mov	x1, x19
	mov	x2, x24
	mov	w3, #0
	mov	x5, #0
	bl	_DrawThemeBackground
	ldr	w3, [x20, #16]
	cbz	w3, LBB0_10
LBB0_7:
	ldpsw	x8, x2, [sp, #64]
	sub	x23, x8, x2
	ldr	x8, [sp, #80]
	add	x1, x8, #2
Lloh23:
	adrp	x8, _DI_NORMAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DI_NORMAL@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x4, x23
	mov	x5, x23
	mov	w6, #0
	mov	w7, #0
	bl	_DrawIconEx
	add	x8, x23, #2
	b	LBB0_11
LBB0_8:
Lloh26:
	adrp	x9, _SBT_NOBORDERS@GOTPAGE
Lloh27:
	ldr	x9, [x9, _SBT_NOBORDERS@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	csel	x2, x25, xzr, eq
	cbnz	x23, LBB0_2
LBB0_9:
Lloh29:
	adrp	x8, _BF_RECT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BF_RECT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _BF_ADJUST@GOTPAGE
Lloh33:
	ldr	x9, [x9, _BF_ADJUST@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x1, sp, #64
	mov	x0, x19
	bl	_DrawEdge
	ldr	w3, [x20, #16]
	cbnz	w3, LBB0_7
LBB0_10:
	mov	x8, #0
LBB0_11:
	ldr	w9, [x20]
Lloh35:
	adrp	x10, _SBT_OWNERDRAW@GOTPAGE
Lloh36:
	ldr	x10, [x10, _SBT_OWNERDRAW@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_13
; %bb.12:
	ldr	w0, [x21, #8]
Lloh38:
	adrp	x8, _GWLP_ID@GOTPAGE
Lloh39:
	ldr	x8, [x8, _GWLP_ID@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	bl	_GetWindowLongPtrW
	mov	x2, x0
	stp	w22, w0, [sp, #16]
	ldp	w0, w8, [x21, #4]
	stp	w19, w8, [sp, #56]
	ldr	q0, [sp, #64]
	str	q0, [sp, #32]
	ldr	x8, [sp, #80]
	str	x8, [sp, #48]
	ldr	x8, [x20, #8]
	str	x8, [sp, #24]
Lloh41:
	adrp	x8, _WM_DRAWITEM@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WM_DRAWITEM@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	add	x3, sp, #16
	bl	_SendMessageW
	b	LBB0_14
LBB0_13:
	ldr	x9, [sp, #80]
	add	x8, x9, x8
	str	x8, [sp, #80]
	ldr	x2, [x20, #8]
Lloh44:
	adrp	x8, _SBT_NOBORDERS@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SBT_NOBORDERS@GOTPAGEOFF]
Lloh46:
	ldr	w3, [x8]
	add	x1, sp, #64
	mov	x0, x19
	bl	_DrawStatusTextW
LBB0_14:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_BDR_SUNKENOUTER,8,3            ; @BDR_SUNKENOUTER
	.comm	_SP_PANE,4,2                    ; @SP_PANE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"part bound %s\n"

	.comm	_SBT_POPOUT,4,2                 ; @SBT_POPOUT
	.comm	_BDR_RAISEDOUTER,8,3            ; @BDR_RAISEDOUTER
	.comm	_SBT_NOBORDERS,4,2              ; @SBT_NOBORDERS
	.comm	_GWL_STYLE,4,2                  ; @GWL_STYLE
	.comm	_SBARS_SIZEGRIP,4,2             ; @SBARS_SIZEGRIP
	.comm	_SP_GRIPPERPANE,4,2             ; @SP_GRIPPERPANE
	.comm	_BF_RECT,4,2                    ; @BF_RECT
	.comm	_BF_ADJUST,4,2                  ; @BF_ADJUST
	.comm	_DI_NORMAL,4,2                  ; @DI_NORMAL
	.comm	_SBT_OWNERDRAW,4,2              ; @SBT_OWNERDRAW
	.comm	_GWLP_ID,4,2                    ; @GWLP_ID
	.comm	_WM_DRAWITEM,4,2                ; @WM_DRAWITEM
	.comm	_DT_NOPREFIX,4,2                ; @DT_NOPREFIX
	.comm	_DT_SINGLELINE,4,2              ; @DT_SINGLELINE
	.comm	_DT_VCENTER,4,2                 ; @DT_VCENTER
	.no_dead_strip	_STATUSBAR_DrawPart
.subsections_via_symbols
