	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLBAR_DrawMasked
_TOOLBAR_DrawMasked:                    ## @TOOLBAR_DrawMasked
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -112(%rbp)                 ## 8-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	%edx, %ebx
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movl	%esi, -72(%rbp)                 ## 4-byte Spill
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movl	%edi, %r12d
	movl	%edi, -68(%rbp)                 ## 4-byte Spill
	callq	_ImageList_GetIconSize
	movl	%ebx, %edi
	callq	_CreateCompatibleDC
	movl	%eax, %r14d
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movl	%ebx, %edi
	callq	_CreateCompatibleBitmap
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	%r14d, %edi
	movl	%r14d, %ebx
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	movl	%eax, %esi
	callq	_SelectObject
	movq	-56(%rbp), %r13
	movq	-48(%rbp), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$255, %edi
	movl	$255, %esi
	movl	$255, %edx
	callq	_RGB
	movl	%eax, %r14d
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_RGB
                                        ## kill: def $eax killed $eax def $rax
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%r13, %r9
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	pushq	%r14
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	callq	_ImageList_DrawEx
	addq	$32, %rsp
	xorl	%edi, %edi
	callq	_CreateCompatibleDC
	movl	%eax, %r14d
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movl	$1, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_CreateBitmap
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_SelectObject
	movq	-56(%rbp), %r13
	movq	-48(%rbp), %r15
	movl	$255, %edi
	movl	$255, %esi
	movl	$255, %edx
	callq	_RGB
	movl	%eax, %r12d
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_RGB
                                        ## kill: def $eax killed $eax def $rax
	movq	_ILD_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%r13, %r9
	pushq	%rbx
	pushq	%rax
	pushq	%r12
	pushq	%r15
	callq	_ImageList_DrawEx
	addq	$32, %rsp
	movl	$255, %edi
	movl	$255, %esi
	movl	$255, %edx
	callq	_RGB
	movl	-76(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_SetBkColor
	movq	-56(%rbp), %rcx
	movq	-48(%rbp), %r8
	movq	_NOTSRCERASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movl	%r14d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r12d, %r9d
	pushq	%rax
	pushq	$0
	pushq	$0
	callq	_BitBlt
	addq	$32, %rsp
	movl	$255, %edi
	movl	$255, %esi
	movl	$255, %edx
	callq	_RGB
	movl	-80(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SetBkColor
	movq	_COLOR_3DHILIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSysColorBrush
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SelectObject
	movq	-104(%rbp), %r15                ## 8-byte Reload
	leaq	1(%r15), %rsi
	movq	-112(%rbp), %r13                ## 8-byte Reload
	leaq	1(%r13), %rdx
	movq	-56(%rbp), %rcx
	movq	-48(%rbp), %r8
	subq	$8, %rsp
	movl	%ebx, %edi
	movl	%r14d, %r9d
	pushq	$14812998                       ## imm = 0xE20746
	pushq	$0
	pushq	$0
	callq	_BitBlt
	addq	$32, %rsp
	movq	_COLOR_3DSHADOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSysColorBrush
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SelectObject
	movq	-56(%rbp), %rcx
	movq	-48(%rbp), %r8
	subq	$8, %rsp
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movl	%r14d, %r9d
	pushq	$14812998                       ## imm = 0xE20746
	pushq	$0
	pushq	$0
	callq	_BitBlt
	addq	$32, %rsp
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	_DeleteObject
	movl	%r12d, %edi
	callq	_DeleteDC
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_DeleteObject
	movl	%r14d, %edi
	callq	_DeleteDC
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ILD_MASK,4,2                   ## @ILD_MASK
	.comm	_NOTSRCERASE,4,2                ## @NOTSRCERASE
	.comm	_COLOR_3DHILIGHT,4,2            ## @COLOR_3DHILIGHT
	.comm	_COLOR_3DSHADOW,4,2             ## @COLOR_3DSHADOW
	.no_dead_strip	_TOOLBAR_DrawMasked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLBAR_DrawMasked
_TOOLBAR_DrawMasked:                    ; @TOOLBAR_DrawMasked
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x24, x5
	stp	x3, x4, [sp, #16]               ; 16-byte Folded Spill
	mov	x21, x2
	mov	x26, x1
	mov	x27, x0
	add	x1, sp, #40
	add	x2, sp, #32
	bl	_ImageList_GetIconSize
	mov	x0, x21
	bl	_CreateCompatibleDC
	mov	x22, x0
	ldp	x2, x1, [sp, #32]
	mov	x0, x21
	bl	_CreateCompatibleBitmap
	mov	x23, x0
	mov	x0, x22
	mov	x1, x23
	bl	_SelectObject
	ldp	x28, x25, [sp, #32]
	mov	w0, #255
	mov	w1, #255
	mov	w2, #255
	bl	_RGB
	mov	x19, x0
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	bl	_RGB
	stp	w0, w24, [sp]
	mov	x0, x27
	mov	x1, x26
	mov	x2, x22
	mov	w3, #0
	mov	w4, #0
	mov	x5, x25
	mov	x6, x28
	mov	x7, x19
	bl	_ImageList_DrawEx
	mov	w0, #0
	bl	_CreateCompatibleDC
	mov	x24, x0
	ldp	x1, x0, [sp, #32]
	mov	w2, #1
	mov	w3, #1
	mov	x4, #0
	bl	_CreateBitmap
	mov	x25, x0
	mov	x0, x24
	mov	x1, x25
	bl	_SelectObject
	ldp	x28, x19, [sp, #32]
	mov	w0, #255
	mov	w1, #255
	mov	w2, #255
	bl	_RGB
	mov	x20, x0
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	bl	_RGB
Lloh0:
	adrp	x8, _ILD_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ILD_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w0, w8, [sp]
	mov	x0, x27
	mov	x1, x26
	mov	x2, x24
	mov	w3, #0
	mov	w4, #0
	mov	x5, x19
	mov	x6, x28
	mov	x7, x20
	bl	_ImageList_DrawEx
	mov	w0, #255
	mov	w1, #255
	mov	w2, #255
	bl	_RGB
	mov	x1, x0
	mov	x0, x22
	bl	_SetBkColor
	ldp	x4, x3, [sp, #32]
Lloh3:
	adrp	x8, _NOTSRCERASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NOTSRCERASE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x24
	mov	x1, #0
	mov	x2, #0
	mov	x5, x22
	mov	w6, #0
	mov	w7, #0
	bl	_BitBlt
	mov	w0, #255
	mov	w1, #255
	mov	w2, #255
	bl	_RGB
	mov	x1, x0
	mov	x0, x21
	bl	_SetBkColor
Lloh6:
	adrp	x8, _COLOR_3DHILIGHT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COLOR_3DHILIGHT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_GetSysColorBrush
	mov	x1, x0
	mov	x0, x21
	bl	_SelectObject
	ldp	x26, x20, [sp, #16]             ; 16-byte Folded Reload
	add	x1, x26, #1
	add	x2, x20, #1
	ldp	x4, x3, [sp, #32]
	mov	w19, #1862
	movk	w19, #226, lsl #16
	str	w19, [sp]
	mov	x0, x21
	mov	x5, x24
	mov	w6, #0
	mov	w7, #0
	bl	_BitBlt
Lloh9:
	adrp	x8, _COLOR_3DSHADOW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _COLOR_3DSHADOW@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_GetSysColorBrush
	mov	x1, x0
	mov	x0, x21
	bl	_SelectObject
	ldp	x4, x3, [sp, #32]
	str	w19, [sp]
	mov	x0, x21
	mov	x1, x26
	mov	x2, x20
	mov	x5, x24
	mov	w6, #0
	mov	w7, #0
	bl	_BitBlt
	mov	x0, x23
	bl	_DeleteObject
	mov	x0, x22
	bl	_DeleteDC
	mov	x0, x25
	bl	_DeleteObject
	mov	x0, x24
	bl	_DeleteDC
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ILD_MASK,4,2                   ; @ILD_MASK
	.comm	_NOTSRCERASE,4,2                ; @NOTSRCERASE
	.comm	_COLOR_3DHILIGHT,4,2            ; @COLOR_3DHILIGHT
	.comm	_COLOR_3DSHADOW,4,2             ; @COLOR_3DSHADOW
	.no_dead_strip	_TOOLBAR_DrawMasked
.subsections_via_symbols
