	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___layout_equal_hor             ## -- Begin function __layout_equal_hor
	.p2align	4, 0x90
___layout_equal_hor:                    ## @__layout_equal_hor
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	-44(%rbp), %rdi
	callq	_r_cons_get_size
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.1:
	movl	%eax, %r14d
	cltd
	idivl	%ecx
	movl	%eax, %r12d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	___get_panel
	movq	(%rax), %rdi
	movl	-44(%rbp), %r8d
	addl	$-2, %r8d
	movl	%r13d, %esi
	movl	$1, %edx
	movl	%r12d, %ecx
	callq	___set_geometry
	addl	%r12d, %r13d
	decl	%r13d
	movl	(%r15), %eax
	leal	-2(%rax), %ecx
	movl	%r14d, %edx
	subl	%r13d, %edx
	cmpl	%ecx, %ebx
	cmovnel	%r12d, %edx
	incl	%ebx
	movl	%edx, %r12d
	cmpl	%eax, %ebx
	jl	LBB0_2
LBB0_3:
	addq	$8, %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_equal_hor             ; -- Begin function __layout_equal_hor
	.p2align	2
___layout_equal_hor:                    ; @__layout_equal_hor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	add	x0, sp, #12
	bl	_r_cons_get_size
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x0
	mov	w23, #0
	mov	w21, #0
	sdiv	w22, w0, w8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	___get_panel
	ldr	x0, [x0]
	ldr	w8, [sp, #12]
	sub	w4, w8, #2
	mov	x1, x23
	mov	w2, #1
	mov	x3, x22
	bl	___set_geometry
	add	w8, w23, w22
	sub	w23, w8, #1
	ldr	w8, [x19]
	sub	w9, w8, #2
	sub	w10, w20, w23
	cmp	w21, w9
	csel	w22, w10, w22, eq
	add	w21, w21, #1
	cmp	w21, w8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
