	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLBAR_DrawString
_TOOLBAR_DrawString:                    ## @TOOLBAR_DrawString
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	je	LBB0_18
## %bb.1:
	cmpq	$0, (%rdi)
	jle	LBB0_18
## %bb.2:
	movl	%r8d, %ebx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movl	20(%rcx), %r12d
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	24(%rcx), %r13d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %edi
	callq	_debugstr_w
	movl	%eax, %r15d
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	callq	_wine_dbgstr_rect
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%r13d, %r15d
	movl	%r12d, %r13d
	movl	%eax, %edx
	callq	_TRACE
	movl	12(%r14), %esi
	movl	%r15d, %edi
	callq	_SelectObject
	movq	_CDIS_HOT@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	je	LBB0_5
## %bb.3:
	movq	_TBCDRF_HILITEHOTTRACK@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %esi
	movl	%r15d, %edi
	callq	_SetTextColor
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_14
LBB0_18:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_CDIS_DISABLED@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %esi
	movl	%r15d, %edi
	callq	_SetTextColor
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_OffsetRect
	movl	8(%r14), %r8d
	movl	%r15d, %edi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	$-1, %edx
	movq	%r12, %rcx
	callq	_DrawTextW
	movq	_comctl32_color@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_SetTextColor
	movq	%r12, %rdi
	movl	$-1, %esi
	movl	$-1, %edx
	callq	_OffsetRect
	movl	%ebx, %esi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_7:
	movq	_CDIS_INDETERMINATE@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_9
## %bb.8:
	movq	_comctl32_color@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_SetTextColor
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_14
LBB0_9:
	movq	_CDIS_MARKED@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_12
## %bb.10:
	movq	_TBCDRF_NOMARK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
LBB0_12:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movl	%r15d, %edi
	callq	_SetTextColor
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_11:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	12(%rbx), %esi
	movl	%r15d, %edi
	callq	_SetTextColor
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %esi
	movl	%r15d, %edi
	callq	_SetBkColor
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %esi
	movl	%r15d, %edi
	callq	_SetBkMode
	movl	%eax, %ebx
LBB0_13:
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_14:
	movl	8(%r14), %r8d
	movl	%r15d, %edi
	movl	$-1, %edx
	movq	%r12, %rcx
	callq	_DrawTextW
	movl	%r15d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_SetTextColor
	movq	_CDIS_MARKED@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_17
## %bb.15:
	movq	_TBCDRF_NOMARK@GOTPCREL(%rip), %rax
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	jne	LBB0_17
## %bb.16:
	movl	%r15d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_SetBkColor
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_SetBkMode
LBB0_17:
	movl	%r15d, %edi
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SelectObject                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"string=%s rect=(%s)\n"

	.comm	_CDIS_HOT,4,2                   ## @CDIS_HOT
	.comm	_TBCDRF_HILITEHOTTRACK,4,2      ## @TBCDRF_HILITEHOTTRACK
	.comm	_CDIS_DISABLED,4,2              ## @CDIS_DISABLED
	.comm	_comctl32_color,4,2             ## @comctl32_color
	.comm	_CDIS_INDETERMINATE,4,2         ## @CDIS_INDETERMINATE
	.comm	_CDIS_MARKED,4,2                ## @CDIS_MARKED
	.comm	_TBCDRF_NOMARK,4,2              ## @TBCDRF_NOMARK
	.comm	_CDIS_CHECKED,4,2               ## @CDIS_CHECKED
	.comm	_CDIS_SELECTED,4,2              ## @CDIS_SELECTED
	.comm	_DTT_GRAYED,4,2                 ## @DTT_GRAYED
	.comm	_TP_BUTTON,4,2                  ## @TP_BUTTON
	.comm	_TS_DISABLED,4,2                ## @TS_DISABLED
	.comm	_TS_HOT,4,2                     ## @TS_HOT
	.comm	_TS_HOTCHECKED,4,2              ## @TS_HOTCHECKED
	.comm	_TS_NORMAL,4,2                  ## @TS_NORMAL
	.comm	_TS_PRESSED,4,2                 ## @TS_PRESSED
	.no_dead_strip	_TOOLBAR_DrawString
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLBAR_DrawString
_TOOLBAR_DrawString:                    ; @TOOLBAR_DrawString
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	w2, LBB0_5
; %bb.1:
	mov	x24, x0
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x20, x4
	mov	x26, x3
	mov	x22, x2
	mov	x21, x1
	ldp	w28, w19, [x3, #20]
	mov	x0, x2
	bl	_debugstr_w
	mov	x23, x0
	mov	x0, x21
	bl	_wine_dbgstr_rect
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_TRACE
	ldr	w1, [x24, #12]
	mov	x0, x19
	bl	_SelectObject
Lloh2:
	adrp	x8, _CDIS_HOT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CDIS_HOT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _CDIS_MARKED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CDIS_MARKED@GOTPAGEOFF]
	tst	w8, w28
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	b.eq	LBB0_6
; %bb.3:
Lloh7:
	adrp	x8, _TBCDRF_HILITEHOTTRACK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TBCDRF_HILITEHOTTRACK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.4:
	mov	x23, x9
	ldr	w1, [x26, #12]
	b	LBB0_13
LBB0_5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
Lloh10:
	adrp	x8, _CDIS_DISABLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CDIS_DISABLED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w28
	b.eq	LBB0_8
; %bb.7:
	mov	x23, x9
	ldr	w1, [x26, #16]
	mov	x0, x19
	bl	_SetTextColor
	mov	x25, x0
	mov	x0, x21
	mov	w1, #1
	mov	w2, #1
	bl	_OffsetRect
	ldr	w4, [x24, #8]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #-1
	mov	x3, x21
	bl	_DrawTextW
Lloh13:
	adrp	x8, _comctl32_color@GOTPAGE
Lloh14:
	ldr	x8, [x8, _comctl32_color@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SetTextColor
	mov	x0, x21
	mov	w1, #-1
	mov	w2, #-1
	bl	_OffsetRect
	b	LBB0_14
LBB0_8:
Lloh16:
	adrp	x8, _CDIS_INDETERMINATE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CDIS_INDETERMINATE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w28
	b.eq	LBB0_10
; %bb.9:
	mov	x23, x9
Lloh19:
	adrp	x8, _comctl32_color@GOTPAGE
Lloh20:
	ldr	x8, [x8, _comctl32_color@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	b	LBB0_13
LBB0_10:
	mov	x23, x9
	ldr	w8, [x9]
	tst	w8, w28
	b.eq	LBB0_12
; %bb.11:
Lloh22:
	adrp	x8, _TBCDRF_NOMARK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TBCDRF_NOMARK@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_19
LBB0_12:
	ldr	w1, [x26, #4]
LBB0_13:
	mov	x0, x19
	bl	_SetTextColor
	mov	x25, x0
LBB0_14:
	mov	w27, #0
	mov	w26, #0
LBB0_15:
	ldr	w4, [x24, #8]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #-1
	mov	x3, x21
	bl	_DrawTextW
	mov	x0, x19
	mov	x1, x25
	bl	_SetTextColor
	ldr	w8, [x23]
	tst	w8, w28
	b.eq	LBB0_18
; %bb.16:
Lloh25:
	adrp	x8, _TBCDRF_NOMARK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TBCDRF_NOMARK@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x19
	mov	x1, x27
	bl	_SetBkColor
	mov	x0, x19
	mov	x1, x26
	bl	_SetBkMode
LBB0_18:
	mov	x0, x19
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_SelectObject
LBB0_19:
	ldr	w1, [x26, #12]
	mov	x0, x19
	bl	_SetTextColor
	mov	x25, x0
	ldr	w1, [x26, #8]
	mov	x0, x19
	bl	_SetBkColor
	mov	x27, x0
	ldr	w1, [x26]
	mov	x0, x19
	bl	_SetBkMode
	mov	x26, x0
	b	LBB0_15
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"string=%s rect=(%s)\n"

	.comm	_CDIS_HOT,4,2                   ; @CDIS_HOT
	.comm	_TBCDRF_HILITEHOTTRACK,4,2      ; @TBCDRF_HILITEHOTTRACK
	.comm	_CDIS_DISABLED,4,2              ; @CDIS_DISABLED
	.comm	_comctl32_color,4,2             ; @comctl32_color
	.comm	_CDIS_INDETERMINATE,4,2         ; @CDIS_INDETERMINATE
	.comm	_CDIS_MARKED,4,2                ; @CDIS_MARKED
	.comm	_TBCDRF_NOMARK,4,2              ; @TBCDRF_NOMARK
	.comm	_CDIS_CHECKED,4,2               ; @CDIS_CHECKED
	.comm	_CDIS_SELECTED,4,2              ; @CDIS_SELECTED
	.comm	_DTT_GRAYED,4,2                 ; @DTT_GRAYED
	.comm	_TP_BUTTON,4,2                  ; @TP_BUTTON
	.comm	_TS_DISABLED,4,2                ; @TS_DISABLED
	.comm	_TS_HOT,4,2                     ; @TS_HOT
	.comm	_TS_HOTCHECKED,4,2              ; @TS_HOTCHECKED
	.comm	_TS_NORMAL,4,2                  ; @TS_NORMAL
	.comm	_TS_PRESSED,4,2                 ; @TS_PRESSED
	.no_dead_strip	_TOOLBAR_DrawString
.subsections_via_symbols
