	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___direction_default_cb         ## -- Begin function __direction_default_cb
	.p2align	4, 0x90
___direction_default_cb:                ## @__direction_default_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movl	(%rdi), %edi
	callq	___get_cur_panel
	movq	(%rax), %rax
	movl	$1, (%rax)
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_5:
	movl	4(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.6:
	decl	%ecx
	movl	%ecx, 4(%rax)
	jmp	LBB0_8
LBB0_4:
	incl	8(%rax)
	jmp	LBB0_8
LBB0_2:
	movl	8(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.3:
	decl	%ecx
	movl	%ecx, 8(%rax)
	jmp	LBB0_8
LBB0_7:
	incl	4(%rax)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___direction_default_cb         ; -- Begin function __direction_default_cb
	.p2align	2
___direction_default_cb:                ; @__direction_default_cb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	w0, [x0]
	bl	___get_cur_panel
	ldr	x8, [x0]
	mov	w9, #1
	str	w9, [x8]
	sub	w9, w19, #128
	cmp	w9, #3
	b.hi	LBB0_8
; %bb.1:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldr	w9, [x8, #4]
	subs	w9, w9, #1
	b.ge	LBB0_7
	b	LBB0_8
LBB0_3:
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	b	LBB0_8
LBB0_4:
	ldr	w9, [x8, #8]
	subs	w9, w9, #1
	b.lt	LBB0_8
; %bb.5:
	str	w9, [x8, #8]
	b	LBB0_8
LBB0_6:
	ldr	w9, [x8, #4]
	add	w9, w9, #1
LBB0_7:
	str	w9, [x8, #4]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
.subsections_via_symbols
