	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Extract
_Extract:                               ## @Extract
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	shlq	$3, %rdx
	movl	(%rcx), %r8d
	movslq	%r8d, %r9
	xorl	%eax, %eax
	cmpq	%r9, %rdx
	jbe	LBB0_5
## %bb.1:
	testl	%edi, %edi
	jle	LBB0_5
## %bb.2:
	incq	%r9
	movl	$1, %r10d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r8d, %r11d
	sarl	$3, %r11d
	movslq	%r11d, %r11
	movl	(%rsi,%r11,4), %r11d
	movl	%r8d, %ebx
	andb	$7, %bl
	movzbl	%bl, %r14d
	xorl	%ebx, %ebx
	btl	%r14d, %r11d
	setb	%bl
	leal	(%rbx,%rax,2), %eax
	incl	%r8d
	movl	%r8d, (%rcx)
	cmpq	%r9, %rdx
	jbe	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	%r10d, %r10d
	incq	%r9
	cmpl	%edi, %r10d
	jle	LBB0_3
LBB0_5:
	incl	%edi
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	%edi
	movl	%edx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_Extract
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Extract
_Extract:                               ; @Extract
	.cfi_startproc
; %bb.0:
	lsl	x9, x2, #3
	ldr	w10, [x3]
	sxtw	x11, w10
	cmp	x9, x11
	mov	w8, #0
	ccmp	w0, #1, #8, hi
	b.lt	LBB0_4
; %bb.1:
	add	x11, x11, #1
	mov	w12, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	and	w13, w10, #0x7
	asr	w14, w10, #3
	ldr	w14, [x1, w14, sxtw #2]
	lsr	w13, w14, w13
	bfi	w13, w8, #1, #31
	mov	x8, x13
	add	w10, w10, #1
	str	w10, [x3]
	cmp	x9, x11
	b.ls	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	w12, w12, #1
	add	x11, x11, #1
	cmp	w12, w0
	b.le	LBB0_2
LBB0_4:
	add	w9, w0, #1
	sdiv	w10, w8, w9
	msub	w0, w10, w9, w8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_Extract
.subsections_via_symbols
