	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLBAR_DrawPattern
_TOOLBAR_DrawPattern:                   ## @TOOLBAR_DrawPattern
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rsi), %esi
	movl	12(%r14), %r13d
	movl	%r13d, %edi
	callq	_SelectObject
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %eax
	movl	8(%rbx), %ecx
	subl	4(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	subl	12(%rbx), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	_SM_CXEDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
	movl	%eax, %r15d
	movq	_SM_CYEDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
	movl	%eax, %r12d
	movl	4(%r14), %esi
	movl	%r13d, %edi
	callq	_SetTextColor
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%r14), %esi
	movl	%r13d, %edi
	callq	_SetBkColor
	movl	%eax, %r14d
	movl	4(%rbx), %esi
	addl	%r15d, %esi
	movl	12(%rbx), %edx
	addl	%r12d, %edx
	addl	%r15d, %r15d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	subl	%r15d, %ecx
	addl	%r12d, %r12d
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	subl	%r12d, %r8d
	movq	_PATCOPY@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r13d, %edi
	callq	_PatBlt
	movl	%r13d, %edi
	movl	%r14d, %esi
	callq	_SetBkColor
	movl	%r13d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_SetTextColor
	movl	%r13d, %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SelectObject                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SM_CXEDGE,4,2                  ## @SM_CXEDGE
	.comm	_SM_CYEDGE,4,2                  ## @SM_CYEDGE
	.comm	_PATCOPY,4,2                    ## @PATCOPY
	.no_dead_strip	_TOOLBAR_DrawPattern
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLBAR_DrawPattern
_TOOLBAR_DrawPattern:                   ; @TOOLBAR_DrawPattern
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x1
	mov	x22, x0
	ldp	w1, w19, [x1, #8]
	mov	x0, x19
	bl	_SelectObject
	mov	x20, x0
	ldp	w8, w9, [x22]
	sub	w26, w8, w9
	ldp	w8, w9, [x22, #8]
	sub	w27, w8, w9
Lloh0:
	adrp	x8, _SM_CXEDGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SM_CXEDGE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	mov	x23, x0
Lloh3:
	adrp	x8, _SM_CYEDGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SM_CYEDGE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	mov	x24, x0
	ldr	w1, [x21, #4]
	mov	x0, x19
	bl	_SetTextColor
	mov	x25, x0
	ldr	w1, [x21]
	mov	x0, x19
	bl	_SetBkColor
	mov	x21, x0
	ldr	w8, [x22, #4]
	add	w1, w8, w23
	ldr	w8, [x22, #12]
	add	w2, w8, w24
	sub	w3, w26, w23, lsl #1
	sub	w4, w27, w24, lsl #1
Lloh6:
	adrp	x8, _PATCOPY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PATCOPY@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x0, x19
	bl	_PatBlt
	mov	x0, x19
	mov	x1, x21
	bl	_SetBkColor
	mov	x0, x19
	mov	x1, x25
	bl	_SetTextColor
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_SelectObject
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SM_CXEDGE,4,2                  ; @SM_CXEDGE
	.comm	_SM_CYEDGE,4,2                  ; @SM_CYEDGE
	.comm	_PATCOPY,4,2                    ; @PATCOPY
	.no_dead_strip	_TOOLBAR_DrawPattern
.subsections_via_symbols
