	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SpongeSqueeze                  ## -- Begin function SpongeSqueeze
	.p2align	4, 0x90
_SpongeSqueeze:                         ## @SpongeSqueeze
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	(%rdi), %eax
	leal	7(%rax), %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	cmpl	$0, 12(%rdi)
	je	LBB0_1
## %bb.2:
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_14
LBB0_1:
	movq	%r15, %rdi
	movl	%esi, %r14d
	movl	$1, %esi
	callq	_SpongeAbsorbLastFewBits
	movl	%r14d, %esi
	testq	%rbx, %rbx
	je	LBB0_14
LBB0_3:
	sarl	$3, %esi
	movl	%esi, %r14d
	xorl	%edi, %edi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %r13
	movq	%rdi, %rbx
	movl	8(%r15), %edi
	callq	_SnP_Permute
	movq	%rbx, %rdi
	movq	%r13, %rbx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	$0, 4(%r15)
	xorl	%edx, %edx
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %eax
	subl	%edi, %eax
	leal	(%rdx,%rax), %ecx
	movl	%esi, %r13d
	subl	%edx, %r13d
	cmpl	%esi, %ecx
	cmovbel	%eax, %r13d
	addq	%r13, %rdi
	movq	%rdi, %rbx
	movl	8(%r15), %edi
	movq	%r12, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r13d, %ecx
	callq	_SnP_ExtractBytes
	movq	%rbx, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	%r13, %r12
	addl	%r13d, 4(%r15)
	cmpq	%rbx, %rdi
	jae	LBB0_14
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	4(%r15), %edx
	cmpl	%esi, %edx
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rdi,%r14), %rax
	cmpq	%rbx, %rax
	ja	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	subq	%rdi, %rbx
	cmpq	%r14, %rbx
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	8(%r15), %edi
	callq	_SnP_Permute
	movl	8(%r15), %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	callq	_SnP_ExtractBytes
	addq	%r14, %r12
	subq	%r14, %rbx
	cmpq	%r14, %rbx
	jae	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rdi
	subq	%rbx, %rdi
	movq	%rax, %rbx
	movl	%r13d, %esi
	cmpq	%rbx, %rdi
	jb	LBB0_4
LBB0_14:
	xorl	%eax, %eax
	addq	$24, %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	_SpongeSqueeze                  ; -- Begin function SpongeSqueeze
	.p2align	2
_SpongeSqueeze:                         ; @SpongeSqueeze
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x0]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w22, w9, w8, lt
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_2
; %bb.1:
	cbnz	x19, LBB0_3
	b	LBB0_11
LBB0_2:
	mov	x0, x21
	mov	w1, #1
	bl	_SpongeAbsorbLastFewBits
	cbz	x19, LBB0_11
LBB0_3:
	mov	x24, #0
	asr	w22, w22, #3
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21, #8]
	bl	_SnP_Permute
	mov	w2, #0
	str	wzr, [x21, #4]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w19, w24
	add	w9, w2, w8
	sub	w10, w22, w2
	cmp	w9, w22
	csel	w23, w10, w8, hi
	add	x24, x24, x23
	ldr	w0, [x21, #8]
	mov	x1, x20
	mov	x3, x23
	bl	_SnP_ExtractBytes
	add	x20, x20, x23
	ldr	w8, [x21, #4]
	add	w8, w8, w23
	str	w8, [x21, #4]
	cmp	x24, x19
	b.hs	LBB0_11
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w2, [x21, #4]
	cmp	w2, w22
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x24, x22
	cmp	x8, x19
	b.hi	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x23, x19, x24
	cmp	x23, x22
	b.lo	LBB0_10
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x21, #8]
	bl	_SnP_Permute
	ldr	w0, [x21, #8]
	mov	x1, x20
	mov	w2, #0
	mov	x3, x22
	bl	_SnP_ExtractBytes
	add	x20, x20, x22
	sub	x23, x23, x22
	cmp	x23, x22
	b.hs	LBB0_9
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x24, x19, x23
	cmp	x24, x19
	b.lo	LBB0_6
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
