	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function transpose_block_8_c
_transpose_block_8_c:                   ## @transpose_block_8_c
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	testl	%r9d, %r9d
	jle	LBB0_20
## %bb.1:
	movslq	%ecx, %rcx
	movslq	%esi, %rdx
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	shlq	$2, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	%r15d, %ecx
	andl	$-8, %ecx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	addq	$-8, %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	shrq	$3, %rcx
	incq	%rcx
	cmpl	$8, %eax
	setb	%al
	cmpl	$1, %edx
	setne	%bl
	orb	%al, %bl
	movb	%bl, -41(%rbp)                  ## 1-byte Spill
	movl	%ecx, %eax
	andl	$3, %eax
	andq	$-4, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movl	%r15d, %ecx
	andl	$3, %ecx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movq	%rdx, %rcx
	shlq	$7, %rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, %r10
	shlq	$5, %r10
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	shlq	$5, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r11
	shlq	$4, %r11
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	leaq	(,%rdx,4), %r8
	xorl	%r12d, %r12d
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r9d, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	addq	$4, -56(%rbp)                   ## 8-byte Folded Spill
	addq	-104(%rbp), %rdx                ## 8-byte Folded Reload
	cmpl	%r9d, %r12d
	je	LBB0_20
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,4), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	imulq	%r12, %rcx
	addq	-96(%rbp), %rcx                 ## 8-byte Folded Reload
	subq	%rax, %rcx
	cmpq	$32, %rcx
	setb	%al
	orb	-41(%rbp), %al                  ## 1-byte Folded Reload
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$24, -136(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	-112(%rbp), %r9                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rdi), %xmm0
	movups	16(%rdi), %xmm1
	movups	%xmm0, (%rdx,%rcx,4)
	movups	%xmm1, 16(%rdx,%rcx,4)
	leaq	(%rdi,%r10), %rbx
	movups	(%rdi,%r10), %xmm0
	movups	16(%rdi,%r10), %xmm1
	movups	%xmm0, 32(%rdx,%rcx,4)
	movups	%xmm1, 48(%rdx,%rcx,4)
	leaq	(%rbx,%r10), %rsi
	movups	(%r10,%rbx), %xmm0
	movups	16(%r10,%rbx), %xmm1
	movups	%xmm0, 64(%rdx,%rcx,4)
	movups	%xmm1, 80(%rdx,%rcx,4)
	movups	(%r10,%rsi), %xmm0
	movups	16(%r10,%rsi), %xmm1
	movups	%xmm0, 96(%rdx,%rcx,4)
	movups	%xmm1, 112(%rdx,%rcx,4)
	addq	$32, %rcx
	addq	%r9, %rdi
	addq	$-4, %rax
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -128(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rdx,%rcx,4), %rax
	imulq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rcx,4), %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rcx), %xmm0
	movups	16(%rcx), %xmm1
	movups	%xmm0, (%rax,%rdi)
	movups	%xmm1, 16(%rax,%rdi)
	addq	$32, %rdi
	addq	%r10, %rcx
	cmpq	%rdi, %r14
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %r13
	cmpq	%r15, %rax
	movl	-64(%rbp), %r9d                 ## 4-byte Reload
	je	LBB0_19
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rax
	notq	%rax
	addq	%r15, %rax
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	imulq	%r13, %rcx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rcx,4), %rcx
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rcx), %esi
	movl	%esi, (%rdx,%r13,4)
	incq	%r13
	addq	%r8, %rcx
	decq	%rdi
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$3, %rax
	jb	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%r13), %rax
	imulq	%r8, %rax
	leaq	3(%r13), %rcx
	imulq	%r8, %rcx
	leaq	2(%r13), %rdi
	imulq	%r8, %rdi
	movq	%r8, %r14
	imulq	%r13, %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%r14), %esi
	movl	%esi, (%rdx,%r13,4)
	movl	(%rbx,%rax), %esi
	movl	%esi, 4(%rdx,%r13,4)
	movl	(%rbx,%rdi), %esi
	movl	%esi, 8(%rdx,%r13,4)
	movl	(%rbx,%rcx), %esi
	movl	%esi, 12(%rdx,%r13,4)
	addq	$4, %r13
	addq	%r11, %rbx
	cmpq	%r13, %r15
	jne	LBB0_18
	jmp	LBB0_19
LBB0_20:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_transpose_block_8_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function transpose_block_8_c
_transpose_block_8_c:                   ; @transpose_block_8_c
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w3 killed $w3 def $x3
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w5, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x8, #0
	mov	w9, w4
	sbfiz	x10, x3, #2, #32
	cmp	w4, #16
	ccmp	w1, #1, #0, hs
	cset	w11, ne
	and	x12, x9, #0xfffffff0
	lsl	x13, x9, #2
	and	x13, x13, #0x3ffffffc0
	add	x14, x0, #32
	sbfiz	x15, x1, #6, #32
	sbfiz	x16, x1, #2, #32
	mov	x17, x2
	mov	x1, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	add	x1, x1, #4
	add	x17, x17, x10
	add	x14, x14, #4
	cmp	w8, w5
	b.eq	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	cmp	w4, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x3, x0, x8, lsl #2
	madd	x6, x10, x8, x2
	sub	x3, x6, x3
	cmp	x3, #64
	cset	w3, lo
	orr	w3, w11, w3
	tbz	w3, #0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x3, #0
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x3, #0
	mov	x6, x14
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x6, #-32]
	ldp	q2, q3, [x6]
	add	x7, x17, x3
	stp	q0, q1, [x7]
	stp	q2, q3, [x7, #32]
	add	x3, x3, #64
	add	x6, x6, x15
	cmp	x13, x3
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x3, x12
	cmp	x12, x9
	b.eq	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mul	x6, x16, x3
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w7, [x1, x6]
	str	w7, [x17, x3, lsl #2]
	add	x3, x3, #1
	add	x6, x6, x16
	cmp	x9, x3
	b.ne	LBB0_10
	b	LBB0_2
LBB0_11:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_transpose_block_8_c
.subsections_via_symbols
