	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_bits
_get_bits:                              ## @get_bits
	.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
	movq	%rdi, %r14
	movl	(%rdi), %eax
	movl	4(%rdi), %edi
	subl	%edi, %eax
	cmpl	%esi, %eax
	jge	LBB0_2
## %bb.1:
	movl	$1, 8(%r14)
	jmp	LBB0_5
LBB0_2:
	movl	%esi, %ebx
	testl	%esi, %esi
	jle	LBB0_5
## %bb.3:
	incl	%ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r14), %esi
	callq	_test_bit
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	leal	(%rcx,%r15,2), %r15d
	movl	4(%r14), %edi
	incl	%edi
	movl	%edi, 4(%r14)
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_4
	jmp	LBB0_6
LBB0_5:
	xorl	%r15d, %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_bits
_get_bits:                              ; @get_bits
	.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
	mov	x19, x0
	ldp	w8, w0, [x0]
	sub	w8, w8, w0
	cmp	w8, w1
	b.ge	LBB0_2
; %bb.1:
	mov	w8, #0
	mov	w9, #1
	str	w9, [x19, #8]
	b	LBB0_6
LBB0_2:
	cmp	w1, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w21, #0
	add	w20, w1, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #12]
	bl	_test_bit
	cmp	x0, #0
	cset	w8, ne
	bfi	w8, w21, #1, #31
	ldr	w9, [x19, #4]
	add	w0, w9, #1
	str	w0, [x19, #4]
	sub	w20, w20, #1
	mov	x21, x8
	cmp	w20, #1
	b.hi	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w8, #0
LBB0_6:
	mov	x0, x8
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_bits
.subsections_via_symbols
