	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_panels
_cmd_panels:                            ## @cmd_panels
	.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
	xorl	%r14d, %r14d
	cmpq	$0, 16(%rdi)
	jne	LBB0_18
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movb	(%rsi), %al
	cmpb	$62, %al
	jg	LBB0_5
## %bb.2:
	cmpb	$32, %al
	je	LBB0_8
## %bb.3:
	cmpb	$61, %al
	jne	LBB0_16
## %bb.4:
	incq	%r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_r_save_panels_layout
	movl	4(%rbx), %edi
	jmp	LBB0_11
LBB0_5:
	cmpb	$105, %al
	je	LBB0_12
## %bb.6:
	cmpb	$63, %al
	jne	LBB0_16
## %bb.7:
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_eprintf
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_eprintf
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_eprintf
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_eprintf
	jmp	LBB0_18
LBB0_8:
	cmpq	$0, 8(%rbx)
	je	LBB0_10
## %bb.9:
	leaq	1(%r15), %rsi
	movq	%rbx, %rdi
	callq	_r_load_panels_layout
LBB0_10:
	movl	4(%rbx), %edi
	incq	%r15
LBB0_11:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdx
	callq	_r_config_set
	jmp	LBB0_17
LBB0_12:
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:
	movq	%rax, %r15
	incq	%r15
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_r_core_editor
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%rax, %rdi
	callq	_free
	jmp	LBB0_18
LBB0_16:
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_r_core_visual_panels_root
LBB0_17:
	movl	$1, %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	leaq	L_.str.5(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_eprintf
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: v[*i]\n"

L_.str.1:                               ## @.str.1
	.asciz	"v.test    # save current layout with name test\n"

L_.str.2:                               ## @.str.2
	.asciz	"v test    # load saved layout with name test\n"

L_.str.3:                               ## @.str.3
	.asciz	"vi ...    # launch 'cfg.editor'\n"

L_.str.4:                               ## @.str.4
	.asciz	"scr.layout"

L_.str.5:                               ## @.str.5
	.asciz	"Cannot open file (%s)\n"

	.no_dead_strip	_cmd_panels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_panels
_cmd_panels:                            ; @cmd_panels
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_17
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	ldrb	w8, [x1]
	cmp	w8, #62
	b.gt	LBB0_6
; %bb.3:
	cmp	w8, #32
	b.eq	LBB0_9
; %bb.4:
	cmp	w8, #61
	b.ne	LBB0_15
; %bb.5:
	add	x20, x20, #1
	mov	x0, x19
	mov	x1, x20
	bl	_r_save_panels_layout
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x1, l_.str.4@PAGE
Lloh1:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x20
	bl	_r_config_set
	b	LBB0_16
LBB0_6:
	cmp	w8, #105
	b.eq	LBB0_12
; %bb.7:
	cmp	w8, #63
	b.ne	LBB0_15
; %bb.8:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_eprintf
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_eprintf
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_9:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.10:
	add	x1, x20, #1
	mov	x0, x19
	bl	_r_load_panels_layout
LBB0_11:
	ldr	w0, [x19, #4]
	add	x2, x20, #1
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_r_config_set
	b	LBB0_16
LBB0_12:
	mov	x0, x20
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_17
; %bb.13:
	add	x20, x0, #1
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_r_core_editor
	cbz	x0, LBB0_18
; %bb.14:
	bl	_free
	b	LBB0_1
LBB0_15:
	ldr	w1, [x19]
	mov	x0, x19
	bl	_r_core_visual_panels_root
LBB0_16:
	mov	w0, #1
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_18:
	str	x20, [sp]
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_19:
	bl	_eprintf
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: v[*i]\n"

l_.str.1:                               ; @.str.1
	.asciz	"v.test    # save current layout with name test\n"

l_.str.2:                               ; @.str.2
	.asciz	"v test    # load saved layout with name test\n"

l_.str.3:                               ; @.str.3
	.asciz	"vi ...    # launch 'cfg.editor'\n"

l_.str.4:                               ; @.str.4
	.asciz	"scr.layout"

l_.str.5:                               ; @.str.5
	.asciz	"Cannot open file (%s)\n"

	.no_dead_strip	_cmd_panels
.subsections_via_symbols
