	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nbit_copy_through_nondestruct  ## -- Begin function nbit_copy_through_nondestruct
	.p2align	4, 0x90
_nbit_copy_through_nondestruct:         ## @nbit_copy_through_nondestruct
	.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	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r13
	movq	8(%rsi), %r15
	xorl	%r14d, %r14d
	movl	$0, %edi
	cmpq	%r13, (%r15)
	ja	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	8(%r15), %r13
	setbe	%dil
LBB0_2:
	movq	16(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_assert
	movq	16(%r15), %rax
	testq	%rax, %rax
	sete	%cl
	cmpq	%rax, %r13
	setbe	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	testl	%r12d, %r12d
	jle	LBB0_12
## %bb.3:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rbx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	subl	%r13d, %ebx
	xorl	%edi, %edi
	movq	_NET_BUFFER_SIZE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	setae	%dil
	callq	_assert
	cmpl	%ebx, %r12d
	cmovll	%r12d, %ebx
	testl	%ebx, %ebx
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_write_out
	addl	%ebx, %r14d
	subl	%ebx, %r12d
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %eax
	addq	%rax, %r13
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	8(%r15), %r13
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r15), %r15
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %r13
	testl	%r12d, %r12d
	jg	LBB0_4
LBB0_12:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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_copy_through_nondestruct  ; -- Begin function nbit_copy_through_nondestruct
	.p2align	2
_nbit_copy_through_nondestruct:         ; @nbit_copy_through_nondestruct
	.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
	mov	x19, x2
	mov	x20, x0
	ldp	x21, x24, [x1]
	ldr	x8, [x24]
	cmp	x8, x21
	b.ls	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	x8, [x24, #8]
	cmp	x21, x8
	cset	w0, ls
LBB0_3:
	ldr	x25, [x1, #16]
	bl	_assert
	ldr	x8, [x24, #16]
	cmp	x8, #0
	ccmp	x21, x8, #0, ne
	cset	w0, ls
	bl	_assert
	cmp	w19, #1
	b.lt	LBB0_13
; %bb.4:
	mov	w22, #0
Lloh0:
	adrp	x26, _NET_BUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _NET_BUFFER_SIZE@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #16]
	cbnz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x26]
	sub	w23, w8, w21
	cmp	w9, w23
	cset	w0, hs
	bl	_assert
	cmp	w19, w23
	csel	w23, w19, w23, lt
	cmp	w23, #1
	b.lt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	bl	_write_out
	add	w22, w23, w22
	subs	w19, w19, w23
	b.eq	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, w23, uxtw
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24, #8]
	cmp	x21, x8
	b.ne	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x24, [x24, #24]
	cmp	x24, x25
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x24]
	cmp	w19, #0
	b.gt	LBB0_5
	b	LBB0_14
LBB0_13:
	mov	w22, #0
LBB0_14:
	mov	x0, x22
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NET_BUFFER_SIZE,4,2            ; @NET_BUFFER_SIZE
.subsections_via_symbols
