	.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	$4, %esi
	callq	_quicly_streambuf_create
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	_ctx@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_2
## %bb.3:
	movq	_client_stream_callbacks@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_server_stream_callbacks@GOTPCREL(%rip), %rcx
LBB0_4:
	movq	%rcx, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ctx,8,3                        ## @ctx
	.comm	_server_stream_callbacks,4,2    ## @server_stream_callbacks
	.comm	_client_stream_callbacks,4,2    ## @client_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, #4
	bl	_quicly_streambuf_create
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ctx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ctx@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _server_stream_callbacks@GOTPAGE
Lloh4:
	ldr	x9, [x9, _server_stream_callbacks@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh5:
	adrp	x10, _client_stream_callbacks@GOTPAGE
Lloh6:
	ldr	x10, [x10, _client_stream_callbacks@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	str	x8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ctx,8,3                        ; @ctx
	.comm	_server_stream_callbacks,4,2    ; @server_stream_callbacks
	.comm	_client_stream_callbacks,4,2    ; @client_stream_callbacks
	.no_dead_strip	_on_stream_open
.subsections_via_symbols
