	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nbit_read_in                   ## -- Begin function nbit_read_in
	.p2align	4, 0x90
_nbit_read_in:                          ## @nbit_read_in
	.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	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rax
	movq	(%rdi), %rbx
	movq	8(%rdi), %r13
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %edi
	cmpq	%rbx, (%r13)
	ja	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	8(%r13), %rbx
	setbe	%dil
LBB0_2:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_assert
	movq	16(%r13), %rax
	testq	%rax, %rax
	sete	%cl
	cmpq	%rax, %rbx
	setbe	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	testl	%r12d, %r12d
	jle	LBB0_12
## %bb.3:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %r14
	testq	%r14, %r14
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %r14
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	subl	%ebx, %r14d
	xorl	%edi, %edi
	movq	_NET_BUFFER_SIZE@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	setae	%dil
	callq	_assert
	cmpl	%r14d, %r12d
	cmovll	%r12d, %r14d
	testl	%r14d, %r14d
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	addl	%r14d, -44(%rbp)                ## 4-byte Folded Spill
	movl	%r14d, %eax
	addq	%rax, %rbx
	subl	%r14d, %r12d
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	%rax, %r15
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	8(%r13), %rbx
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r13), %rdx
	cmpq	-56(%rbp), %rdx                 ## 8-byte Folded Reload
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rdx), %rbx
	movq	%rdx, %r13
	testl	%r12d, %r12d
	jg	LBB0_4
## %bb.15:
	cmpq	8(%rdx), %rbx
	je	LBB0_18
LBB0_16:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_20
LBB0_12:
	movq	%r13, %rdx
	cmpq	8(%rdx), %rbx
	jne	LBB0_16
LBB0_18:
	movq	24(%rdx), %rcx
	cmpq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_20
## %bb.19:
	movq	(%rcx), %rbx
	movq	%rcx, %rdx
LBB0_20:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, (%rcx)
	movq	%rdx, 8(%rcx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r13, %rdx
	cmpq	8(%rdx), %rbx
	jne	LBB0_16
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_NET_BUFFER_SIZE,4,2            ## @NET_BUFFER_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nbit_read_in                   ; -- Begin function nbit_read_in
	.p2align	2
_nbit_read_in:                          ; @nbit_read_in
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldp	x20, x24, [x0]
	ldr	x8, [x24]
	cmp	x8, x20
	b.ls	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	x8, [x24, #8]
	cmp	x20, x8
	cset	w0, ls
LBB0_3:
	ldr	x25, [x19, #16]
	bl	_assert
	ldr	x8, [x24, #16]
	cmp	x8, #0
	ccmp	x20, x8, #0, ne
	cset	w0, ls
	bl	_assert
	cmp	w22, #1
	b.lt	LBB0_14
; %bb.4:
	mov	w21, #0
Lloh0:
	adrp	x26, _NET_BUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _NET_BUFFER_SIZE@GOTPAGEOFF]
	mov	x27, x24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27, #16]
	cbnz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x26]
	sub	w24, w8, w20
	cmp	w9, w24
	cset	w0, hs
	bl	_assert
	cmp	w22, w24
	csel	w24, w22, w24, lt
	cmp	w24, #1
	b.lt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	x1, x20
	mov	x2, x24
	bl	_memcpy
	add	w21, w24, w21
	add	x20, x20, x24
	subs	w22, w22, w24
	b.eq	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, x24
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27, #8]
	cmp	x20, x8
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x24, [x27, #24]
	cmp	x24, x25
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x24]
	mov	x27, x24
	cmp	w22, #0
	b.gt	LBB0_5
	b	LBB0_15
LBB0_13:
	mov	x24, x27
	b	LBB0_15
LBB0_14:
	mov	w21, #0
LBB0_15:
	ldr	x8, [x24, #8]
	cmp	x20, x8
	b.ne	LBB0_18
; %bb.16:
	ldr	x8, [x24, #24]
	cmp	x8, x25
	b.eq	LBB0_18
; %bb.17:
	ldr	x20, [x8]
	mov	x24, x8
LBB0_18:
	stp	x20, x24, [x19]
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NET_BUFFER_SIZE,4,2            ; @NET_BUFFER_SIZE
.subsections_via_symbols
