	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unregister_stream
_unregister_stream:                     ## @unregister_stream
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movl	24(%rax), %esi
	movl	12(%rdi), %edx
	callq	_kh_get
	movq	%rax, %r14
	movq	(%rbx), %rax
	movl	24(%rax), %edi
	callq	_kh_end
	xorl	%edi, %edi
	cmpq	%rax, %r14
	setne	%dil
	callq	_assert
	movq	(%rbx), %rax
	movl	24(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_kh_del
	movq	(%rbx), %rdx
	decq	8(%rdx)
	jne	LBB0_2
## %bb.1:
	movq	16(%rdx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	callq	_h2o_timer_link
	movq	(%rbx), %rdx
LBB0_2:
	movl	8(%rbx), %edi
	movq	%rdx, %rsi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_adjust_conn_linkedlist         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_unregister_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unregister_stream
_unregister_stream:                     ; @unregister_stream
	.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	x8, [x0]
	ldr	w1, [x8, #24]
	ldr	w2, [x0, #12]
	bl	_kh_get
	mov	x20, x0
	ldr	x8, [x19]
	ldr	w0, [x8, #24]
	bl	_kh_end
	cmp	x20, x0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19]
	ldr	w1, [x8, #24]
	mov	x0, x19
	mov	x2, x20
	bl	_kh_del
	ldr	x2, [x19]
	ldr	x8, [x2, #8]
	subs	x8, x8, #1
	str	x8, [x2, #8]
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x2, #16]
	ldp	w1, w0, [x8]
	bl	_h2o_timer_link
	ldr	x2, [x19]
LBB0_2:
	ldr	w0, [x19, #8]
	mov	x1, x2
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_adjust_conn_linkedlist
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_unregister_stream
.subsections_via_symbols
