	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function next_layout
_next_layout:                           ## @next_layout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_tui_current_layout
	movq	_UNDEFINED_LAYOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	je	LBB0_2
## %bb.1:
	incl	%eax
	cmpl	%ecx, %eax
	jne	LBB0_3
LBB0_2:
	movq	_SRC_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNDEFINED_LAYOUT,4,2           ## @UNDEFINED_LAYOUT
	.comm	_SRC_COMMAND,4,2                ## @SRC_COMMAND
	.no_dead_strip	_next_layout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function next_layout
_next_layout:                           ; @next_layout
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_tui_current_layout
Lloh0:
	adrp	x8, _UNDEFINED_LAYOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNDEFINED_LAYOUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SRC_COMMAND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SRC_COMMAND@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	add	w9, w0, #1
Lloh6:
	adrp	x10, _SRC_COMMAND@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SRC_COMMAND@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w9, w8
	csinc	w0, w10, w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_UNDEFINED_LAYOUT,4,2           ; @UNDEFINED_LAYOUT
	.comm	_SRC_COMMAND,4,2                ; @SRC_COMMAND
	.no_dead_strip	_next_layout
.subsections_via_symbols
