	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enqueue_goaway
_enqueue_goaway:                        ## @enqueue_goaway
	.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
	movl	%edx, %ecx
	movl	%esi, %edx
	movq	(%rdi), %rax
	movq	_H2O_HTTP2_CONN_STATE_IS_CLOSING@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jge	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	addq	$12, %rdi
	movl	8(%rbx), %esi
	callq	_h2o_http2_encode_goaway_frame
	movq	%rbx, %rdi
	callq	_h2o_http2_conn_request_write
	movq	_H2O_HTTP2_CONN_STATE_HALF_CLOSED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP2_CONN_STATE_IS_CLOSING,8,3 ## @H2O_HTTP2_CONN_STATE_IS_CLOSING
	.comm	_H2O_HTTP2_CONN_STATE_HALF_CLOSED,8,3 ## @H2O_HTTP2_CONN_STATE_HALF_CLOSED
	.no_dead_strip	_enqueue_goaway
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enqueue_goaway
_enqueue_goaway:                        ; @enqueue_goaway
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _H2O_HTTP2_CONN_STATE_IS_CLOSING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _H2O_HTTP2_CONN_STATE_IS_CLOSING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	mov	x3, x2
	mov	x2, x1
	mov	x19, x0
	add	x0, x0, #12
	ldr	w1, [x19, #8]
	bl	_h2o_http2_encode_goaway_frame
	mov	x0, x19
	bl	_h2o_http2_conn_request_write
Lloh3:
	adrp	x8, _H2O_HTTP2_CONN_STATE_HALF_CLOSED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H2O_HTTP2_CONN_STATE_HALF_CLOSED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP2_CONN_STATE_IS_CLOSING,8,3 ; @H2O_HTTP2_CONN_STATE_IS_CLOSING
	.comm	_H2O_HTTP2_CONN_STATE_HALF_CLOSED,8,3 ; @H2O_HTTP2_CONN_STATE_HALF_CLOSED
	.no_dead_strip	_enqueue_goaway
.subsections_via_symbols
