	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function test_rand_bits
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_2:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_3:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_test_rand_bits
	.p2align	4, 0x90
_test_rand_bits:                        ## @test_rand_bits
	.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	$744, %rsp                      ## imm = 0x2E8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -740(%rbp)                ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$6, %esi
	movl	$6, %ebx
	cmovll	%esi, %ebx
	movl	%esi, -716(%rbp)                ## 4-byte Spill
	movl	%esi, %r13d
	subl	%ebx, %r13d
	leaq	-704(%rbp), %rdi
	movl	$648, %esi                      ## imm = 0x288
	callq	___bzero
	movl	$-1, %r12d
	movl	%ebx, %ecx
	shll	%cl, %r12d
	leaq	_test_rand_bits.rounds(%rip), %rax
	movl	(%rax,%rbx,4), %ecx
	movl	%r12d, -732(%rbp)               ## 4-byte Spill
	notl	%r12d
	cmpl	$2, %ecx
	movl	$1, %eax
	cmovbl	%eax, %ecx
	movl	%ecx, -736(%rbp)                ## 4-byte Spill
	leaq	1(%r13), %r14
	movq	%r14, %r8
	andq	$-4, %r8
	leaq	-4(%r8), %r9
	movq	%r9, %r10
	shrq	$2, %r10
	incq	%r10
	movd	%r12d, %xmm0
	pshufd	$0, %xmm0, %xmm8                ## xmm8 = xmm0[0,0,0,0]
	movq	%r10, %rax
	andq	$-2, %rax
	movq	%rax, -712(%rbp)                ## 8-byte Spill
	xorl	%r11d, %r11d
	movq	%r8, -728(%rbp)                 ## 8-byte Spill
	movq	%r9, -760(%rbp)                 ## 8-byte Spill
	movq	%r10, -752(%rbp)                ## 8-byte Spill
	movdqa	%xmm8, -784(%rbp)               ## 16-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%r11d
	cmpl	-736(%rbp), %r11d               ## 4-byte Folded Reload
	je	LBB0_65
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_29 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
                                        ##     Child Loop BB0_39 Depth 2
                                        ##     Child Loop BB0_43 Depth 2
                                        ##     Child Loop BB0_49 Depth 2
                                        ##     Child Loop BB0_53 Depth 2
                                        ##     Child Loop BB0_59 Depth 2
                                        ##     Child Loop BB0_63 Depth 2
	movl	%r11d, -720(%rbp)               ## 4-byte Spill
	cmpl	$0, -740(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_secp256k1_rand32
	movl	%eax, %ebx
	movl	-716(%rbp), %r15d               ## 4-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-716(%rbp), %r15d               ## 4-byte Reload
	movl	%r15d, %edi
	callq	_secp256k1_rand_bits
	movl	%eax, %ebx
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %eax
	movl	%r15d, %ecx
	sarl	%cl, %eax
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	cmpl	$3, %r13d
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	movq	-728(%rbp), %r8                 ## 8-byte Reload
	movq	-760(%rbp), %r9                 ## 8-byte Reload
	movq	-752(%rbp), %r10                ## 8-byte Reload
	movdqa	-784(%rbp), %xmm8               ## 16-byte Reload
	movdqa	LCPI0_0(%rip), %xmm9            ## xmm9 = [0,1,2,3]
	movdqa	LCPI0_1(%rip), %xmm10           ## xmm10 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_2(%rip), %xmm11           ## xmm11 = [4,4,4,4]
	movdqa	LCPI0_3(%rip), %xmm12           ## xmm12 = [8,8,8,8]
	movl	-720(%rbp), %r11d               ## 4-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movd	%ebx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	-760(%rbp), %r9                 ## 8-byte Reload
	testq	%r9, %r9
	movq	-752(%rbp), %r10                ## 8-byte Reload
	movdqa	-784(%rbp), %xmm8               ## 16-byte Reload
	movdqa	LCPI0_1(%rip), %xmm10           ## xmm10 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_2(%rip), %xmm11           ## xmm11 = [4,4,4,4]
	movdqa	LCPI0_3(%rip), %xmm12           ## xmm12 = [8,8,8,8]
	movl	-720(%rbp), %r11d               ## 4-byte Reload
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-712(%rbp), %rcx                ## 8-byte Reload
	xorl	%eax, %eax
	movdqa	LCPI0_0(%rip), %xmm9            ## xmm9 = [0,1,2,3]
	movdqa	%xmm9, %xmm1
	movq	-728(%rbp), %r8                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pshuflw	$254, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pshuflw	$84, %xmm1, %xmm4               ## xmm4 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm6
	psrad	%xmm4, %xmm6
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pblendw	$15, %xmm6, %xmm3               ## xmm3 = xmm6[0,1,2,3],xmm3[4,5,6,7]
	pblendw	$204, %xmm5, %xmm3              ## xmm3 = xmm3[0,1],xmm5[2,3],xmm3[4,5],xmm5[6,7]
	movdqa	%xmm1, %xmm2
	paddd	%xmm11, %xmm2
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pshufd	$238, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,2,3]
	pshuflw	$254, %xmm4, %xmm6              ## xmm6 = xmm4[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm7
	psrad	%xmm6, %xmm7
	pand	%xmm8, %xmm3
	pslld	$23, %xmm3
	paddd	%xmm10, %xmm3
	cvttps2dq	%xmm3, %xmm3
	orps	-704(%rbp,%rax,4), %xmm3
	movaps	%xmm3, -704(%rbp,%rax,4)
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pblendw	$15, %xmm5, %xmm7               ## xmm7 = xmm5[0,1,2,3],xmm7[4,5,6,7]
	pshuflw	$84, %xmm4, %xmm2               ## xmm2 = xmm4[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm4
	psrad	%xmm2, %xmm4
	pblendw	$15, %xmm3, %xmm4               ## xmm4 = xmm3[0,1,2,3],xmm4[4,5,6,7]
	pblendw	$204, %xmm7, %xmm4              ## xmm4 = xmm4[0,1],xmm7[2,3],xmm4[4,5],xmm7[6,7]
	pand	%xmm8, %xmm4
	pslld	$23, %xmm4
	paddd	%xmm10, %xmm4
	cvttps2dq	%xmm4, %xmm2
	por	-688(%rbp,%rax,4), %xmm2
	movdqa	%xmm2, -688(%rbp,%rax,4)
	addq	$8, %rax
	paddd	%xmm12, %xmm1
	addq	$-2, %rcx
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, %r10b
	je	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	pshuflw	$254, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm1, %xmm3
	pshuflw	$84, %xmm2, %xmm1               ## xmm1 = xmm2[0,1,1,1,4,5,6,7]
	psrad	%xmm1, %xmm0
	pblendw	$15, %xmm3, %xmm0               ## xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
	pblendw	$204, %xmm5, %xmm0              ## xmm0 = xmm0[0,1],xmm5[2,3],xmm0[4,5],xmm5[6,7]
	pand	%xmm8, %xmm0
	pslld	$23, %xmm0
	paddd	%xmm10, %xmm0
	cvttps2dq	%xmm0, %xmm0
	por	-704(%rbp,%rax,4), %xmm0
	movdqa	%xmm0, -704(%rbp,%rax,4)
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r8, %rax
	cmpq	%r8, %r14
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	andl	%r12d, %edx
	movl	$1, %esi
	movl	%edx, %ecx
	shll	%cl, %esi
	orl	%esi, -704(%rbp,%rax,4)
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	leal	(%rbx,%rbx,2), %esi
	cmpl	$3, %r13d
	jae	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movd	%esi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	testq	%r9, %r9
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-712(%rbp), %rcx                ## 8-byte Reload
	xorl	%eax, %eax
	movdqa	%xmm9, %xmm1
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pshuflw	$254, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pshuflw	$84, %xmm1, %xmm4               ## xmm4 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm6
	psrad	%xmm4, %xmm6
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pblendw	$15, %xmm6, %xmm3               ## xmm3 = xmm6[0,1,2,3],xmm3[4,5,6,7]
	pblendw	$204, %xmm5, %xmm3              ## xmm3 = xmm3[0,1],xmm5[2,3],xmm3[4,5],xmm5[6,7]
	pand	%xmm8, %xmm3
	pslld	$23, %xmm3
	paddd	%xmm10, %xmm3
	cvttps2dq	%xmm3, %xmm2
	movups	-596(%rbp,%rax,4), %xmm3
	orps	%xmm2, %xmm3
	movdqa	%xmm1, %xmm2
	paddd	%xmm11, %xmm2
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pshufd	$238, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,2,3]
	pshuflw	$254, %xmm4, %xmm6              ## xmm6 = xmm4[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm7
	psrad	%xmm6, %xmm7
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm6
	psrad	%xmm2, %xmm6
	movdqu	-580(%rbp,%rax,4), %xmm2
	movups	%xmm3, -596(%rbp,%rax,4)
	pshuflw	$84, %xmm4, %xmm3               ## xmm3 = xmm4[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm4
	psrad	%xmm3, %xmm4
	pblendw	$15, %xmm5, %xmm7               ## xmm7 = xmm5[0,1,2,3],xmm7[4,5,6,7]
	pblendw	$15, %xmm6, %xmm4               ## xmm4 = xmm6[0,1,2,3],xmm4[4,5,6,7]
	pblendw	$204, %xmm7, %xmm4              ## xmm4 = xmm4[0,1],xmm7[2,3],xmm4[4,5],xmm7[6,7]
	pand	%xmm8, %xmm4
	pslld	$23, %xmm4
	paddd	%xmm10, %xmm4
	cvttps2dq	%xmm4, %xmm3
	por	%xmm2, %xmm3
	movdqu	%xmm3, -580(%rbp,%rax,4)
	addq	$8, %rax
	paddd	%xmm12, %xmm1
	addq	$-2, %rcx
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, %r10b
	je	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	pshuflw	$254, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm1, %xmm3
	pshuflw	$84, %xmm2, %xmm1               ## xmm1 = xmm2[0,1,1,1,4,5,6,7]
	psrad	%xmm1, %xmm0
	pblendw	$15, %xmm3, %xmm0               ## xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
	pblendw	$204, %xmm5, %xmm0              ## xmm0 = xmm0[0,1],xmm5[2,3],xmm0[4,5],xmm5[6,7]
	pand	%xmm8, %xmm0
	pslld	$23, %xmm0
	paddd	%xmm10, %xmm0
	cvttps2dq	%xmm0, %xmm0
	movdqu	-596(%rbp,%rax,4), %xmm1
	por	%xmm0, %xmm1
	movdqu	%xmm1, -596(%rbp,%rax,4)
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r8, %rax
	cmpq	%r8, %r14
	je	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%esi, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	andl	%r12d, %edx
	movl	$1, %edi
	movl	%edx, %ecx
	shll	%cl, %edi
	orl	%edi, -596(%rbp,%rax,4)
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	leal	(%rbx,%rbx,4), %eax
	leal	(%rbx,%rax,4), %esi
	cmpl	$3, %r13d
	jae	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	movd	%esi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	testq	%r9, %r9
	je	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-712(%rbp), %rcx                ## 8-byte Reload
	xorl	%eax, %eax
	movdqa	%xmm9, %xmm1
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pshuflw	$254, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pshuflw	$84, %xmm1, %xmm4               ## xmm4 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm6
	psrad	%xmm4, %xmm6
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pblendw	$15, %xmm6, %xmm3               ## xmm3 = xmm6[0,1,2,3],xmm3[4,5,6,7]
	pblendw	$204, %xmm5, %xmm3              ## xmm3 = xmm3[0,1],xmm5[2,3],xmm3[4,5],xmm5[6,7]
	pand	%xmm8, %xmm3
	pslld	$23, %xmm3
	paddd	%xmm10, %xmm3
	cvttps2dq	%xmm3, %xmm2
	movups	-488(%rbp,%rax,4), %xmm3
	orps	%xmm2, %xmm3
	movdqa	%xmm1, %xmm2
	paddd	%xmm11, %xmm2
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pshufd	$238, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,2,3]
	pshuflw	$254, %xmm4, %xmm6              ## xmm6 = xmm4[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm7
	psrad	%xmm6, %xmm7
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm6
	psrad	%xmm2, %xmm6
	movdqu	-472(%rbp,%rax,4), %xmm2
	movups	%xmm3, -488(%rbp,%rax,4)
	pshuflw	$84, %xmm4, %xmm3               ## xmm3 = xmm4[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm4
	psrad	%xmm3, %xmm4
	pblendw	$15, %xmm5, %xmm7               ## xmm7 = xmm5[0,1,2,3],xmm7[4,5,6,7]
	pblendw	$15, %xmm6, %xmm4               ## xmm4 = xmm6[0,1,2,3],xmm4[4,5,6,7]
	pblendw	$204, %xmm7, %xmm4              ## xmm4 = xmm4[0,1],xmm7[2,3],xmm4[4,5],xmm7[6,7]
	pand	%xmm8, %xmm4
	pslld	$23, %xmm4
	paddd	%xmm10, %xmm4
	cvttps2dq	%xmm4, %xmm3
	por	%xmm2, %xmm3
	movdqu	%xmm3, -472(%rbp,%rax,4)
	addq	$8, %rax
	paddd	%xmm12, %xmm1
	addq	$-2, %rcx
	jne	LBB0_29
## %bb.30:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, %r10b
	je	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_1 Depth=1
	pshuflw	$254, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm1, %xmm3
	pshuflw	$84, %xmm2, %xmm1               ## xmm1 = xmm2[0,1,1,1,4,5,6,7]
	psrad	%xmm1, %xmm0
	pblendw	$15, %xmm3, %xmm0               ## xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
	pblendw	$204, %xmm5, %xmm0              ## xmm0 = xmm0[0,1],xmm5[2,3],xmm0[4,5],xmm5[6,7]
	pand	%xmm8, %xmm0
	pslld	$23, %xmm0
	paddd	%xmm10, %xmm0
	cvttps2dq	%xmm0, %xmm0
	movdqu	-488(%rbp,%rax,4), %xmm1
	por	%xmm0, %xmm1
	movdqu	%xmm1, -488(%rbp,%rax,4)
LBB0_32:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r8, %rax
	cmpq	%r8, %r14
	je	LBB0_34
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%esi, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	andl	%r12d, %edx
	movl	$1, %edi
	movl	%edx, %ecx
	shll	%cl, %edi
	orl	%edi, -488(%rbp,%rax,4)
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_33
LBB0_34:                                ##   in Loop: Header=BB0_1 Depth=1
	imull	$289, %ebx, %esi                ## imm = 0x121
	cmpl	$3, %r13d
	jae	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_1 Depth=1
	movd	%esi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	testq	%r9, %r9
	je	LBB0_37
## %bb.38:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-712(%rbp), %rcx                ## 8-byte Reload
	xorl	%eax, %eax
	movdqa	%xmm9, %xmm1
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pshuflw	$254, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pshuflw	$84, %xmm1, %xmm4               ## xmm4 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm6
	psrad	%xmm4, %xmm6
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pblendw	$15, %xmm6, %xmm3               ## xmm3 = xmm6[0,1,2,3],xmm3[4,5,6,7]
	pblendw	$204, %xmm5, %xmm3              ## xmm3 = xmm3[0,1],xmm5[2,3],xmm3[4,5],xmm5[6,7]
	pand	%xmm8, %xmm3
	pslld	$23, %xmm3
	paddd	%xmm10, %xmm3
	cvttps2dq	%xmm3, %xmm2
	movups	-380(%rbp,%rax,4), %xmm3
	orps	%xmm2, %xmm3
	movdqa	%xmm1, %xmm2
	paddd	%xmm11, %xmm2
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pshufd	$238, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,2,3]
	pshuflw	$254, %xmm4, %xmm6              ## xmm6 = xmm4[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm7
	psrad	%xmm6, %xmm7
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm6
	psrad	%xmm2, %xmm6
	movdqu	-364(%rbp,%rax,4), %xmm2
	movups	%xmm3, -380(%rbp,%rax,4)
	pshuflw	$84, %xmm4, %xmm3               ## xmm3 = xmm4[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm4
	psrad	%xmm3, %xmm4
	pblendw	$15, %xmm5, %xmm7               ## xmm7 = xmm5[0,1,2,3],xmm7[4,5,6,7]
	pblendw	$15, %xmm6, %xmm4               ## xmm4 = xmm6[0,1,2,3],xmm4[4,5,6,7]
	pblendw	$204, %xmm7, %xmm4              ## xmm4 = xmm4[0,1],xmm7[2,3],xmm4[4,5],xmm7[6,7]
	pand	%xmm8, %xmm4
	pslld	$23, %xmm4
	paddd	%xmm10, %xmm4
	cvttps2dq	%xmm4, %xmm3
	por	%xmm2, %xmm3
	movdqu	%xmm3, -364(%rbp,%rax,4)
	addq	$8, %rax
	paddd	%xmm12, %xmm1
	addq	$-2, %rcx
	jne	LBB0_39
## %bb.40:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, %r10b
	je	LBB0_42
LBB0_41:                                ##   in Loop: Header=BB0_1 Depth=1
	pshuflw	$254, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm1, %xmm3
	pshuflw	$84, %xmm2, %xmm1               ## xmm1 = xmm2[0,1,1,1,4,5,6,7]
	psrad	%xmm1, %xmm0
	pblendw	$15, %xmm3, %xmm0               ## xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
	pblendw	$204, %xmm5, %xmm0              ## xmm0 = xmm0[0,1],xmm5[2,3],xmm0[4,5],xmm5[6,7]
	pand	%xmm8, %xmm0
	pslld	$23, %xmm0
	paddd	%xmm10, %xmm0
	cvttps2dq	%xmm0, %xmm0
	movdqu	-380(%rbp,%rax,4), %xmm1
	por	%xmm0, %xmm1
	movdqu	%xmm1, -380(%rbp,%rax,4)
LBB0_42:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r8, %rax
	cmpq	%r8, %r14
	je	LBB0_44
	.p2align	4, 0x90
LBB0_43:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%esi, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	andl	%r12d, %edx
	movl	$1, %edi
	movl	%edx, %ecx
	shll	%cl, %edi
	orl	%edi, -380(%rbp,%rax,4)
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_43
LBB0_44:                                ##   in Loop: Header=BB0_1 Depth=1
	imull	$39321, %ebx, %esi              ## imm = 0x9999
	cmpl	$3, %r13d
	jae	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_53
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_1 Depth=1
	movd	%esi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	testq	%r9, %r9
	je	LBB0_47
## %bb.48:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-712(%rbp), %rcx                ## 8-byte Reload
	xorl	%eax, %eax
	movdqa	%xmm9, %xmm1
	.p2align	4, 0x90
LBB0_49:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pshuflw	$254, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pshuflw	$84, %xmm1, %xmm4               ## xmm4 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm6
	psrad	%xmm4, %xmm6
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pblendw	$15, %xmm6, %xmm3               ## xmm3 = xmm6[0,1,2,3],xmm3[4,5,6,7]
	pblendw	$204, %xmm5, %xmm3              ## xmm3 = xmm3[0,1],xmm5[2,3],xmm3[4,5],xmm5[6,7]
	movdqa	%xmm1, %xmm2
	paddd	%xmm11, %xmm2
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pshufd	$238, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,2,3]
	pshuflw	$254, %xmm4, %xmm6              ## xmm6 = xmm4[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm7
	psrad	%xmm6, %xmm7
	pand	%xmm8, %xmm3
	pslld	$23, %xmm3
	paddd	%xmm10, %xmm3
	cvttps2dq	%xmm3, %xmm3
	orps	-272(%rbp,%rax,4), %xmm3
	movaps	%xmm3, -272(%rbp,%rax,4)
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pblendw	$15, %xmm5, %xmm7               ## xmm7 = xmm5[0,1,2,3],xmm7[4,5,6,7]
	pshuflw	$84, %xmm4, %xmm2               ## xmm2 = xmm4[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm4
	psrad	%xmm2, %xmm4
	pblendw	$15, %xmm3, %xmm4               ## xmm4 = xmm3[0,1,2,3],xmm4[4,5,6,7]
	pblendw	$204, %xmm7, %xmm4              ## xmm4 = xmm4[0,1],xmm7[2,3],xmm4[4,5],xmm7[6,7]
	pand	%xmm8, %xmm4
	pslld	$23, %xmm4
	paddd	%xmm10, %xmm4
	cvttps2dq	%xmm4, %xmm2
	por	-256(%rbp,%rax,4), %xmm2
	movdqa	%xmm2, -256(%rbp,%rax,4)
	addq	$8, %rax
	paddd	%xmm12, %xmm1
	addq	$-2, %rcx
	jne	LBB0_49
## %bb.50:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, %r10b
	je	LBB0_52
LBB0_51:                                ##   in Loop: Header=BB0_1 Depth=1
	pshuflw	$254, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm1, %xmm3
	pshuflw	$84, %xmm2, %xmm1               ## xmm1 = xmm2[0,1,1,1,4,5,6,7]
	psrad	%xmm1, %xmm0
	pblendw	$15, %xmm3, %xmm0               ## xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
	pblendw	$204, %xmm5, %xmm0              ## xmm0 = xmm0[0,1],xmm5[2,3],xmm0[4,5],xmm5[6,7]
	pand	%xmm8, %xmm0
	pslld	$23, %xmm0
	paddd	%xmm10, %xmm0
	cvttps2dq	%xmm0, %xmm0
	por	-272(%rbp,%rax,4), %xmm0
	movdqa	%xmm0, -272(%rbp,%rax,4)
LBB0_52:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r8, %rax
	cmpq	%r8, %r14
	je	LBB0_54
	.p2align	4, 0x90
LBB0_53:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%esi, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	andl	%r12d, %edx
	movl	$1, %edi
	movl	%edx, %ecx
	shll	%cl, %edi
	orl	%edi, -272(%rbp,%rax,4)
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_53
LBB0_54:                                ##   in Loop: Header=BB0_1 Depth=1
	imull	$-2143281135, %ebx, %esi        ## imm = 0x80402011
	cmpl	$3, %r13d
	jae	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_63
	.p2align	4, 0x90
LBB0_56:                                ##   in Loop: Header=BB0_1 Depth=1
	movd	%esi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	testq	%r9, %r9
	je	LBB0_57
## %bb.58:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-712(%rbp), %rcx                ## 8-byte Reload
	xorl	%eax, %eax
	movdqa	%xmm9, %xmm1
	.p2align	4, 0x90
LBB0_59:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	pshuflw	$254, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pshuflw	$84, %xmm1, %xmm4               ## xmm4 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm6
	psrad	%xmm4, %xmm6
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pblendw	$15, %xmm6, %xmm3               ## xmm3 = xmm6[0,1,2,3],xmm3[4,5,6,7]
	pblendw	$204, %xmm5, %xmm3              ## xmm3 = xmm3[0,1],xmm5[2,3],xmm3[4,5],xmm5[6,7]
	pand	%xmm8, %xmm3
	pslld	$23, %xmm3
	paddd	%xmm10, %xmm3
	cvttps2dq	%xmm3, %xmm2
	movups	-164(%rbp,%rax,4), %xmm3
	orps	%xmm2, %xmm3
	movdqa	%xmm1, %xmm2
	paddd	%xmm11, %xmm2
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pshufd	$238, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,2,3]
	pshuflw	$254, %xmm4, %xmm6              ## xmm6 = xmm4[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm7
	psrad	%xmm6, %xmm7
	pshuflw	$84, %xmm2, %xmm2               ## xmm2 = xmm2[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm6
	psrad	%xmm2, %xmm6
	movdqu	-148(%rbp,%rax,4), %xmm2
	movups	%xmm3, -164(%rbp,%rax,4)
	pshuflw	$84, %xmm4, %xmm3               ## xmm3 = xmm4[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm4
	psrad	%xmm3, %xmm4
	pblendw	$15, %xmm5, %xmm7               ## xmm7 = xmm5[0,1,2,3],xmm7[4,5,6,7]
	pblendw	$15, %xmm6, %xmm4               ## xmm4 = xmm6[0,1,2,3],xmm4[4,5,6,7]
	pblendw	$204, %xmm7, %xmm4              ## xmm4 = xmm4[0,1],xmm7[2,3],xmm4[4,5],xmm7[6,7]
	pand	%xmm8, %xmm4
	pslld	$23, %xmm4
	paddd	%xmm10, %xmm4
	cvttps2dq	%xmm4, %xmm3
	por	%xmm2, %xmm3
	movdqu	%xmm3, -148(%rbp,%rax,4)
	addq	$8, %rax
	paddd	%xmm12, %xmm1
	addq	$-2, %rcx
	jne	LBB0_59
## %bb.60:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, %r10b
	je	LBB0_62
LBB0_61:                                ##   in Loop: Header=BB0_1 Depth=1
	pshuflw	$254, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm2, %xmm3
	pshufd	$238, %xmm1, %xmm2              ## xmm2 = xmm1[2,3,2,3]
	pshuflw	$254, %xmm2, %xmm4              ## xmm4 = xmm2[2,3,3,3,4,5,6,7]
	movdqa	%xmm0, %xmm5
	psrad	%xmm4, %xmm5
	pblendw	$15, %xmm3, %xmm5               ## xmm5 = xmm3[0,1,2,3],xmm5[4,5,6,7]
	pshuflw	$84, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,1,1,4,5,6,7]
	movdqa	%xmm0, %xmm3
	psrad	%xmm1, %xmm3
	pshuflw	$84, %xmm2, %xmm1               ## xmm1 = xmm2[0,1,1,1,4,5,6,7]
	psrad	%xmm1, %xmm0
	pblendw	$15, %xmm3, %xmm0               ## xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
	pblendw	$204, %xmm5, %xmm0              ## xmm0 = xmm0[0,1],xmm5[2,3],xmm0[4,5],xmm5[6,7]
	pand	%xmm8, %xmm0
	pslld	$23, %xmm0
	paddd	%xmm10, %xmm0
	cvttps2dq	%xmm0, %xmm0
	movdqu	-164(%rbp,%rax,4), %xmm1
	por	%xmm0, %xmm1
	movdqu	%xmm1, -164(%rbp,%rax,4)
LBB0_62:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r8, %rax
	cmpq	%r8, %r14
	je	LBB0_64
	.p2align	4, 0x90
LBB0_63:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%esi, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	andl	%r12d, %edx
	movl	$1, %edi
	movl	%edx, %ecx
	shll	%cl, %edi
	orl	%edi, -164(%rbp,%rax,4)
	incq	%rax
	cmpq	%rax, %r14
	jne	LBB0_63
	jmp	LBB0_64
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	movdqa	LCPI0_0(%rip), %xmm9            ## xmm9 = [0,1,2,3]
	movdqa	%xmm9, %xmm1
	movq	-728(%rbp), %r8                 ## 8-byte Reload
	testb	$1, %r10b
	jne	LBB0_11
	jmp	LBB0_12
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	movdqa	%xmm9, %xmm1
	testb	$1, %r10b
	jne	LBB0_21
	jmp	LBB0_22
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	movdqa	%xmm9, %xmm1
	testb	$1, %r10b
	jne	LBB0_31
	jmp	LBB0_32
LBB0_37:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	movdqa	%xmm9, %xmm1
	testb	$1, %r10b
	jne	LBB0_41
	jmp	LBB0_42
LBB0_47:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	movdqa	%xmm9, %xmm1
	testb	$1, %r10b
	jne	LBB0_51
	jmp	LBB0_52
LBB0_57:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	movdqa	%xmm9, %xmm1
	testb	$1, %r10b
	jne	LBB0_61
	jmp	LBB0_62
LBB0_65:
	movl	-732(%rbp), %r14d               ## 4-byte Reload
	addl	$64, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_66:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	movl	-704(%rbp,%rax,4), %eax
	notl	%eax
	movl	%r14d, %ecx
	shll	%cl, %eax
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	incl	%ebx
	cmpl	%r13d, %ebx
	jbe	LBB0_66
## %bb.67:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_68:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	movl	-596(%rbp,%rax,4), %eax
	notl	%eax
	movl	%r14d, %ecx
	shll	%cl, %eax
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	incl	%ebx
	cmpl	%r13d, %ebx
	jbe	LBB0_68
## %bb.69:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_70:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	movl	-488(%rbp,%rax,4), %eax
	notl	%eax
	movl	%r14d, %ecx
	shll	%cl, %eax
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	incl	%ebx
	cmpl	%r13d, %ebx
	jbe	LBB0_70
## %bb.71:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_72:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	movl	-380(%rbp,%rax,4), %eax
	notl	%eax
	movl	%r14d, %ecx
	shll	%cl, %eax
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	incl	%ebx
	cmpl	%r13d, %ebx
	jbe	LBB0_72
## %bb.73:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_74:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	movl	-272(%rbp,%rax,4), %eax
	notl	%eax
	movl	%r14d, %ecx
	shll	%cl, %eax
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	incl	%ebx
	cmpl	%r13d, %ebx
	jbe	LBB0_74
## %bb.75:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_76:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	movl	-164(%rbp,%rax,4), %eax
	notl	%eax
	movl	%r14d, %ecx
	shll	%cl, %eax
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	incl	%ebx
	cmpl	%r13d, %ebx
	jbe	LBB0_76
## %bb.77:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_79
## %bb.78:
	addq	$744, %rsp                      ## imm = 0x2E8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_79:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @test_rand_bits.rounds
_test_rand_bits.rounds:
	.long	1                               ## 0x1
	.long	30                              ## 0x1e
	.long	73                              ## 0x49
	.long	156                             ## 0x9c
	.long	322                             ## 0x142
	.long	653                             ## 0x28d
	.long	1316                            ## 0x524

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function test_rand_bits
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_test_rand_bits
	.p2align	2
_test_rand_bits:                        ; @test_rand_bits
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #800
	mov	x21, x1
	str	w0, [sp, #116]                  ; 4-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	mov	w8, #6
	cmp	w1, #6
	csel	w19, w1, w8, lt
	sub	w20, w1, w19
	add	x23, sp, #136
	add	x0, sp, #136
	mov	w1, #648
	bl	_bzero
	mov	w13, #0
Lloh3:
	adrp	x8, _test_rand_bits.rounds@PAGE
Lloh4:
	add	x8, x8, _test_rand_bits.rounds@PAGEOFF
	ldr	w8, [x8, w19, uxtw #2]
	mov	w9, #-1
	lsl	w9, w9, w19
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	mvn	w26, w9
	cmp	w8, #1
	csinc	w8, w8, wzr, hi
	str	w8, [sp, #112]                  ; 4-byte Folded Spill
	str	x20, [sp, #128]                 ; 8-byte Folded Spill
	add	x28, x20, #1
	dup.4s	v18, w26
	and	x14, x28, #0x1fffffff0
	add	x9, x23, #32
	add	x8, x23, #156
	stp	x8, x9, [sp, #48]               ; 16-byte Folded Spill
	add	x20, x23, #108
	add	x9, x23, #264
	add	x27, x23, #216
	add	x8, x23, #356
	stp	x8, x9, [sp, #32]               ; 16-byte Folded Spill
	add	x19, x23, #324
	add	x9, x23, #480
	add	x24, x23, #432
	add	x8, x23, #572
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	add	x25, x23, #540
	mov	w22, #1
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	q19, [x8, lCPI0_0@PAGEOFF]
	str	w21, [sp, #120]                 ; 4-byte Folded Spill
	str	q18, [sp, #96]                  ; 16-byte Folded Spill
	str	x14, [sp, #88]                  ; 8-byte Folded Spill
	str	q19, [sp, #64]                  ; 16-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w13, w13, #1
	ldr	w8, [sp, #112]                  ; 4-byte Folded Reload
	cmp	w13, w8
	b.eq	LBB0_41
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_26 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
                                        ;     Child Loop BB0_32 Depth 2
                                        ;     Child Loop BB0_34 Depth 2
                                        ;     Child Loop BB0_38 Depth 2
                                        ;     Child Loop BB0_40 Depth 2
	str	w13, [sp, #124]                 ; 4-byte Folded Spill
	ldr	w8, [sp, #116]                  ; 4-byte Folded Reload
	cbz	w8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_secp256k1_rand32
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_secp256k1_rand_bits
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x21
	mov	x21, x0
	asr	w8, w0, w8
	cmp	w8, #0
	cset	w0, eq
	bl	_CHECK
	ldr	x8, [sp, #128]                  ; 8-byte Folded Reload
	cmp	w8, #15
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, #0
	ldr	w13, [sp, #124]                 ; 4-byte Folded Reload
	ldr	q18, [sp, #96]                  ; 16-byte Folded Reload
	ldr	x14, [sp, #88]                  ; 8-byte Folded Reload
	ldr	q19, [sp, #64]                  ; 16-byte Folded Reload
	mvni.4s	v20, #3
	mvni.4s	v21, #7
	mvni.4s	v22, #11
	movi.4s	v23, #1
	movi.4s	v24, #16
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	dup.4s	v0, w21
	ldr	x14, [sp, #88]                  ; 8-byte Folded Reload
	mov	x8, x14
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	ldr	q19, [sp, #64]                  ; 16-byte Folded Reload
	mov.16b	v1, v19
	ldr	w13, [sp, #124]                 ; 4-byte Folded Reload
	ldr	q18, [sp, #96]                  ; 16-byte Folded Reload
	mvni.4s	v20, #3
	mvni.4s	v21, #7
	mvni.4s	v22, #11
	movi.4s	v23, #1
	movi.4s	v24, #16
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	neg.4s	v2, v1
	sshl.4s	v2, v0, v2
	sub.4s	v3, v20, v1
	sshl.4s	v3, v0, v3
	sub.4s	v4, v21, v1
	sshl.4s	v4, v0, v4
	sub.4s	v5, v22, v1
	sshl.4s	v5, v0, v5
	and.16b	v2, v2, v18
	and.16b	v3, v3, v18
	and.16b	v4, v4, v18
	and.16b	v5, v5, v18
	ushl.4s	v2, v23, v2
	ushl.4s	v3, v23, v3
	ushl.4s	v4, v23, v4
	ushl.4s	v5, v23, v5
	ldp	q6, q7, [x9, #-32]
	ldp	q16, q17, [x9]
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	orr.16b	v4, v16, v4
	orr.16b	v5, v17, v5
	stp	q2, q3, [x9, #-32]
	stp	q4, q5, [x9], #64
	add.4s	v1, v1, v24
	subs	x8, x8, #16
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x14
	cmp	x28, x14
	b.eq	LBB0_11
LBB0_10:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	asr	w9, w21, w8
	and	w9, w9, w26
	lsl	x10, x8, #2
	ldr	w11, [x23, x10]
	lsl	w9, w22, w9
	orr	w9, w11, w9
	str	w9, [x23, x10]
	add	x8, x8, #1
	cmp	x28, x8
	b.ne	LBB0_10
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w21, w21, lsl #1
	ldr	x9, [sp, #128]                  ; 8-byte Folded Reload
	cmp	w9, #15
	b.hs	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, #0
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	dup.4s	v0, w8
	mov	x9, x14
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	mov.16b	v1, v19
LBB0_14:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	neg.4s	v2, v1
	sshl.4s	v2, v0, v2
	sub.4s	v3, v20, v1
	sshl.4s	v3, v0, v3
	sub.4s	v4, v21, v1
	sshl.4s	v4, v0, v4
	sub.4s	v5, v22, v1
	sshl.4s	v5, v0, v5
	and.16b	v2, v2, v18
	and.16b	v3, v3, v18
	and.16b	v4, v4, v18
	and.16b	v5, v5, v18
	ushl.4s	v2, v23, v2
	ushl.4s	v3, v23, v3
	ushl.4s	v4, v23, v4
	ushl.4s	v5, v23, v5
	ldp	q6, q7, [x10, #-48]
	ldp	q16, q17, [x10, #-16]
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	orr.16b	v4, v16, v4
	orr.16b	v5, v17, v5
	stp	q2, q3, [x10, #-48]
	stp	q4, q5, [x10, #-16]
	add.4s	v1, v1, v24
	add	x10, x10, #64
	subs	x9, x9, #16
	b.ne	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, x14
	cmp	x28, x14
	b.eq	LBB0_17
LBB0_16:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	asr	w10, w8, w9
	and	w10, w10, w26
	lsl	x11, x9, #2
	ldr	w12, [x20, x11]
	lsl	w10, w22, w10
	orr	w10, w12, w10
	str	w10, [x20, x11]
	add	x9, x9, #1
	cmp	x28, x9
	b.ne	LBB0_16
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #21
	mul	w8, w21, w8
	ldr	x9, [sp, #128]                  ; 8-byte Folded Reload
	cmp	w9, #15
	b.hs	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, #0
	b	LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	dup.4s	v0, w8
	mov	x9, x14
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	mov.16b	v1, v19
LBB0_20:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	neg.4s	v2, v1
	sshl.4s	v2, v0, v2
	sub.4s	v3, v20, v1
	sshl.4s	v3, v0, v3
	sub.4s	v4, v21, v1
	sshl.4s	v4, v0, v4
	sub.4s	v5, v22, v1
	sshl.4s	v5, v0, v5
	and.16b	v2, v2, v18
	and.16b	v3, v3, v18
	and.16b	v4, v4, v18
	and.16b	v5, v5, v18
	ushl.4s	v2, v23, v2
	ushl.4s	v3, v23, v3
	ushl.4s	v4, v23, v4
	ushl.4s	v5, v23, v5
	ldp	q6, q7, [x10, #-48]
	ldp	q16, q17, [x10, #-16]
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	orr.16b	v4, v16, v4
	orr.16b	v5, v17, v5
	stp	q2, q3, [x10, #-48]
	stp	q4, q5, [x10, #-16]
	add.4s	v1, v1, v24
	add	x10, x10, #64
	subs	x9, x9, #16
	b.ne	LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, x14
	cmp	x28, x14
	b.eq	LBB0_23
LBB0_22:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	asr	w10, w8, w9
	and	w10, w10, w26
	lsl	x11, x9, #2
	ldr	w12, [x27, x11]
	lsl	w10, w22, w10
	orr	w10, w12, w10
	str	w10, [x27, x11]
	add	x9, x9, #1
	cmp	x28, x9
	b.ne	LBB0_22
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #289
	mul	w8, w21, w8
	ldr	x9, [sp, #128]                  ; 8-byte Folded Reload
	cmp	w9, #15
	b.hs	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, #0
	b	LBB0_28
LBB0_25:                                ;   in Loop: Header=BB0_2 Depth=1
	dup.4s	v0, w8
	mov	x9, x14
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	mov.16b	v1, v19
LBB0_26:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	neg.4s	v2, v1
	sshl.4s	v2, v0, v2
	sub.4s	v3, v20, v1
	sshl.4s	v3, v0, v3
	sub.4s	v4, v21, v1
	sshl.4s	v4, v0, v4
	sub.4s	v5, v22, v1
	sshl.4s	v5, v0, v5
	and.16b	v2, v2, v18
	and.16b	v3, v3, v18
	and.16b	v4, v4, v18
	and.16b	v5, v5, v18
	ushl.4s	v2, v23, v2
	ushl.4s	v3, v23, v3
	ushl.4s	v4, v23, v4
	ushl.4s	v5, v23, v5
	ldp	q6, q7, [x10, #-32]
	ldp	q16, q17, [x10]
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	orr.16b	v4, v16, v4
	orr.16b	v5, v17, v5
	stp	q2, q3, [x10, #-32]
	stp	q4, q5, [x10], #64
	add.4s	v1, v1, v24
	subs	x9, x9, #16
	b.ne	LBB0_26
; %bb.27:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, x14
	cmp	x28, x14
	b.eq	LBB0_29
LBB0_28:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	asr	w10, w8, w9
	and	w10, w10, w26
	lsl	x11, x9, #2
	ldr	w12, [x19, x11]
	lsl	w10, w22, w10
	orr	w10, w12, w10
	str	w10, [x19, x11]
	add	x9, x9, #1
	cmp	x28, x9
	b.ne	LBB0_28
LBB0_29:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #39321
	mul	w8, w21, w8
	ldr	x9, [sp, #128]                  ; 8-byte Folded Reload
	cmp	w9, #15
	b.hs	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, #0
	b	LBB0_34
LBB0_31:                                ;   in Loop: Header=BB0_2 Depth=1
	dup.4s	v0, w8
	mov	x9, x14
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	mov.16b	v1, v19
LBB0_32:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	neg.4s	v2, v1
	sshl.4s	v2, v0, v2
	sub.4s	v3, v20, v1
	sshl.4s	v3, v0, v3
	sub.4s	v4, v21, v1
	sshl.4s	v4, v0, v4
	sub.4s	v5, v22, v1
	sshl.4s	v5, v0, v5
	and.16b	v2, v2, v18
	and.16b	v3, v3, v18
	and.16b	v4, v4, v18
	and.16b	v5, v5, v18
	ushl.4s	v2, v23, v2
	ushl.4s	v3, v23, v3
	ushl.4s	v4, v23, v4
	ushl.4s	v5, v23, v5
	ldp	q6, q7, [x10, #-48]
	ldp	q16, q17, [x10, #-16]
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	orr.16b	v4, v16, v4
	orr.16b	v5, v17, v5
	stp	q2, q3, [x10, #-48]
	stp	q4, q5, [x10, #-16]
	add.4s	v1, v1, v24
	add	x10, x10, #64
	subs	x9, x9, #16
	b.ne	LBB0_32
; %bb.33:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, x14
	cmp	x28, x14
	b.eq	LBB0_35
LBB0_34:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	asr	w10, w8, w9
	and	w10, w10, w26
	lsl	x11, x9, #2
	ldr	w12, [x24, x11]
	lsl	w10, w22, w10
	orr	w10, w12, w10
	str	w10, [x24, x11]
	add	x9, x9, #1
	cmp	x28, x9
	b.ne	LBB0_34
LBB0_35:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #8209
	movk	w8, #32832, lsl #16
	mul	w8, w21, w8
	ldr	x9, [sp, #128]                  ; 8-byte Folded Reload
	cmp	w9, #15
	b.hs	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, #0
	ldr	w21, [sp, #120]                 ; 4-byte Folded Reload
	b	LBB0_40
LBB0_37:                                ;   in Loop: Header=BB0_2 Depth=1
	dup.4s	v0, w8
	mov	x9, x14
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	mov.16b	v1, v19
	ldr	w21, [sp, #120]                 ; 4-byte Folded Reload
LBB0_38:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	neg.4s	v2, v1
	sshl.4s	v2, v0, v2
	sub.4s	v3, v20, v1
	sshl.4s	v3, v0, v3
	sub.4s	v4, v21, v1
	sshl.4s	v4, v0, v4
	sub.4s	v5, v22, v1
	sshl.4s	v5, v0, v5
	and.16b	v2, v2, v18
	and.16b	v3, v3, v18
	and.16b	v4, v4, v18
	and.16b	v5, v5, v18
	ushl.4s	v2, v23, v2
	ushl.4s	v3, v23, v3
	ushl.4s	v4, v23, v4
	ushl.4s	v5, v23, v5
	ldp	q6, q7, [x10, #-32]
	ldp	q16, q17, [x10]
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	orr.16b	v4, v16, v4
	orr.16b	v5, v17, v5
	stp	q2, q3, [x10, #-32]
	stp	q4, q5, [x10], #64
	add.4s	v1, v1, v24
	subs	x9, x9, #16
	b.ne	LBB0_38
; %bb.39:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, x14
	cmp	x28, x14
	b.eq	LBB0_1
LBB0_40:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	asr	w10, w8, w9
	and	w10, w10, w26
	lsl	x11, x9, #2
	ldr	w12, [x25, x11]
	lsl	w10, w22, w10
	orr	w10, w12, w10
	str	w10, [x25, x11]
	add	x9, x9, #1
	cmp	x28, x9
	b.ne	LBB0_40
	b	LBB0_1
LBB0_41:
	mov	w20, #0
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	add	w19, w8, #64
	add	x21, sp, #136
	ldr	x22, [sp, #128]                 ; 8-byte Folded Reload
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, w20, uxtw #2]
	mvn	w8, w8
	lsl	w8, w8, w19
	cmp	w8, #0
	cset	w0, eq
	bl	_CHECK
	add	w20, w20, #1
	cmp	w20, w22
	b.ls	LBB0_42
; %bb.43:
	mov	w20, #0
	add	x21, sp, #136
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x21, w20, uxtw #2
	ldr	w8, [x8, #108]
	mvn	w8, w8
	lsl	w8, w8, w19
	cmp	w8, #0
	cset	w0, eq
	bl	_CHECK
	add	w20, w20, #1
	cmp	w20, w22
	b.ls	LBB0_44
; %bb.45:
	mov	w20, #0
	add	x21, sp, #136
LBB0_46:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x21, w20, uxtw #2
	ldr	w8, [x8, #216]
	mvn	w8, w8
	lsl	w8, w8, w19
	cmp	w8, #0
	cset	w0, eq
	bl	_CHECK
	add	w20, w20, #1
	cmp	w20, w22
	b.ls	LBB0_46
; %bb.47:
	mov	w20, #0
	add	x21, sp, #136
LBB0_48:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x21, w20, uxtw #2
	ldr	w8, [x8, #324]
	mvn	w8, w8
	lsl	w8, w8, w19
	cmp	w8, #0
	cset	w0, eq
	bl	_CHECK
	add	w20, w20, #1
	cmp	w20, w22
	b.ls	LBB0_48
; %bb.49:
	mov	w20, #0
	add	x21, sp, #136
LBB0_50:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x21, w20, uxtw #2
	ldr	w8, [x8, #432]
	mvn	w8, w8
	lsl	w8, w8, w19
	cmp	w8, #0
	cset	w0, eq
	bl	_CHECK
	add	w20, w20, #1
	cmp	w20, w22
	b.ls	LBB0_50
; %bb.51:
	mov	w20, #0
	add	x21, sp, #136
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x21, w20, uxtw #2
	ldr	w8, [x8, #540]
	mvn	w8, w8
	lsl	w8, w8, w19
	cmp	w8, #0
	cset	w0, eq
	bl	_CHECK
	add	w20, w20, #1
	cmp	w20, w22
	b.ls	LBB0_52
; %bb.53:
	ldur	x8, [x29, #-96]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_55
; %bb.54:
	add	sp, sp, #800
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_55:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @test_rand_bits.rounds
_test_rand_bits.rounds:
	.long	1                               ; 0x1
	.long	30                              ; 0x1e
	.long	73                              ; 0x49
	.long	156                             ; 0x9c
	.long	322                             ; 0x142
	.long	653                             ; 0x28d
	.long	1316                            ; 0x524

.subsections_via_symbols
