	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rotate_panel_cmds            ## -- Begin function __rotate_panel_cmds
	.p2align	4, 0x90
___rotate_panel_cmds:                   ## @__rotate_panel_cmds
	.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
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%edx, %edx
	je	LBB0_10
## %bb.1:
	movl	%r8d, %r14d
	movq	%rcx, %r15
	movl	%edx, %ebx
	movq	%rsi, -184(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movl	(%rdi), %edi
	callq	___get_cur_panel
	movq	%rax, %r13
	movq	%r12, -192(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	___reset_filter
	movq	8(%r13), %rcx
	movl	(%rcx), %eax
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.2:
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	decl	%eax
	jmp	LBB0_6
LBB0_5:
	incl	%eax
	jmp	LBB0_6
LBB0_3:
	leal	-1(%rbx), %eax
LBB0_6:
	movq	-184(%rbp), %rsi                ## 8-byte Reload
	movl	%eax, (%rcx)
	cltd
	idivl	%ebx
	movslq	%edx, %rax
	movq	(%rsi,%rax,8), %r8
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	movq	%r15, %rcx
	callq	_snprintf
	movq	8(%r13), %rax
	movl	4(%rax), %edi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rsi
	callq	_r_str_between
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rdx
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movq	%r15, %rcx
	movq	%rax, %r8
	callq	_snprintf
	movq	8(%r13), %rax
	movl	4(%rax), %edi
	leaq	-112(%rbp), %rdx
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	_r_str_replace
	jmp	LBB0_9
LBB0_8:
	movq	8(%r13), %rax
	movl	4(%rax), %edi
	leaq	-112(%rbp), %rsi
	callq	_r_str_dup
LBB0_9:
	movq	8(%r13), %rcx
	movl	%eax, 4(%rcx)
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	___set_cmd_str_cache
	movq	(%r13), %rax
	movl	$1, (%rax)
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s"

L_.str.1:                               ## @.str.1
	.asciz	" "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rotate_panel_cmds            ; -- Begin function __rotate_panel_cmds
	.p2align	2
___rotate_panel_cmds:                   ; @__rotate_panel_cmds
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	cbz	w2, LBB0_5
; %bb.1:
	mov	x24, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0]
	bl	___get_cur_panel
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	___reset_filter
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	sub	w10, w9, #1
	sub	w11, w23, #1
	cmp	w9, #0
	csel	w10, w10, w11, ne
	cmp	w24, #0
	csinc	w9, w10, w9, ne
	str	w9, [x8]
	sdiv	w8, w9, w23
	msub	w8, w8, w23, w9
	ldr	x4, [x22, w8, sxtw #3]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #72
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_r_str_between
	cbz	x0, LBB0_3
; %bb.2:
	mov	x4, x0
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	add	x1, sp, #8
	add	x2, sp, #72
	mov	w3, #1
	bl	_r_str_replace
	b	LBB0_4
LBB0_3:
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	add	x1, sp, #72
	bl	_r_str_dup
LBB0_4:
	ldr	x8, [x20, #8]
	str	w0, [x8, #4]
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	___set_cmd_str_cache
	ldr	x8, [x20]
	mov	w9, #1
	str	w9, [x8]
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s"

l_.str.1:                               ; @.str.1
	.asciz	" "

.subsections_via_symbols
