	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_buf
_extract_buf:                           ## @extract_buf
	.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	$328, %rsp                      ## imm = 0x148
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -352(%rbp)                ## 8-byte Spill
	movq	%rdi, %r14
	movq	%rsp, -360(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA_WORKSPACE_WORDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -344(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	-80(%rbp), %rdi
	callq	_sha_init
	movq	8(%r14), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rsi
	addq	%rbx, %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_sha_transform
	addq	$16, %rbx
	movq	8(%r14), %rax
	cmpl	%ebx, (%rax)
	jg	LBB0_2
LBB0_3:
	leaq	-80(%rbp), %r12
	leaq	-336(%rbp), %r13
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$20, %edx
	movq	%r13, %rcx
	callq	_mix_pool_bytes_extract
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_sha_transform
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	-344(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,4), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	-72(%rbp), %edi
	movl	-68(%rbp), %eax
	xorl	%eax, -80(%rbp)
	movl	-64(%rbp), %eax
	xorl	%eax, -76(%rbp)
	movl	$16, %esi
	callq	_rol32
	xorl	%eax, -72(%rbp)
	movq	_EXTRACT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-352(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	callq	_memcpy
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movq	-360(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA_WORKSPACE_WORDS,4,2        ## @SHA_WORKSPACE_WORDS
	.comm	_EXTRACT_SIZE,4,2               ## @EXTRACT_SIZE
	.no_dead_strip	_extract_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_buf
_extract_buf:                           ; @extract_buf
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #288
	mov	x19, sp
	mov	x20, x1
	mov	x22, x0
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _SHA_WORKSPACE_WORDS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHA_WORKSPACE_WORDS@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	lsl	x8, x24, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	sub	x0, x29, #96
	bl	_sha_init
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x1, x25, x8
	sub	x0, x29, #96
	mov	x2, x21
	bl	_sha_transform
	add	x25, x25, #16
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	cmp	w8, w25
	b.gt	LBB0_2
LBB0_3:
	sub	x1, x29, #96
	add	x3, x19, #0
	mov	x0, x22
	mov	w2, #20
	bl	_mix_pool_bytes_extract
	sub	x0, x29, #96
	add	x1, x19, #0
	mov	x2, x21
	bl	_sha_transform
	add	x0, x19, #0
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	lsl	w2, w24, #2
	mov	x0, x21
	mov	w1, #0
	bl	_memset
	ldur	d0, [x29, #-84]
	ldur	d1, [x29, #-96]
	eor.8b	v0, v1, v0
	stur	d0, [x29, #-96]
	ldur	w0, [x29, #-88]
	mov	w1, #16
	bl	_rol32
	ldur	w8, [x29, #-88]
	eor	w8, w8, w0
	stur	w8, [x29, #-88]
Lloh8:
	adrp	x8, _EXTRACT_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EXTRACT_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	sub	x1, x29, #96
	mov	x0, x20
	bl	_memcpy
	sub	x0, x29, #96
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	mov	sp, x23
	ldur	x8, [x29, #-72]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA_WORKSPACE_WORDS,4,2        ; @SHA_WORKSPACE_WORDS
	.comm	_EXTRACT_SIZE,4,2               ; @EXTRACT_SIZE
	.no_dead_strip	_extract_buf
.subsections_via_symbols
