	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_http2_encode_ping_frame    ## -- Begin function h2o_http2_encode_ping_frame
	.p2align	4, 0x90
_h2o_http2_encode_ping_frame:           ## @h2o_http2_encode_ping_frame
	.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	%rdx, %rbx
	movl	%esi, %ecx
	movq	_H2O_HTTP2_FRAME_TYPE_PING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_H2O_HTTP2_FRAME_FLAG_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	movl	$8, %esi
	xorl	%r8d, %r8d
	callq	_allocate_frame
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP2_FRAME_TYPE_PING,4,2  ## @H2O_HTTP2_FRAME_TYPE_PING
	.comm	_H2O_HTTP2_FRAME_FLAG_ACK,4,2   ## @H2O_HTTP2_FRAME_FLAG_ACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_http2_encode_ping_frame    ; -- Begin function h2o_http2_encode_ping_frame
	.p2align	2
_h2o_http2_encode_ping_frame:           ; @h2o_http2_encode_ping_frame
	.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, x2
Lloh0:
	adrp	x8, _H2O_HTTP2_FRAME_TYPE_PING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_HTTP2_FRAME_TYPE_PING@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _H2O_HTTP2_FRAME_FLAG_ACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H2O_HTTP2_FRAME_FLAG_ACK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w1, #0
	csel	w3, wzr, w8, eq
	mov	w1, #8
	mov	w4, #0
	bl	_allocate_frame
	mov	x1, x19
	mov	w2, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memcpy
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP2_FRAME_TYPE_PING,4,2  ; @H2O_HTTP2_FRAME_TYPE_PING
	.comm	_H2O_HTTP2_FRAME_FLAG_ACK,4,2   ; @H2O_HTTP2_FRAME_FLAG_ACK
.subsections_via_symbols
