	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___shrink_panels_backward       ## -- Begin function __shrink_panels_backward
	.p2align	4, 0x90
___shrink_panels_backward:              ## @__shrink_panels_backward
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	jle	LBB0_20
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rax), %rdi
	movl	%esi, %ecx
	cmpl	$8, %esi
	jae	LBB0_2
LBB0_18:
	incq	%rcx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	leal	-2(%rcx), %eax
	movl	(%rdi,%rax,4), %eax
	movl	%eax, -4(%rdi,%rcx,4)
	decq	%rcx
	cmpq	$1, %rcx
	ja	LBB0_19
LBB0_20:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	-1(%rcx), %r8
	decl	%esi
	movl	$4, %edx
	movq	%r8, %rax
	mulq	%rdx
	seto	%r9b
	cmpl	%r8d, %esi
	jb	LBB0_18
## %bb.3:
	shrq	$32, %r8
	jne	LBB0_18
## %bb.4:
	leaq	(%rdi,%rcx,4), %r8
	movq	%r8, %rbx
	subq	%rax, %rbx
	cmpq	%r8, %rbx
	ja	LBB0_18
## %bb.5:
	testb	%r9b, %r9b
	jne	LBB0_18
## %bb.6:
	leaq	(%rdi,%rsi,4), %rdx
	movq	%rdx, %rbx
	subq	%rax, %rbx
	cmpq	%rdx, %rbx
	ja	LBB0_18
## %bb.7:
	testb	%r9b, %r9b
	jne	LBB0_18
## %bb.8:
	leaq	(%rdi,%rsi,4), %rax
	subq	%r8, %rax
	cmpq	$32, %rax
	jb	LBB0_18
## %bb.9:
	movl	$4294967295, %r8d               ## imm = 0xFFFFFFFF
	movl	%ecx, %r9d
	andl	$-8, %r9d
	leaq	-8(%r9), %rax
	movq	%rax, %r10
	shrq	$3, %r10
	incq	%r10
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%r10, %rsi
	andq	$-2, %rsi
	leaq	(%rdi,%rcx,4), %rax
	addq	$-12, %rax
	leaq	(%rcx,%r8), %r11
	addq	$-8, %r11
	leaq	(%rcx,%r8), %r14
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%rdx), %ebx
	movups	-28(%rdi,%rbx,4), %xmm0
	movups	-12(%rdi,%rbx,4), %xmm1
	movups	%xmm1, (%rax,%rdx,4)
	movups	%xmm0, -16(%rax,%rdx,4)
	leal	(%r11,%rdx), %ebx
	movups	-28(%rdi,%rbx,4), %xmm0
	movups	-12(%rdi,%rbx,4), %xmm1
	movups	%xmm1, -32(%rax,%rdx,4)
	movups	%xmm0, -48(%rax,%rdx,4)
	addq	$-16, %rdx
	addq	$-2, %rsi
	jne	LBB0_12
## %bb.13:
	negq	%rdx
	testb	$1, %r10b
	je	LBB0_16
LBB0_15:
	movq	%rcx, %rax
	subq	%rdx, %rax
	addl	%eax, %r8d
	movups	-28(%rdi,%r8,4), %xmm0
	movups	-12(%rdi,%r8,4), %xmm1
	movups	%xmm1, -12(%rdi,%rax,4)
	movups	%xmm0, -28(%rdi,%rax,4)
LBB0_16:
	cmpq	%rcx, %r9
	je	LBB0_20
## %bb.17:
	andl	$7, %ecx
	jmp	LBB0_18
LBB0_10:
	xorl	%edx, %edx
	testb	$1, %r10b
	jne	LBB0_15
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___shrink_panels_backward       ; -- Begin function __shrink_panels_backward
	.p2align	2
___shrink_panels_backward:              ; @__shrink_panels_backward
	.cfi_startproc
; %bb.0:
	subs	w10, w1, #1
	b.lt	LBB0_21
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	w9, w1
	cmp	w1, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x10, x9
	b	LBB0_20
LBB0_3:
	sub	x12, x9, #1
	cmp	xzr, x12, lsr #62
	cset	w11, ne
	cmp	w10, w12
	b.lo	LBB0_16
; %bb.4:
	lsr	x13, x12, #32
	cbnz	x13, LBB0_17
; %bb.5:
	add	x13, x8, x9, lsl #2
	lsl	x12, x12, #2
	sub	x14, x13, x12
	cmp	x14, x13
	b.hi	LBB0_18
; %bb.6:
	tbnz	w11, #0, LBB0_19
; %bb.7:
	add	x10, x8, w10, uxtw #2
	sub	x12, x10, x12
	cmp	x12, x10
	b.hi	LBB0_14
; %bb.8:
	tbnz	w11, #0, LBB0_15
; %bb.9:
	add	x13, x8, x9, lsl #2
	sub	x10, x10, x13
	cmp	x10, #64
	b.hs	LBB0_11
; %bb.10:
	mov	x10, x9
	b	LBB0_20
LBB0_11:
	and	x11, x9, #0xfffffff0
	and	x10, x9, #0xf
	mov	w12, #-1
	add	x12, x9, x12
	sub	x13, x13, #28
	mov	x14, x11
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x15, x8, w12, uxtw #2
	ldur	q0, [x15, #-12]
	ldur	q1, [x15, #-28]
	ldur	q2, [x15, #-44]
	ldur	q3, [x15, #-60]
	stp	q1, q0, [x13]
	stp	q3, q2, [x13, #-32]
	sub	x12, x12, #16
	sub	x13, x13, #64
	sub	x14, x14, #16
	cbnz	x14, LBB0_12
; %bb.13:
	cmp	x11, x9
	b.ne	LBB0_20
	b	LBB0_21
LBB0_14:
	mov	x10, x9
	b	LBB0_20
LBB0_15:
	mov	x10, x9
	b	LBB0_20
LBB0_16:
	mov	x10, x9
	b	LBB0_20
LBB0_17:
	mov	x10, x9
	b	LBB0_20
LBB0_18:
	mov	x10, x9
	b	LBB0_20
LBB0_19:
	mov	x10, x9
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	subs	x9, x10, #1
	ldr	w11, [x8, w9, uxtw #2]
	str	w11, [x8, x10, lsl #2]
	mov	x10, x9
	b.hi	LBB0_20
LBB0_21:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
