	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SpongeAbsorbLastFewBits        ## -- Begin function SpongeAbsorbLastFewBits
	.p2align	4, 0x90
_SpongeAbsorbLastFewBits:               ## @SpongeAbsorbLastFewBits
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	leal	7(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	movl	$1, %eax
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	cmpl	$0, 4(%rdi)
	jne	LBB0_6
## %bb.2:
	movl	%esi, %r15d
	sarl	$3, %ebx
	movl	8(%r14), %edx
	movl	12(%r14), %edi
	callq	_SnP_AddByte
	decl	%ebx
	testb	%r15b, %r15b
	jns	LBB0_5
## %bb.3:
	cmpl	%ebx, 8(%r14)
	jne	LBB0_5
## %bb.4:
	movl	12(%r14), %edi
	callq	_SnP_Permute
LBB0_5:
	movl	12(%r14), %edi
	movl	$128, %esi
	movl	%ebx, %edx
	callq	_SnP_AddByte
	movl	12(%r14), %edi
	callq	_SnP_Permute
	movq	$1, 4(%r14)
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	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
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function SpongeAbsorbLastFewBits
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SpongeAbsorbLastFewBits
	.p2align	2
_SpongeAbsorbLastFewBits:               ; @SpongeAbsorbLastFewBits
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x0]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	cbz	w1, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w9, [x0, #4]
	cbz	w9, LBB0_3
LBB0_2:
	mov	w0, #1
	b	LBB0_8
LBB0_3:
	mov	x20, x1
	asr	w21, w8, #3
	ldp	w2, w0, [x19, #8]
	bl	_SnP_AddByte
	tbnz	w20, #7, LBB0_5
; %bb.4:
	sub	w20, w21, #1
	b	LBB0_7
LBB0_5:
	ldr	w8, [x19, #8]
	sub	w20, w21, #1
	cmp	w8, w20
	b.ne	LBB0_7
; %bb.6:
	ldr	w0, [x19, #12]
	bl	_SnP_Permute
LBB0_7:
	ldr	w0, [x19, #12]
	mov	w1, #128
	mov	x2, x20
	bl	_SnP_AddByte
	ldr	w0, [x19, #12]
	bl	_SnP_Permute
	mov	w0, #0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #4]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SnP_width,4,2                  ; @SnP_width
.subsections_via_symbols
