	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SpongeAbsorb                   ## -- Begin function SpongeAbsorb
	.p2align	4, 0x90
_SpongeAbsorb:                          ## @SpongeAbsorb
	.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
	movl	(%rdi), %eax
	leal	7(%rax), %r13d
	testl	%eax, %eax
	cmovnsl	%eax, %r13d
	movl	$1, %eax
	cmpq	$0, 16(%rdi)
	jne	LBB0_13
## %bb.1:
	movq	%rdx, %rcx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.2:
	movq	%rdi, %r12
	movq	%rsi, %rbx
	sarl	$3, %r13d
	movl	%r13d, %r15d
	xorl	%esi, %esi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rsi
	subq	%r14, %rsi
	cmpq	%rcx, %rsi
	jae	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movl	4(%r12), %edx
	movq	%rcx, %r14
	subq	%rsi, %r14
	testl	%edx, %edx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rsi,%r15), %rax
	cmpq	%rcx, %rax
	ja	LBB0_5
	.p2align	4, 0x90
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r15, %r14
	jb	LBB0_10
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	8(%r12), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	callq	_SnP_AddBytes
	movl	8(%r12), %edi
	callq	_SnP_Permute
	addq	%r15, %rbx
	subq	%r15, %r14
	cmpq	%r15, %r14
	jae	LBB0_8
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	(%rdx,%r14), %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %r13d
	subl	%edx, %r13d
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	cmovbel	%r14d, %r13d
	addq	%r13, %rsi
	movq	%rsi, %r14
	movl	8(%r12), %edi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r13d, %ecx
	callq	_SnP_AddBytes
	addq	%r13, %rbx
	addl	4(%r12), %r13d
	movl	%r13d, 4(%r12)
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r12), %edi
	callq	_SnP_Permute
	movl	$0, 4(%r12)
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %rsi
	cmpq	%rcx, %rsi
	jb	LBB0_3
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SnP_width,4,2                  ## @SnP_width
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SpongeAbsorb                   ; -- Begin function SpongeAbsorb
	.p2align	2
_SpongeAbsorb:                          ; @SpongeAbsorb
	.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
	ldr	w8, [x0]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	ldr	x9, [x0, #16]
	cbz	x9, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_12
LBB0_2:
	mov	x19, x2
	cbz	x2, LBB0_11
; %bb.3:
	mov	x20, x1
	mov	x21, x0
	mov	x24, #0
	asr	w22, w8, #3
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	x24, x19, x23
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	x24, x19
	b.hs	LBB0_11
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w2, [x21, #4]
	add	x8, x24, x22
	sub	x23, x19, x24
	cmp	w2, #0
	ccmp	x8, x19, #2, eq
	b.ls	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w22, w2
	add	w9, w2, w23
	cmp	w9, w22
	csel	w23, w8, w23, hi
	add	x24, x24, x23
	ldr	w0, [x21, #8]
	mov	x1, x20
	mov	x3, x23
	bl	_SnP_AddBytes
	add	x20, x20, x23
	ldr	w8, [x21, #4]
	add	w8, w8, w23
	cmp	w8, w22
	str	w8, [x21, #4]
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21, #8]
	bl	_SnP_Permute
	str	wzr, [x21, #4]
	b	LBB0_5
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x23, x22
	b.lo	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w0, [x21, #8]
	mov	x1, x20
	mov	w2, #0
	mov	x3, x22
	bl	_SnP_AddBytes
	ldr	w0, [x21, #8]
	bl	_SnP_Permute
	add	x20, x20, x22
	sub	x23, x23, x22
	b	LBB0_9
LBB0_11:
	mov	w0, #0
LBB0_12:
	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
	.comm	_SnP_width,4,2                  ; @SnP_width
.subsections_via_symbols
