	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Menu_Paint                     ## -- Begin function Menu_Paint
	.p2align	4, 0x90
_Menu_Paint:                            ## @Menu_Paint
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r12
	testq	%rsi, %rsi
	jne	LBB0_3
## %bb.2:
	movq	_WINDOW_VISIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	8(%r12), %eax
	je	LBB0_13
LBB0_3:
	movq	40(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	movq	_DC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_13
LBB0_6:
	leaq	8(%r12), %r15
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movq	_WINDOW_FORCED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_8:
	cmpq	$0, 72(%r12)
	je	LBB0_10
## %bb.9:
	movq	_DC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SCREEN_WIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_SCREEN_HEIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	32(%r12), %r8
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	*8(%rax)
LBB0_10:
	movl	64(%r12), %esi
	movl	56(%r12), %ecx
	movl	60(%r12), %edx
	movq	%r15, %rdi
	callq	_Window_Paint
	cmpl	$0, (%r12)
	jle	LBB0_13
## %bb.11:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_Item_Paint
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_12
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINDOW_VISIBLE,4,2             ## @WINDOW_VISIBLE
	.comm	_DC,8,3                         ## @DC
	.comm	_WINDOW_FORCED,4,2              ## @WINDOW_FORCED
	.comm	_SCREEN_WIDTH,4,2               ## @SCREEN_WIDTH
	.comm	_SCREEN_HEIGHT,4,2              ## @SCREEN_HEIGHT
	.comm	_debugMode,8,3                  ## @debugMode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Menu_Paint                     ; -- Begin function Menu_Paint
	.p2align	2
_Menu_Paint:                            ; @Menu_Paint
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_13
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	mov	x20, x0
	ldr	w8, [x20, #8]!
	cbnz	x1, LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, _WINDOW_VISIBLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINDOW_VISIBLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	cbz	w8, LBB0_13
LBB0_3:
	ldr	x0, [x19, #40]
Lloh3:
	adrp	x22, _DC@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DC@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x22]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_6
; %bb.5:
	blr	x8
	cbz	w0, LBB0_13
LBB0_6:
	cbz	x21, LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _WINDOW_FORCED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WINDOW_FORCED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_8:
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x8, [x22]
Lloh8:
	adrp	x9, _SCREEN_WIDTH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SCREEN_WIDTH@GOTPAGEOFF]
	ldr	x8, [x8, #8]
Lloh10:
	ldr	w2, [x9]
Lloh11:
	adrp	x9, _SCREEN_HEIGHT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SCREEN_HEIGHT@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x9]
	ldr	x4, [x19, #32]
	mov	w0, #0
	mov	w1, #0
	blr	x8
LBB0_10:
	ldp	w2, w1, [x19, #60]
	ldr	w3, [x19, #56]
	mov	x0, x20
	bl	_Window_Paint
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x20, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	ldr	w0, [x8, x20, lsl #2]
	bl	_Item_Paint
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.lt	LBB0_12
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WINDOW_VISIBLE,4,2             ; @WINDOW_VISIBLE
	.comm	_DC,8,3                         ; @DC
	.comm	_WINDOW_FORCED,4,2              ; @WINDOW_FORCED
	.comm	_SCREEN_WIDTH,4,2               ; @SCREEN_WIDTH
	.comm	_SCREEN_HEIGHT,4,2              ; @SCREEN_HEIGHT
	.comm	_debugMode,8,3                  ; @debugMode
.subsections_via_symbols
