	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netbuf_copybuf
_netbuf_copybuf:                        ## @netbuf_copybuf
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	xorl	%edi, %edi
	cmpq	8(%rsi), %rax
	setle	%dil
	callq	_assert
	movq	(%rbx), %rax
	movq	16(%r14), %rdi
	cmpq	%rax, 8(%r14)
	jl	LBB0_3
## %bb.1:
	testq	%rdi, %rdi
	jne	LBB0_6
## %bb.2:
	xorl	%edi, %edi
LBB0_3:
	callq	_free
	movq	8(%rbx), %rsi
	movl	$1, %edi
	callq	_calloc
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rdi
	movq	8(%rbx), %rax
	movq	%rax, 8(%r14)
	movq	(%rbx), %rax
LBB0_6:
	movq	%rax, (%r14)
	movq	(%rbx), %rdx
	movq	16(%rbx), %rsi
	callq	_memcpy
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_netbuf_copybuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netbuf_copybuf
_netbuf_copybuf:                        ; @netbuf_copybuf
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldp	x8, x9, [x1]
	cmp	x8, x9
	cset	w0, le
	bl	_assert
	ldr	x8, [x19]
	ldp	x9, x0, [x20, #8]
	cmp	x9, x8
	b.lt	LBB0_2
; %bb.1:
	cbnz	x0, LBB0_4
LBB0_2:
	bl	_free
	ldr	x1, [x19, #8]
	mov	w0, #1
	bl	_calloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_5
; %bb.3:
	ldp	x8, x9, [x19]
	str	x9, [x20, #8]
LBB0_4:
	str	x8, [x20]
	ldr	x1, [x19, #16]
	ldr	x2, [x19]
	bl	_memcpy
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_netbuf_copybuf
.subsections_via_symbols
