	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_http2_origin_frame
_build_http2_origin_frame:              ## @build_http2_origin_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$16, %edi
	callq	_h2o_mem_alloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(,%r15,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	shlq	$5, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	testq	%r15, %r15
	je	LBB0_5
## %bb.1:
	xorl	%r12d, %r12d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%r12,2), %rsi
	movq	(%rsi), %rax
	movq	_YOML_TYPE_SCALAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rsi), %rdi
	callq	_strlen
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_htons
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%r12), %rcx
	movl	%eax, (%rdx,%r12)
	movq	%rcx, (%rbx,%r12,8)
	movl	$2, 8(%rbx,%r12,8)
	movq	(%r14,%r12,2), %rax
	movq	8(%rax), %rdi
	movq	%rdi, 16(%rbx,%r12,8)
	movl	%r15d, 24(%rbx,%r12,8)
	movq	%r15, %rsi
	callq	_h2o_strtolower
	addq	$4, %r12
	decq	%r13
	jne	LBB0_2
LBB0_5:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	addq	%rdx, %rdx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_h2o_concat_list
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	%edx, 8(%rcx)
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_h2o_configurator_errprintf
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	xorl	%ecx, %ecx
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movq	%rcx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_YOML_TYPE_SCALAR,8,3           ## @YOML_TYPE_SCALAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"element of a sequence passed to http2-origin-frame must be a scalar"

	.no_dead_strip	_build_http2_origin_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_http2_origin_frame
_build_http2_origin_frame:              ; @build_http2_origin_frame
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x21, x2
	mov	x22, x1
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	w0, #16
	bl	_h2o_mem_alloc
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
	lsl	x8, x21, #2
	mov	x9, x8
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xfffffffffffffff0
	sub	x19, x9, x8
	mov	sp, x19
	lsl	x8, x21, #5
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x23, x9, x8
	mov	sp, x23
	cbz	x21, LBB0_4
; %bb.1:
	add	x25, x23, #16
Lloh7:
	adrp	x26, _YOML_TYPE_SCALAR@GOTPAGE
Lloh8:
	ldr	x26, [x26, _YOML_TYPE_SCALAR@GOTPAGEOFF]
	mov	w27, #2
	mov	x28, x21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22]
	ldr	x8, [x1]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x1, #8]
	bl	_strlen
	mov	x24, x0
	bl	_htons
	mov	x20, x19
	str	w0, [x20], #4
	stur	x19, [x25, #-16]
	stur	w27, [x25, #-8]
	ldr	x8, [x22], #8
	ldr	x0, [x8, #8]
	str	x0, [x25]
	str	w24, [x25, #8]
	mov	x1, x24
	bl	_h2o_strtolower
	add	x25, x25, #32
	mov	x19, x20
	subs	x28, x28, #1
	b.ne	LBB0_2
LBB0_4:
	lsl	x2, x21, #1
	mov	x0, #0
	mov	x1, x23
	bl	_h2o_concat_list
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	stp	x0, x1, [x8]
	mov	x0, x8
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	bl	_h2o_configurator_errprintf
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_free
	mov	x0, #0
LBB0_6:
	ldur	x8, [x29, #-88]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_YOML_TYPE_SCALAR,8,3           ; @YOML_TYPE_SCALAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"element of a sequence passed to http2-origin-frame must be a scalar"

	.no_dead_strip	_build_http2_origin_frame
.subsections_via_symbols
