	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___handle_tab_key               ## -- Begin function __handle_tab_key
	.p2align	4, 0x90
___handle_tab_key:                      ## @__handle_tab_key
	.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
	movl	%esi, %r12d
	movq	%rdi, %r14
	xorl	%esi, %esi
	callq	___set_cursor
	movq	(%r14), %r15
	movq	%r15, %rdi
	callq	___get_cur_panel
	movq	%rax, %rbx
	xorl	%edi, %edi
	callq	_r_cons_switchbuf
	movq	(%rbx), %rax
	movl	$1, (%rax)
	movq	(%r15), %rax
	movq	_PANEL_MODE_MENU@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testl	%r12d, %r12d
	je	LBB0_1
## %bb.5:
	cmpq	%rcx, %rax
	jne	LBB0_7
## %bb.6:
	movq	24(%r15), %rsi
	decq	%rsi
	movq	%r14, %rdi
	jmp	LBB0_3
LBB0_1:
	cmpq	%rcx, %rax
	jne	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	xorl	%esi, %esi
LBB0_3:
	callq	___set_curnode
	movq	_PANEL_MODE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	___set_mode
	jmp	LBB0_9
LBB0_7:
	movq	16(%r15), %rsi
	decq	%rsi
	jmp	LBB0_8
LBB0_4:
	movq	16(%r15), %rsi
	incq	%rsi
LBB0_8:
	movq	%rsi, 16(%r15)
	movq	%r14, %rdi
	callq	___set_curnode
LBB0_9:
	movq	%r15, %rdi
	callq	___get_cur_panel
	movq	%rax, %rbx
	movq	_PANEL_CMD_DISASSEMBLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	___check_panel_type
	testq	%rax, %rax
	je	LBB0_10
## %bb.13:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___set_refresh_all              ## TAILCALL
LBB0_10:
	movq	(%rbx), %rax
	movl	$1, (%rax)
	movq	8(%r15), %rax
	movq	_PANEL_FUN_SNOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.11:
	movq	_PANEL_FUN_SAKURA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___reset_snow                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PANEL_MODE_MENU,8,3            ## @PANEL_MODE_MENU
	.comm	_PANEL_MODE_DEFAULT,4,2         ## @PANEL_MODE_DEFAULT
	.comm	_PANEL_MODE_ZOOM,8,3            ## @PANEL_MODE_ZOOM
	.comm	_PANEL_CMD_DISASSEMBLY,4,2      ## @PANEL_CMD_DISASSEMBLY
	.comm	_PANEL_FUN_SNOW,8,3             ## @PANEL_FUN_SNOW
	.comm	_PANEL_FUN_SAKURA,8,3           ## @PANEL_FUN_SAKURA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___handle_tab_key               ; -- Begin function __handle_tab_key
	.p2align	2
___handle_tab_key:                      ; @__handle_tab_key
	.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
	mov	x21, x1
	mov	x20, x0
	mov	w1, #0
	bl	___set_cursor
	ldr	x19, [x20]
	mov	x0, x19
	bl	___get_cur_panel
	mov	x22, x0
	mov	w0, #0
	bl	_r_cons_switchbuf
	ldr	x8, [x22]
	mov	w9, #1
	str	w9, [x8]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _PANEL_MODE_MENU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PANEL_MODE_MENU@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cbz	w21, LBB0_3
; %bb.1:
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [x19, #24]
	sub	x1, x8, #1
	mov	x0, x20
	b	LBB0_5
LBB0_3:
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x20
	mov	x1, #0
LBB0_5:
	bl	___set_curnode
Lloh3:
	adrp	x8, _PANEL_MODE_DEFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PANEL_MODE_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	___set_mode
	b	LBB0_9
LBB0_6:
	ldr	x8, [x19, #16]
	sub	x1, x8, #1
	b	LBB0_8
LBB0_7:
	ldr	x8, [x19, #16]
	add	x1, x8, #1
LBB0_8:
	str	x1, [x19, #16]
	mov	x0, x20
	bl	___set_curnode
LBB0_9:
	mov	x0, x19
	bl	___get_cur_panel
	mov	x21, x0
Lloh6:
	adrp	x8, _PANEL_CMD_DISASSEMBLY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PANEL_CMD_DISASSEMBLY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	___check_panel_type
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	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	___set_refresh_all
LBB0_11:
	ldr	x8, [x21]
	mov	w9, #1
	str	w9, [x8]
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _PANEL_FUN_SNOW@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PANEL_FUN_SNOW@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _PANEL_FUN_SAKURA@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PANEL_FUN_SAKURA@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	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	___reset_snow
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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PANEL_MODE_MENU,8,3            ; @PANEL_MODE_MENU
	.comm	_PANEL_MODE_DEFAULT,4,2         ; @PANEL_MODE_DEFAULT
	.comm	_PANEL_MODE_ZOOM,8,3            ; @PANEL_MODE_ZOOM
	.comm	_PANEL_CMD_DISASSEMBLY,4,2      ; @PANEL_CMD_DISASSEMBLY
	.comm	_PANEL_FUN_SNOW,8,3             ; @PANEL_FUN_SNOW
	.comm	_PANEL_FUN_SAKURA,8,3           ; @PANEL_FUN_SAKURA
.subsections_via_symbols
