	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_connection_close
_send_connection_close:                 ## @send_connection_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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %rdi
	callq	_strlen
	movq	%rax, %r15
	movq	(%r13), %rax
	movq	_UINT64_MAX@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_QUICLY_FRAME_TYPE_APPLICATION_CLOSE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_QUICLY_FRAME_TYPE_TRANSPORT_CLOSE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	leaq	-156(%rbp), %rdi
	movl	%eax, -160(%rbp)
	movq	8(%r13), %rsi
	callq	_quicly_encodev
	movq	(%r13), %rsi
	cmpq	(%rbx), %rsi
	je	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	callq	_quicly_encodev
LBB0_5:
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_quicly_encodev
	movq	%rax, %rbx
	leaq	-160(%rbp), %rax
	subq	%rax, %rbx
	sarq	$2, %rbx
	leal	(%r15,%rbx), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_allocate_frame
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movq	(%r14), %rdi
	leaq	-160(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	addq	(%r14), %rbx
	movq	%rbx, (%r14)
	movq	16(%r13), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_memcpy
	addq	%r15, (%r14)
	movq	(%r13), %rax
	movq	_UINT64_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.8:
	movq	_APPLICATION_CLOSE_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_probe_now
	movq	8(%r13), %rcx
	movq	16(%r13), %r8
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_QUICLY_PROBE
	jmp	LBB0_9
LBB0_7:
	movq	_TRANSPORT_CLOSE_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_probe_now
	movq	(%r13), %r8
	movq	8(%r13), %rcx
	movq	16(%r13), %r9
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_QUICLY_PROBE
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r12d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT64_MAX,8,3                 ## @UINT64_MAX
	.comm	_QUICLY_FRAME_TYPE_TRANSPORT_CLOSE,4,2 ## @QUICLY_FRAME_TYPE_TRANSPORT_CLOSE
	.comm	_QUICLY_FRAME_TYPE_APPLICATION_CLOSE,4,2 ## @QUICLY_FRAME_TYPE_APPLICATION_CLOSE
	.comm	_TRANSPORT_CLOSE_SEND,4,2       ## @TRANSPORT_CLOSE_SEND
	.comm	_APPLICATION_CLOSE_SEND,4,2     ## @APPLICATION_CLOSE_SEND
	.no_dead_strip	_send_connection_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_connection_close
_send_connection_close:                 ; @send_connection_close
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x0, [x0, #16]
	bl	_strlen
	mov	x21, x0
Lloh3:
	adrp	x24, _UINT64_MAX@GOTPAGE
Lloh4:
	ldr	x24, [x24, _UINT64_MAX@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh5:
	adrp	x9, _QUICLY_FRAME_TYPE_TRANSPORT_CLOSE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _QUICLY_FRAME_TYPE_TRANSPORT_CLOSE@GOTPAGEOFF]
Lloh7:
	adrp	x10, _QUICLY_FRAME_TYPE_APPLICATION_CLOSE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _QUICLY_FRAME_TYPE_APPLICATION_CLOSE@GOTPAGEOFF]
	ldp	x11, x1, [x19]
	cmp	x11, x8
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	add	x22, sp, #20
	add	x0, x22, #4
	str	w8, [sp, #20]
	bl	_quicly_encodev
	ldr	x1, [x19]
	ldr	x8, [x24]
	cmp	x1, x8
	b.eq	LBB0_2
; %bb.1:
	bl	_quicly_encodev
LBB0_2:
	mov	x1, x21
	bl	_quicly_encodev
	sub	x8, x0, x22
	asr	x23, x8, #2
	add	w2, w23, w21
	mov	x0, x19
	mov	x1, x20
	bl	_allocate_frame
	mov	x22, x0
	cbnz	w0, LBB0_7
; %bb.3:
	ldr	x0, [x20]
	add	x1, sp, #20
	mov	x2, x23
	bl	_memcpy
	ldr	x8, [x20]
	add	x0, x8, x23
	str	x0, [x20]
	ldr	x1, [x19, #16]
	mov	x2, x21
	bl	_memcpy
	ldr	x8, [x20]
	add	x8, x8, x21
	str	x8, [x20]
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _APPLICATION_CLOSE_SEND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _APPLICATION_CLOSE_SEND@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	bl	_probe_now
	mov	x2, x0
	ldp	x3, x4, [x19, #8]
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _TRANSPORT_CLOSE_SEND@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRANSPORT_CLOSE_SEND@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	bl	_probe_now
	mov	x2, x0
	ldp	x4, x3, [x19]
	ldr	x8, [x19, #16]
	str	x8, [sp]
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_QUICLY_PROBE
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x22
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT64_MAX,8,3                 ; @UINT64_MAX
	.comm	_QUICLY_FRAME_TYPE_TRANSPORT_CLOSE,4,2 ; @QUICLY_FRAME_TYPE_TRANSPORT_CLOSE
	.comm	_QUICLY_FRAME_TYPE_APPLICATION_CLOSE,4,2 ; @QUICLY_FRAME_TYPE_APPLICATION_CLOSE
	.comm	_TRANSPORT_CLOSE_SEND,4,2       ; @TRANSPORT_CLOSE_SEND
	.comm	_APPLICATION_CLOSE_SEND,4,2     ; @APPLICATION_CLOSE_SEND
	.no_dead_strip	_send_connection_close
.subsections_via_symbols
