	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___toggle_zoom_mode             ## -- Begin function __toggle_zoom_mode
	.p2align	4, 0x90
___toggle_zoom_mode:                    ## @__toggle_zoom_mode
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	___get_cur_panel
	movq	%rax, %r15
	movq	(%rbx), %rax
	movq	_PANEL_MODE_ZOOM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, %rax
	jne	LBB0_4
## %bb.1:
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	___set_mode
	movq	_PANEL_MODE_DEFAULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	%r15, %rdi
	callq	___restore_panel_pos
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	___set_refresh_all
	movq	16(%rbx), %rax
	movq	_PANEL_FUN_SNOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.2:
	movq	_PANEL_FUN_SAKURA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	callq	___set_mode
	movq	%r15, %rdi
	callq	___save_panel_pos
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___maximize_panel_size          ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___reset_snow                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PANEL_MODE_ZOOM,8,3            ## @PANEL_MODE_ZOOM
	.comm	_PANEL_MODE_DEFAULT,8,3         ## @PANEL_MODE_DEFAULT
	.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	___toggle_zoom_mode             ; -- Begin function __toggle_zoom_mode
	.p2align	2
___toggle_zoom_mode:                    ; @__toggle_zoom_mode
	.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	x20, x0
	ldr	x19, [x0]
	mov	x0, x19
	bl	___get_cur_panel
	mov	x21, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _PANEL_MODE_ZOOM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PANEL_MODE_ZOOM@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x9]
	cmp	x8, x1
	b.ne	LBB0_3
; %bb.1:
	ldr	x1, [x19, #8]
	mov	x0, x20
	bl	___set_mode
Lloh3:
	adrp	x8, _PANEL_MODE_DEFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PANEL_MODE_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	mov	x0, x21
	bl	___restore_panel_pos
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	___set_refresh_all
	ldr	x8, [x19, #16]
Lloh6:
	adrp	x9, _PANEL_FUN_SNOW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PANEL_FUN_SNOW@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _PANEL_FUN_SAKURA@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PANEL_FUN_SAKURA@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.2:
	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_3:
	str	x8, [x19, #8]
	mov	x0, x20
	bl	___set_mode
	mov	x0, x21
	bl	___save_panel_pos
	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	___maximize_panel_size
LBB0_4:
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PANEL_MODE_ZOOM,8,3            ; @PANEL_MODE_ZOOM
	.comm	_PANEL_MODE_DEFAULT,8,3         ; @PANEL_MODE_DEFAULT
	.comm	_PANEL_FUN_SNOW,8,3             ; @PANEL_FUN_SNOW
	.comm	_PANEL_FUN_SAKURA,8,3           ; @PANEL_FUN_SAKURA
.subsections_via_symbols
