	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_stream_open
_on_stream_open:                        ## @on_stream_open
	.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	%rsi, %rbx
	movq	%rsi, %rdi
	movl	$8, %esi
	callq	_quicly_streambuf_create
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	8(%rbx), %rax
	movq	$-1, (%rax)
	movq	_stream_callbacks@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stream_callbacks,4,2           ## @stream_callbacks
	.no_dead_strip	_on_stream_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_stream_open
_on_stream_open:                        ; @on_stream_open
	.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	x0, x1
	mov	w1, #8
	bl	_quicly_streambuf_create
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #8]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x8]
Lloh0:
	adrp	x8, _stream_callbacks@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stream_callbacks@GOTPAGEOFF]
	str	x8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_stream_callbacks,4,2           ; @stream_callbacks
	.no_dead_strip	_on_stream_open
.subsections_via_symbols
