	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_draw_screen                    ## -- Begin function draw_screen
	.p2align	4, 0x90
_draw_screen:                           ## @draw_screen
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_cls
	movq	_FIRST_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TITLE_Y@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_gotoxy
	movq	_params@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rax), %rdi
	callq	_print
	movq	(%r13), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	movq	_FIRST_Y@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rbx
	incq	%r15
	movq	_FIRST_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	callq	_gotoxy
	movq	(%r13), %rax
	movq	8(%rax,%rbx,8), %rdi
	callq	_print
	movq	_VAL_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	callq	_gotoxy
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_current_value
	movq	_UNSIGNED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$10, %esi
	callq	_println
	movq	(%r13), %rax
	cmpq	$0, 16(%rax,%rbx,8)
	jne	LBB0_3
## %bb.4:
	decl	%r15d
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIRST_X,4,2                    ## @FIRST_X
	.comm	_TITLE_Y,8,3                    ## @TITLE_Y
	.comm	_params,8,3                     ## @params
	.comm	_FIRST_Y,8,3                    ## @FIRST_Y
	.comm	_VAL_X,4,2                      ## @VAL_X
	.comm	_UNSIGNED,4,2                   ## @UNSIGNED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_draw_screen                    ; -- Begin function draw_screen
	.p2align	2
_draw_screen:                           ; @draw_screen
	.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	x19, x0
	bl	_cls
Lloh0:
	adrp	x21, _FIRST_X@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FIRST_X@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _TITLE_Y@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TITLE_Y@GOTPAGEOFF]
Lloh4:
	ldr	x1, [x8]
	bl	_gotoxy
Lloh5:
	adrp	x22, _params@GOTPAGE
Lloh6:
	ldr	x22, [x22, _params@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x0, [x8]
	bl	_print
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x23, #0
Lloh7:
	adrp	x24, _FIRST_Y@GOTPAGE
Lloh8:
	ldr	x24, [x24, _FIRST_Y@GOTPAGEOFF]
Lloh9:
	adrp	x25, _VAL_X@GOTPAGE
Lloh10:
	ldr	x25, [x25, _VAL_X@GOTPAGEOFF]
Lloh11:
	adrp	x26, _UNSIGNED@GOTPAGE
Lloh12:
	ldr	x26, [x26, _UNSIGNED@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x23
	add	x23, x23, #1
	ldr	w0, [x21]
	ldr	x8, [x24]
	add	x1, x20, x8
	bl	_gotoxy
	ldr	x8, [x22]
	lsl	x27, x20, #3
	add	x8, x8, x27
	ldr	x0, [x8, #8]
	bl	_print
	ldr	w0, [x25]
	ldr	x8, [x24]
	add	x1, x20, x8
	bl	_gotoxy
	mov	x0, x19
	mov	x1, x20
	bl	_current_value
	ldr	w2, [x26]
	mov	w1, #10
	bl	_println
	ldr	x8, [x22]
	add	x8, x8, x27
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_2
; %bb.3:
	sub	w0, w23, #1
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	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
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FIRST_X,4,2                    ; @FIRST_X
	.comm	_TITLE_Y,8,3                    ; @TITLE_Y
	.comm	_params,8,3                     ; @params
	.comm	_FIRST_Y,8,3                    ; @FIRST_Y
	.comm	_VAL_X,4,2                      ; @VAL_X
	.comm	_UNSIGNED,4,2                   ; @UNSIGNED
.subsections_via_symbols
