	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nbit_total_ready_bytes         ## -- Begin function nbit_total_ready_bytes
	.p2align	4, 0x90
_nbit_total_ready_bytes:                ## @nbit_total_ready_bytes
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	(%r15), %rax
	movq	_NB_MAGIC_HEAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_NB_MAGIC_BUSYHEAD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movl	8(%r15), %r13d
	movq	_NET_BUFFERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$12, %eax
	xorl	%edi, %edi
	cmpl	%eax, %r13d
	setl	%dil
	callq	_assert
	movq	8(%r14), %rbx
	movq	16(%rbx), %r12
	testq	%r12, %r12
	jne	LBB0_4
## %bb.3:
	movq	24(%rbx), %r12
LBB0_4:
	movq	(%r14), %rax
	cmpq	%rax, 32(%rbx)
	setbe	%cl
	cmpq	%r12, %rax
	setbe	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	subl	(%r14), %r12d
	movq	_NET_BUFFER_SIZE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%r12d, (%rax)
	setge	%dil
	callq	_assert
	movq	48(%rbx), %rbx
	cmpq	%r15, %rbx
	je	LBB0_10
## %bb.5:
	incl	%r13d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	subl	32(%rbx), %r14d
	setns	%al
	movq	_NET_BUFFER_SIZE@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	setge	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	addl	%r14d, %r12d
	movq	48(%rbx), %rbx
	decl	%r13d
	cmpq	%r15, %rbx
	je	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	cmpq	32(%rbx), %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	testl	%r13d, %r13d
	setg	%dil
	callq	_assert
	movq	16(%rbx), %r14
	testq	%r14, %r14
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%rbx), %r14
	jmp	LBB0_9
LBB0_10:
	xorl	%edi, %edi
	cmpl	40(%r15), %r12d
	setle	%dil
	callq	_assert
	jmp	LBB0_11
LBB0_1:
	xorl	%r12d, %r12d
LBB0_11:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NB_MAGIC_HEAD,8,3              ## @NB_MAGIC_HEAD
	.comm	_NB_MAGIC_BUSYHEAD,8,3          ## @NB_MAGIC_BUSYHEAD
	.comm	_NET_BUFFERS,4,2                ## @NET_BUFFERS
	.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_total_ready_bytes         ; -- Begin function nbit_total_ready_bytes
	.p2align	2
_nbit_total_ready_bytes:                ; @nbit_total_ready_bytes
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x20, [x0, #16]
	cbz	x20, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _NB_MAGIC_HEAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NB_MAGIC_HEAD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh3:
	adrp	x9, _NB_MAGIC_BUSYHEAD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NB_MAGIC_BUSYHEAD@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	w23, [x20, #8]
Lloh6:
	adrp	x8, _NET_BUFFERS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NET_BUFFERS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w8, w8, #12
	cmp	w23, w8
	cset	w0, lt
	bl	_assert
	ldr	x22, [x19, #8]
	ldr	x24, [x22, #16]
	cbnz	x24, LBB0_3
; %bb.2:
	ldr	x24, [x22, #24]
LBB0_3:
	ldr	x8, [x22, #32]
	ldr	x9, [x19]
	cmp	x8, x9
	ccmp	x9, x24, #2, ls
	cset	w0, ls
	bl	_assert
	ldr	w8, [x19]
Lloh9:
	adrp	x21, _NET_BUFFER_SIZE@GOTPAGE
Lloh10:
	ldr	x21, [x21, _NET_BUFFER_SIZE@GOTPAGEOFF]
	ldr	w9, [x21]
	sub	w19, w24, w8
	cmp	w9, w19
	cset	w0, ge
	bl	_assert
	ldr	x22, [x22, #48]
	cmp	x22, x20
	b.eq	LBB0_9
; %bb.4:
	add	w23, w23, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x22, #32]
	sub	w24, w8, w9
	cmp	w24, #0
	ldr	w8, [x21]
	ccmp	w8, w24, #8, ge
	cset	w0, ge
	bl	_assert
	add	w19, w19, w24
	ldr	x22, [x22, #48]
	sub	w23, w23, #1
	cmp	x22, x20
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #16]
	ldr	x9, [x22, #32]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w23, #0
	cset	w0, gt
	bl	_assert
	ldr	x8, [x22, #16]
	cbnz	x8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22, #24]
	b	LBB0_5
LBB0_9:
	ldr	w8, [x20, #40]
	cmp	w19, w8
	cset	w0, le
	bl	_assert
	b	LBB0_11
LBB0_10:
	mov	w19, #0
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NB_MAGIC_HEAD,8,3              ; @NB_MAGIC_HEAD
	.comm	_NB_MAGIC_BUSYHEAD,8,3          ; @NB_MAGIC_BUSYHEAD
	.comm	_NET_BUFFERS,4,2                ; @NET_BUFFERS
	.comm	_NET_BUFFER_SIZE,4,2            ; @NET_BUFFER_SIZE
.subsections_via_symbols
