	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_button_press
_handle_button_press:                   ## @handle_button_press
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_current_step@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_STEP_GENERATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movl	$5, %edi
	callq	_col_x
	cmpq	%rax, %rbx
	jl	LBB0_8
## %bb.2:
	movq	(%r14), %rbx
	movl	$10, %edi
	callq	_col_x
	cmpq	%rax, %rbx
	jg	LBB0_8
## %bb.3:
	movq	8(%r14), %rbx
	movl	$4, %edi
	callq	_row_y
	cmpq	%rax, %rbx
	jl	LBB0_6
## %bb.4:
	movq	8(%r14), %rbx
	movl	$4, %edi
	callq	_row_y
	movq	_font@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	cmpq	%rax, %rbx
	jg	LBB0_6
## %bb.5:
	movq	_MOD_Mod4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_modifier@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_handle_expose
LBB0_6:
	movq	8(%r14), %rbx
	movl	$5, %edi
	callq	_row_y
	cmpq	%rax, %rbx
	jl	LBB0_8
## %bb.7:
	movq	8(%r14), %rbx
	movl	$5, %edi
	callq	_row_y
	movq	_font@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	cmpq	%rax, %rbx
	jle	LBB0_9
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	_MOD_Mod1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_modifier@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_handle_expose                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current_step,8,3               ## @current_step
	.comm	_STEP_GENERATE,8,3              ## @STEP_GENERATE
	.comm	_font,8,3                       ## @font
	.comm	_MOD_Mod4,4,2                   ## @MOD_Mod4
	.comm	_modifier,4,2                   ## @modifier
	.comm	_MOD_Mod1,4,2                   ## @MOD_Mod1
	.no_dead_strip	_handle_button_press
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_button_press
_handle_button_press:                   ; @handle_button_press
	.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
Lloh0:
	adrp	x8, _current_step@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_step@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _STEP_GENERATE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STEP_GENERATE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0]
	mov	w0, #5
	bl	_col_x
	cmp	x20, x0
	b.lt	LBB0_8
; %bb.2:
	ldr	x20, [x19]
	mov	w0, #10
	bl	_col_x
	cmp	x20, x0
	b.gt	LBB0_8
; %bb.3:
	ldr	x21, [x19, #8]
	mov	w0, #4
	bl	_row_y
Lloh6:
	adrp	x20, _font@GOTPAGE
Lloh7:
	ldr	x20, [x20, _font@GOTPAGEOFF]
	cmp	x21, x0
	b.lt	LBB0_6
; %bb.4:
	ldr	x21, [x19, #8]
	mov	w0, #4
	bl	_row_y
	ldr	x8, [x20]
	add	x8, x8, x0
	cmp	x21, x8
	b.gt	LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _MOD_Mod4@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MOD_Mod4@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _modifier@GOTPAGE
Lloh12:
	ldr	x9, [x9, _modifier@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
	bl	_handle_expose
LBB0_6:
	ldr	x21, [x19, #8]
	mov	w0, #5
	bl	_row_y
	cmp	x21, x0
	b.lt	LBB0_8
; %bb.7:
	ldr	x19, [x19, #8]
	mov	w0, #5
	bl	_row_y
	ldr	x8, [x20]
	add	x8, x8, x0
	cmp	x19, x8
	b.le	LBB0_9
LBB0_8:
	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
LBB0_9:
Lloh14:
	adrp	x8, _MOD_Mod1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MOD_Mod1@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _modifier@GOTPAGE
Lloh18:
	ldr	x9, [x9, _modifier@GOTPAGEOFF]
Lloh19:
	str	w8, [x9]
	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
	b	_handle_expose
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_current_step,8,3               ; @current_step
	.comm	_STEP_GENERATE,8,3              ; @STEP_GENERATE
	.comm	_font,8,3                       ; @font
	.comm	_MOD_Mod4,4,2                   ; @MOD_Mod4
	.comm	_modifier,4,2                   ; @modifier
	.comm	_MOD_Mod1,4,2                   ; @MOD_Mod1
	.no_dead_strip	_handle_button_press
.subsections_via_symbols
