	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___layout_default               ## -- Begin function __layout_default
	.p2align	4, 0x90
___layout_default:                      ## @__layout_default
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	leaq	-44(%rbp), %rdi
	callq	_r_cons_get_size
	movl	%eax, %r14d
	movl	-44(%rbp), %eax
	decl	%eax
	movl	(%r12), %ecx
	movl	4(%r12), %ebx
	decl	%ecx
	cltd
	idivl	%ecx
	movl	%eax, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	___get_panel
	cmpl	$1, (%r12)
	movq	(%rax), %rdi
	jg	LBB0_2
## %bb.1:
	movl	-44(%rbp), %r8d
	decl	%r8d
	xorl	%esi, %esi
	movl	$1, %edx
	movl	%r14d, %ecx
	callq	___set_geometry
	jmp	LBB0_8
LBB0_2:
	movq	%rax, %r13
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	subl	%ebx, %r14d
	incl	%r14d
	movl	-44(%rbp), %r8d
	decl	%r8d
	movl	$1, %ebx
	xorl	%esi, %esi
	movl	$1, %edx
	movl	%r14d, %ecx
	callq	___set_geometry
	cmpl	$2, (%r12)
	jl	LBB0_8
## %bb.3:
	movq	(%r13), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %eax
	addl	%ecx, %eax
	decl	%eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$1, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r8d
	movq	(%r13), %rdi
	subl	8(%rdi), %r8d
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%r8d
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	___set_geometry
	addl	%r15d, %ebx
	cmpl	(%r12), %r14d
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	___get_panel
	movq	%rax, %r13
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_R_MAX
	incl	%r14d
	cmpl	(%r12), %r14d
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rdi
	movl	%r15d, %r8d
	jmp	LBB0_7
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___layout_default               ; -- Begin function __layout_default
	.p2align	2
___layout_default:                      ; @__layout_default
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	add	x0, sp, #12
	bl	_r_cons_get_size
	mov	x22, x0
	ldr	w23, [sp, #12]
	ldp	w24, w20, [x19]
	mov	x0, x19
	mov	w1, #0
	bl	___get_panel
	mov	x21, x0
	ldr	w8, [x19]
	ldr	x0, [x0]
	cmp	w8, #1
	b.gt	LBB0_2
; %bb.1:
	ldr	w8, [sp, #12]
	sub	w4, w8, #1
	mov	w1, #0
	mov	w2, #1
	mov	x3, x22
	bl	___set_geometry
	b	LBB0_8
LBB0_2:
	sub	w8, w22, w20
	add	w3, w8, #1
	ldr	w8, [sp, #12]
	sub	w4, w8, #1
	mov	w1, #0
	mov	w2, #1
	bl	___set_geometry
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_8
; %bb.3:
	sub	w8, w23, #1
	sub	w9, w24, #1
	ldr	x10, [x21]
	sdiv	w25, w8, w9
	ldp	w8, w9, [x10]
	add	w8, w8, w9
	sub	w21, w8, #1
	mov	w22, #1
	mov	w23, #1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #12]
	ldr	x0, [x24]
	ldr	w9, [x0, #8]
	sub	w8, w8, w9
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w4, w8, #1
	mov	x1, x21
	mov	x2, x22
	bl	___set_geometry
	ldr	w8, [x19]
	add	w22, w22, w25
	cmp	w23, w8
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	___get_panel
	mov	x24, x0
	mov	x0, x20
	mov	w1, #0
	bl	_R_MAX
	mov	x3, x0
	add	w23, w23, #1
	ldr	w8, [x19]
	cmp	w23, w8
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x24]
	mov	x8, x25
	b	LBB0_5
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
