	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MyDrawFrameScroll
_MyDrawFrameScroll:                     ## @MyDrawFrameScroll
	.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	%edx, %r15d
	leal	-128(%r15), %eax
	cmpb	$4, %al
	ja	LBB0_1
## %bb.2:
	movq	%rcx, %rbx
	movl	%esi, %r14d
	movl	%edi, %r13d
	movzbl	%al, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movb	$54, -41(%rbp)
	jmp	LBB0_7
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_4:
	movb	$53, -41(%rbp)
	jmp	LBB0_7
LBB0_6:
	movb	$52, -41(%rbp)
	jmp	LBB0_7
LBB0_5:
	movb	$51, -41(%rbp)
LBB0_7:
	movq	_DFCS_PUSHED@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	andl	%r15d, %eax
	jne	LBB0_8
## %bb.9:
	movq	_EDGE_RAISED@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_EDGE_SUNKEN@GOTPCREL(%rip), %rax
LBB0_10:
	movq	_DFCS_FLAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r15d, %ecx
	movq	_BF_MIDDLE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	(%rax), %edx
	movq	_BF_RECT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%r13d, %edi
	movl	%r14d, %esi
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r8
	callq	_MyIntDrawRectEdge
	leaq	-128(%rbp), %rdi
	movl	$32, %esi
	callq	_ZeroMemory
	leaq	-88(%rbp), %rsi
	movl	%r14d, %edi
	callq	_MyMakeSquareRect
	movdqu	-80(%rbp), %xmm0
	pcmpeqd	%xmm1, %xmm1
	psubq	%xmm1, %xmm0
	movdqu	%xmm0, -80(%rbp)
	decl	-88(%rbp)
	movq	-64(%rbp), %rax
	decq	%rax
	movq	%rax, -64(%rbp)
	testl	%r15d, (%r12)
	je	LBB0_11
## %bb.12:
	leaq	-88(%rbp), %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_OffsetRect
	movq	-80(%rbp), %rcx
	movq	-64(%rbp), %rax
	jmp	LBB0_13
LBB0_11:
	movq	%xmm0, %rcx
LBB0_13:
	subq	%rcx, %rax
	movq	%rax, -104(%rbp)
	movq	$0, -112(%rbp)
	movq	_FW_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	_DEFAULT_CHARSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -124(%rbp)
	movl	-128(%rbp), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_TEXT
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_lstrcpy
	leaq	-128(%rbp), %rdi
	callq	_CreateFontIndirect
	movl	%eax, %r12d
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_SelectObject
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	_GetTextColor
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	_GetBkMode
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_TRANSPARENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_SetBkMode
	movq	_DFCS_INACTIVE@GOTPCREL(%rip), %rbx
	testl	%r15d, (%rbx)
	je	LBB0_14
## %bb.15:
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rax
	movq	_COLOR_BTNHIGHLIGHT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	%r13d, %edi
	callq	_SetTextColor
	movq	-80(%rbp), %rdx
	movq	-72(%rbp), %rsi
	incq	%rsi
	incq	%rdx
	leaq	-41(%rbp), %rcx
	movl	%r13d, %edi
	movl	$1, %r8d
	callq	_TextOut
	testl	%r15d, (%rbx)
	sete	%cl
	jmp	LBB0_16
LBB0_14:
	movb	$1, %cl
	movq	-96(%rbp), %r14                 ## 8-byte Reload
LBB0_16:
	movq	(%r14), %rax
	testb	%cl, %cl
	je	LBB0_17
## %bb.18:
	movq	_COLOR_BTNTEXT@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_17:
	movq	_COLOR_BTNSHADOW@GOTPCREL(%rip), %rcx
LBB0_19:
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	%r13d, %edi
	callq	_SetTextColor
	movq	-80(%rbp), %rdx
	movq	-72(%rbp), %rsi
	leaq	-41(%rbp), %rcx
	movl	%r13d, %edi
	movl	$1, %r8d
	callq	_TextOut
	movl	%r13d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_SetTextColor
	movl	%r13d, %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_SelectObject
	movl	%r13d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_SetBkMode
	movl	%r12d, %edi
	callq	_DeleteObject
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_DFCS_PUSHED,4,2                ## @DFCS_PUSHED
	.comm	_EDGE_SUNKEN,4,2                ## @EDGE_SUNKEN
	.comm	_EDGE_RAISED,4,2                ## @EDGE_RAISED
	.comm	_DFCS_FLAT,4,2                  ## @DFCS_FLAT
	.comm	_BF_MIDDLE,4,2                  ## @BF_MIDDLE
	.comm	_BF_RECT,4,2                    ## @BF_RECT
	.comm	_FW_NORMAL,4,2                  ## @FW_NORMAL
	.comm	_DEFAULT_CHARSET,4,2            ## @DEFAULT_CHARSET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Marlett"

	.comm	_TRANSPARENT,4,2                ## @TRANSPARENT
	.comm	_DFCS_INACTIVE,4,2              ## @DFCS_INACTIVE
	.comm	_COLOR_BTNHIGHLIGHT,8,3         ## @COLOR_BTNHIGHLIGHT
	.comm	_COLOR_BTNSHADOW,8,3            ## @COLOR_BTNSHADOW
	.comm	_COLOR_BTNTEXT,8,3              ## @COLOR_BTNTEXT
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_MyDrawFrameScroll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MyDrawFrameScroll
_MyDrawFrameScroll:                     ; @MyDrawFrameScroll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	and	w8, w2, #0xff
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w8, #54
	b	LBB0_7
LBB0_3:
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_14
LBB0_4:
	mov	w8, #53
	b	LBB0_7
LBB0_5:
	mov	w8, #52
	b	LBB0_7
LBB0_6:
	mov	w8, #51
LBB0_7:
	strb	w8, [sp, #15]
Lloh4:
	adrp	x23, _DFCS_PUSHED@GOTPAGE
Lloh5:
	ldr	x23, [x23, _DFCS_PUSHED@GOTPAGEOFF]
Lloh6:
	adrp	x8, _EDGE_SUNKEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EDGE_SUNKEN@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh8:
	adrp	x10, _EDGE_RAISED@GOTPAGE
Lloh9:
	ldr	x10, [x10, _EDGE_RAISED@GOTPAGEOFF]
	tst	w9, w21
	csel	x8, x10, x8, eq
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _DFCS_FLAT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DFCS_FLAT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	and	w8, w8, w21
Lloh13:
	adrp	x9, _BF_MIDDLE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _BF_MIDDLE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh16:
	adrp	x9, _BF_RECT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BF_RECT@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, x19
	mov	x1, x22
	mov	x4, x20
	bl	_MyIntDrawRectEdge
	add	x0, sp, #48
	mov	w1, #32
	bl	_ZeroMemory
	add	x1, sp, #16
	mov	x0, x22
	bl	_MyMakeSquareRect
	ldur	q0, [sp, #24]
	mov	w8, #1
	dup.2d	v1, x8
	add.2d	v0, v0, v1
	stur	q0, [sp, #24]
	ldr	w8, [sp, #16]
	sub	w8, w8, #1
	str	w8, [sp, #16]
	ldr	x8, [sp, #40]
	sub	x8, x8, #1
	str	x8, [sp, #40]
	ldr	w9, [x23]
	tst	w9, w21
	b.eq	LBB0_9
; %bb.8:
	add	x0, sp, #16
	mov	w1, #1
	mov	w2, #1
	bl	_OffsetRect
	ldr	x8, [sp, #40]
	ldr	x9, [sp, #24]
	b	LBB0_10
LBB0_9:
	fmov	x9, d0
LBB0_10:
	sub	x8, x8, x9
	stp	xzr, x8, [sp, #64]
Lloh19:
	adrp	x8, _FW_NORMAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FW_NORMAL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _DEFAULT_CHARSET@GOTPAGE
Lloh23:
	ldr	x9, [x9, _DEFAULT_CHARSET@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #52]
	ldr	w22, [sp, #48]
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TEXT
	mov	x1, x0
	mov	x0, x22
	bl	_lstrcpy
	add	x0, sp, #48
	bl	_CreateFontIndirect
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_SelectObject
	mov	x23, x0
	mov	x0, x19
	bl	_GetTextColor
	mov	x25, x0
	mov	x0, x19
	bl	_GetBkMode
	mov	x24, x0
Lloh27:
	adrp	x8, _TRANSPARENT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TRANSPARENT@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SetBkMode
Lloh30:
	adrp	x26, _DFCS_INACTIVE@GOTPAGE
Lloh31:
	ldr	x26, [x26, _DFCS_INACTIVE@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w21
	b.eq	LBB0_12
; %bb.11:
	ldr	x8, [x20]
Lloh32:
	adrp	x9, _COLOR_BTNHIGHLIGHT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _COLOR_BTNHIGHLIGHT@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_SetTextColor
	ldp	x9, x8, [sp, #24]
	add	x1, x8, #1
	add	x2, x9, #1
	add	x3, sp, #15
	mov	x0, x19
	mov	w4, #1
	bl	_TextOut
	ldr	w8, [x26]
	tst	w8, w21
	cset	w8, eq
	b	LBB0_13
LBB0_12:
	mov	w8, #1
LBB0_13:
Lloh35:
	adrp	x9, _COLOR_BTNSHADOW@GOTPAGE
Lloh36:
	ldr	x9, [x9, _COLOR_BTNSHADOW@GOTPAGEOFF]
Lloh37:
	adrp	x10, _COLOR_BTNTEXT@GOTPAGE
Lloh38:
	ldr	x10, [x10, _COLOR_BTNTEXT@GOTPAGEOFF]
	ldr	x11, [x20]
	cmp	w8, #0
	csel	x8, x10, x9, ne
	ldr	x8, [x8]
	ldr	w1, [x11, x8, lsl #2]
	mov	x0, x19
	bl	_SetTextColor
	ldp	x2, x1, [sp, #24]
	add	x3, sp, #15
	mov	x0, x19
	mov	w4, #1
	bl	_TextOut
	mov	x0, x19
	mov	x1, x25
	bl	_SetTextColor
	mov	x0, x19
	mov	x1, x23
	bl	_SelectObject
	mov	x0, x19
	mov	x1, x24
	bl	_SetBkMode
	mov	x0, x22
	bl	_DeleteObject
Lloh39:
	adrp	x8, _TRUE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_DFCS_PUSHED,4,2                ; @DFCS_PUSHED
	.comm	_EDGE_SUNKEN,4,2                ; @EDGE_SUNKEN
	.comm	_EDGE_RAISED,4,2                ; @EDGE_RAISED
	.comm	_DFCS_FLAT,4,2                  ; @DFCS_FLAT
	.comm	_BF_MIDDLE,4,2                  ; @BF_MIDDLE
	.comm	_BF_RECT,4,2                    ; @BF_RECT
	.comm	_FW_NORMAL,4,2                  ; @FW_NORMAL
	.comm	_DEFAULT_CHARSET,4,2            ; @DEFAULT_CHARSET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Marlett"

	.comm	_TRANSPARENT,4,2                ; @TRANSPARENT
	.comm	_DFCS_INACTIVE,4,2              ; @DFCS_INACTIVE
	.comm	_COLOR_BTNHIGHLIGHT,8,3         ; @COLOR_BTNHIGHLIGHT
	.comm	_COLOR_BTNSHADOW,8,3            ; @COLOR_BTNSHADOW
	.comm	_COLOR_BTNTEXT,8,3              ; @COLOR_BTNTEXT
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_MyDrawFrameScroll
.subsections_via_symbols
