	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function initiate_close
_initiate_close:                        ## @initiate_close
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	24(%rdi), %rax
	movq	_QUICLY_STATE_CLOSING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jge	LBB0_10
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %rbx
	testq	%rcx, %rcx
	leaq	L_.str(%rip), %r12
	cmovneq	%rcx, %r12
	movl	%esi, %edi
	callq	_QUICLY_ERROR_IS_QUIC_TRANSPORT
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r15d, %edi
	callq	_QUICLY_ERROR_GET_ERROR_CODE
	jmp	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%r15d, %edi
	callq	_QUICLY_ERROR_IS_QUIC_APPLICATION
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	%r15d, %edi
	jmp	LBB0_8
LBB0_5:
	movl	%r15d, %edi
	callq	_PTLS_ERROR_GET_CLASS
	movq	_PTLS_ERROR_CLASS_SELF_ALERT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_QUICLY_TRANSPORT_ERROR_TLS_ALERT_BASE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	%r15d, %edi
	callq	_PTLS_ERROR_TO_ALERT
	addq	%r13, %rax
	jmp	LBB0_9
LBB0_7:
	movq	_QUICLY_TRANSPORT_ERROR_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_8:
	callq	_QUICLY_ERROR_GET_ERROR_CODE
	movq	_UINT64_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_9:
	movq	%rax, 16(%rbx)
	movl	%r14d, 8(%rbx)
	movq	%r12, (%rbx)
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_enter_close                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QUICLY_STATE_CLOSING,8,3       ## @QUICLY_STATE_CLOSING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_UINT64_MAX,4,2                 ## @UINT64_MAX
	.comm	_PTLS_ERROR_CLASS_SELF_ALERT,8,3 ## @PTLS_ERROR_CLASS_SELF_ALERT
	.comm	_QUICLY_TRANSPORT_ERROR_TLS_ALERT_BASE,8,3 ## @QUICLY_TRANSPORT_ERROR_TLS_ALERT_BASE
	.comm	_QUICLY_TRANSPORT_ERROR_INTERNAL,4,2 ## @QUICLY_TRANSPORT_ERROR_INTERNAL
	.no_dead_strip	_initiate_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function initiate_close
_initiate_close:                        ; @initiate_close
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x9, _QUICLY_STATE_CLOSING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QUICLY_STATE_CLOSING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x3, #0
	csel	x22, x8, x3, eq
	mov	x0, x1
	bl	_QUICLY_ERROR_IS_QUIC_TRANSPORT
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_QUICLY_ERROR_GET_ERROR_CODE
	b	LBB0_10
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x21
	bl	_QUICLY_ERROR_IS_QUIC_APPLICATION
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x21
	b	LBB0_9
LBB0_6:
	mov	x0, x21
	bl	_PTLS_ERROR_GET_CLASS
Lloh5:
	adrp	x8, _PTLS_ERROR_CLASS_SELF_ALERT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PTLS_ERROR_CLASS_SELF_ALERT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:
Lloh8:
	adrp	x8, _QUICLY_TRANSPORT_ERROR_TLS_ALERT_BASE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QUICLY_TRANSPORT_ERROR_TLS_ALERT_BASE@GOTPAGEOFF]
Lloh10:
	ldr	x23, [x8]
	mov	x0, x21
	bl	_PTLS_ERROR_TO_ALERT
	add	x0, x0, x23
	b	LBB0_10
LBB0_8:
Lloh11:
	adrp	x8, _QUICLY_TRANSPORT_ERROR_INTERNAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QUICLY_TRANSPORT_ERROR_INTERNAL@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
LBB0_9:
	bl	_QUICLY_ERROR_GET_ERROR_CODE
Lloh14:
	adrp	x8, _UINT64_MAX@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UINT64_MAX@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
LBB0_10:
	str	x0, [x19, #16]
	str	w20, [x19, #8]
	str	x22, [x19]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_enter_close
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_QUICLY_STATE_CLOSING,8,3       ; @QUICLY_STATE_CLOSING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_UINT64_MAX,4,2                 ; @UINT64_MAX
	.comm	_PTLS_ERROR_CLASS_SELF_ALERT,8,3 ; @PTLS_ERROR_CLASS_SELF_ALERT
	.comm	_QUICLY_TRANSPORT_ERROR_TLS_ALERT_BASE,8,3 ; @QUICLY_TRANSPORT_ERROR_TLS_ALERT_BASE
	.comm	_QUICLY_TRANSPORT_ERROR_INTERNAL,4,2 ; @QUICLY_TRANSPORT_ERROR_INTERNAL
	.no_dead_strip	_initiate_close
.subsections_via_symbols
