	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gbraptopacked32
_gbraptopacked32:                       ## @gbraptopacked32
	.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	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	testl	%r8d, %r8d
	jle	LBB0_21
## %bb.1:
	movslq	%ecx, %rdx
	movl	%r8d, %r14d
	movl	16(%rbp), %r13d
	movq	24(%rdi), %r15
	movq	(%rdi), %r8
	movq	8(%rdi), %rbx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r11
	leaq	-1(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
                                        ## kill: def $r13d killed $r13d killed $r13 def $r13
	andl	$-2, %r13d
	xorl	%r10d, %r10d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, 12(%rdi)
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%rsi), %rax
	leaq	(%r8,%rax,4), %r8
	movslq	4(%rsi), %rax
	leaq	(%rbx,%rax,4), %rbx
	movslq	8(%rsi), %rax
	leaq	(%r11,%rax,4), %r11
	movslq	12(%rsi), %rax
	leaq	(%r15,%rax,4), %r15
	incq	%r10
	cmpq	%r14, %r10
	je	LBB0_20
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	movq	%r10, %rax
	imulq	%rdx, %rax
	leaq	(%rcx,%rax,4), %rdi
	testl	%r9d, %r9d
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 16(%rbp)
	jle	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15,%r12,4), %eax
	movl	%eax, (%rdi)
	movl	(%r8,%r12,4), %eax
	movl	%eax, 4(%rdi)
	movl	(%rbx,%r12,4), %eax
	movl	%eax, 8(%rdi)
	movl	(%r11,%r12,4), %eax
	movl	%eax, 12(%rdi)
	movl	4(%r15,%r12,4), %eax
	movl	%eax, 16(%rdi)
	movl	4(%r8,%r12,4), %eax
	movl	%eax, 20(%rdi)
	movl	4(%rbx,%r12,4), %eax
	movl	%eax, 24(%rdi)
	movl	4(%r11,%r12,4), %eax
	movl	%eax, 28(%rdi)
	addq	$32, %rdi
	addq	$2, %r12
	cmpq	%r12, %r13
	jne	LBB0_12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 16(%rbp)
	jle	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r8,%rax,4), %ecx
	movl	%ecx, (%rdi)
	movl	(%rbx,%rax,4), %ecx
	movl	%ecx, 4(%rdi)
	movl	(%r11,%rax,4), %ecx
	movl	%ecx, 8(%rdi)
	movl	(%r15,%rax,4), %ecx
	movl	%ecx, 12(%rdi)
	movl	4(%r8,%rax,4), %ecx
	movl	%ecx, 16(%rdi)
	movl	4(%rbx,%rax,4), %ecx
	movl	%ecx, 20(%rdi)
	movl	4(%r11,%rax,4), %ecx
	movl	%ecx, 24(%rdi)
	movl	4(%r15,%rax,4), %ecx
	movl	%ecx, 28(%rdi)
	addq	$32, %rdi
	addq	$2, %rax
	cmpq	%rax, %r13
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	jmp	LBB0_16
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbp), %eax
	testb	$1, %al
	je	LBB0_19
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15,%r12,4), %eax
	movl	%eax, (%rdi)
	movl	(%r8,%r12,4), %eax
	movl	%eax, 4(%rdi)
	movl	(%rbx,%r12,4), %eax
	movl	%eax, 8(%rdi)
	movl	(%r11,%r12,4), %eax
	jmp	LBB0_18
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbp), %ecx
	testb	$1, %cl
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r8,%rax,4), %ecx
	movl	%ecx, (%rdi)
	movl	(%rbx,%rax,4), %ecx
	movl	%ecx, 4(%rdi)
	movl	(%r11,%rax,4), %ecx
	movl	%ecx, 8(%rdi)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movl	(%r15,%rax,4), %eax
	jmp	LBB0_18
LBB0_20:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, 24(%rax)
	movq	%r8, (%rax)
	movq	%rbx, 8(%rax)
	movq	%r11, 16(%rax)
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gbraptopacked32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gbraptopacked32
_gbraptopacked32:                       ; @gbraptopacked32
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w3 killed $w3 def $x3
	cmp	w4, #1
	b.lt	LBB0_29
; %bb.1:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	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
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	.cfi_offset w21, -24
	.cfi_offset w22, -32
	.cfi_offset w23, -40
	.cfi_offset w24, -48
	.cfi_offset w25, -56
	.cfi_offset w26, -64
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	mov	x8, #0
	sxtw	x9, w3
	mov	w10, w6
	ldp	x11, x12, [x0]
	ldp	x14, x13, [x0, #16]
	lsl	x15, x10, #2
	and	x16, x10, #0xfffffff8
	lsl	x17, x16, #2
	add	x7, x2, #64
	sbfiz	x3, x3, #2, #32
	lsl	x19, x10, #4
	and	x19, x19, #0xfffffff80
	mov	w4, w4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldpsw	x20, x21, [x1]
	add	x11, x11, x20, lsl #2
	add	x12, x12, x21, lsl #2
	ldpsw	x20, x21, [x1, #8]
	add	x14, x14, x20, lsl #2
	add	x13, x13, x21, lsl #2
	add	x8, x8, #1
	add	x7, x7, x3
	cmp	x8, x4
	b.eq	LBB0_28
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
	mul	x21, x8, x9
	add	x20, x2, x21, lsl #2
	add	x21, x15, x21
	add	x22, x2, x21, lsl #2
	cmp	w6, #1
	cbz	w5, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w6, #8
	b.hs	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
	b	LBB0_17
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	b.lt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w6, #8
	b.hs	LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
	b	LBB0_26
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
	add	x23, x11, x15
	cmp	x20, x23
	ccmp	x11, x22, #2, lo
	cset	w23, lo
	add	x24, x12, x15
	cmp	x20, x24
	ccmp	x12, x22, #2, lo
	cset	w25, lo
	add	x24, x14, x15
	cmp	x20, x24
	ccmp	x14, x22, #2, lo
	cset	w24, lo
	cmp	x13, x22
	add	x22, x13, x15
	ccmp	x20, x22, #2, lo
	b.lo	LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w23, #0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w25, #0, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w24, #0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x13, #16
	add	x22, x11, #16
	add	x23, x14, #16
	add	x24, x12, #16
	mov	x25, x7
	mov	x26, x16
	add	x20, x20, x17, lsl #2
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q4, [x21, #-16]
	ldp	q1, q5, [x22, #-16]
	ldp	q2, q6, [x24, #-16]
	ldp	q3, q7, [x23, #-16]
	sub	x27, x25, #64
	st4.4s	{ v0, v1, v2, v3 }, [x27]
	st4.4s	{ v4, v5, v6, v7 }, [x25]
	add	x21, x21, #32
	add	x25, x25, #128
	add	x22, x22, #32
	add	x23, x23, #32
	add	x24, x24, #32
	subs	x26, x26, #8
	b.ne	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x16
	cmp	x16, x10
	b.eq	LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x25, x21, #2
	add	x22, x14, x25
	add	x23, x12, x25
	add	x24, x11, x25
	add	x25, x13, x25
	sub	x21, x10, x21
LBB0_18:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w26, [x25], #4
	str	w26, [x20]
	ldr	w26, [x24], #4
	str	w26, [x20, #4]
	ldr	w26, [x23], #4
	str	w26, [x20, #8]
	ldr	w26, [x22], #4
	str	w26, [x20, #12]
	add	x20, x20, #16
	subs	x21, x21, #1
	b.ne	LBB0_18
	b	LBB0_2
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
	add	x23, x12, x15
	cmp	x20, x23
	ccmp	x12, x22, #2, lo
	cset	w23, lo
	add	x24, x14, x15
	cmp	x20, x24
	ccmp	x14, x22, #2, lo
	cset	w25, lo
	add	x24, x13, x15
	cmp	x20, x24
	ccmp	x13, x22, #2, lo
	cset	w24, lo
	cmp	x11, x22
	add	x22, x11, x15
	ccmp	x20, x22, #2, lo
	b.lo	LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w23, #0, LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w25, #0, LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w24, #0, LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
	add	x22, x11, #16
	add	x23, x12, #16
	add	x24, x13, #16
	add	x25, x14, #16
	add	x20, x20, x17, lsl #2
LBB0_24:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q4, [x22, #-16]
	ldp	q1, q5, [x23, #-16]
	ldp	q2, q6, [x25, #-16]
	ldp	q3, q7, [x24, #-16]
	add	x26, x7, x21
	sub	x27, x26, #64
	st4.4s	{ v0, v1, v2, v3 }, [x27]
	st4.4s	{ v4, v5, v6, v7 }, [x26]
	add	x21, x21, #128
	add	x22, x22, #32
	add	x23, x23, #32
	add	x24, x24, #32
	add	x25, x25, #32
	cmp	x19, x21
	b.ne	LBB0_24
; %bb.25:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x16
	cmp	x16, x10
	b.eq	LBB0_2
LBB0_26:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x25, x21, #2
	add	x22, x13, x25
	add	x23, x14, x25
	add	x24, x12, x25
	add	x25, x11, x25
	sub	x21, x10, x21
LBB0_27:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w26, [x25], #4
	str	w26, [x20]
	ldr	w26, [x24], #4
	str	w26, [x20, #4]
	ldr	w26, [x23], #4
	str	w26, [x20, #8]
	ldr	w26, [x22], #4
	str	w26, [x20, #12]
	add	x20, x20, #16
	subs	x21, x21, #1
	b.ne	LBB0_27
	b	LBB0_2
LBB0_28:
	stp	x11, x12, [x0]
	stp	x14, x13, [x0, #16]
	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
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
LBB0_29:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	.cfi_same_value w27
	.cfi_same_value w28
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gbraptopacked32
.subsections_via_symbols
