	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stream_buf_init
_stream_buf_init:                       ## @stream_buf_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rsi), %rdi
	movq	%rdi, 8(%rbx)
	movq	$0, 24(%rbx)
	callq	_alloc_buf
	movl	%eax, 20(%rbx)
	movl	$0, (%rbx)
	movq	%rbx, %rdi
	callq	_stream_buf_reset
	movq	_D_STREAM_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dmsg                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_D_STREAM_DEBUG,4,2             ## @D_STREAM_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"STREAM: INIT maxlen=%d"

	.comm	_PROTO_TCP_SERVER,4,2           ## @PROTO_TCP_SERVER
	.comm	_PS_DISABLED,4,2                ## @PS_DISABLED
	.comm	_PS_ENABLED,4,2                 ## @PS_ENABLED
	.comm	_SF_PORT_SHARE,4,2              ## @SF_PORT_SHARE
	.no_dead_strip	_stream_buf_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stream_buf_init
_stream_buf_init:                       ; @stream_buf_init
	.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, x0
	ldr	x0, [x1]
	str	x0, [x19, #8]
	str	xzr, [x19, #24]
	bl	_alloc_buf
	str	w0, [x19, #20]
	str	wzr, [x19]
	mov	x0, x19
	bl	_stream_buf_reset
Lloh0:
	adrp	x8, _D_STREAM_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_STREAM_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x2, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dmsg
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_D_STREAM_DEBUG,4,2             ; @D_STREAM_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"STREAM: INIT maxlen=%d"

	.comm	_PROTO_TCP_SERVER,4,2           ; @PROTO_TCP_SERVER
	.comm	_PS_DISABLED,4,2                ; @PS_DISABLED
	.comm	_PS_ENABLED,4,2                 ; @PS_ENABLED
	.comm	_SF_PORT_SHARE,4,2              ; @SF_PORT_SHARE
	.no_dead_strip	_stream_buf_init
.subsections_via_symbols
