	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_priority
_test_priority:                         ## @test_priority
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_H2O_HTTP3_PRIORITY_FRAME_CAPACITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	-92(%rbp), %rdi
	callq	_h2o_mem_init_pool
	movq	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_REQUEST_STREAM@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, -64(%rbp)
	movl	$12345, -56(%rbp)               ## imm = 0x3039
	movq	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_ROOT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movl	$67890, -72(%rbp)               ## imm = 0x10932
	movl	$123, -88(%rbp)
	leaq	-88(%rbp), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_h2o_http3_encode_priority_frame
	subq	%r12, %rax
	movq	%rax, %rbx
	sarq	$3, %rbx
	xorl	%edi, %edi
	cmpq	$48, %rax
	sete	%dil
	callq	_ok
	movq	(%r12), %rax
	movq	_H2O_HTTP3_FRAME_TYPE_PRIORITY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ok
	addq	$-2, %rbx
	xorl	%edi, %edi
	cmpq	%rbx, 8(%r12)
	sete	%dil
	callq	_ok
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	leaq	16(%r12), %r13
	leaq	-104(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_h2o_http3_decode_priority_frame
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	-64(%rbp), %rax
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$12345, -56(%rbp)               ## imm = 0x3039
	sete	%dil
	callq	_ok
	movq	-80(%rbp), %rax
	xorl	%edi, %edi
	movq	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_ROOT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$0, -72(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$0, -84(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$123, -88(%rbp)
	sete	%dil
	callq	_ok
	movq	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_PLACEHOLDER@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, -64(%rbp)
	movl	$12345, -56(%rbp)               ## imm = 0x3039
	movl	$1, -84(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_h2o_http3_encode_priority_frame
	subq	%r12, %rax
	movq	%rax, %rbx
	sarq	$3, %rbx
	xorl	%edi, %edi
	cmpq	$48, %rax
	sete	%dil
	callq	_ok
	movq	(%r12), %rax
	xorl	%edi, %edi
	movq	_H2O_HTTP3_FRAME_TYPE_PRIORITY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ok
	addq	$-2, %rbx
	xorl	%edi, %edi
	cmpq	%rbx, 8(%r12)
	sete	%dil
	callq	_ok
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	leaq	-104(%rbp), %rcx
	callq	_h2o_http3_decode_priority_frame
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	-64(%rbp), %rax
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$12345, -56(%rbp)               ## imm = 0x3039
	sete	%dil
	callq	_ok
	movq	-80(%rbp), %rax
	xorl	%edi, %edi
	movq	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_ROOT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$0, -72(%rbp)
	sete	%dil
	callq	_ok
	movl	-84(%rbp), %edi
	callq	_ok
	xorl	%edi, %edi
	cmpl	$123, -88(%rbp)
	sete	%dil
	callq	_ok
	movq	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_REQUEST_STREAM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movl	$67890, -72(%rbp)               ## imm = 0x10932
	movl	$0, -84(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_h2o_http3_encode_priority_frame
	subq	%r12, %rax
	movq	%rax, %r14
	sarq	$3, %r14
	xorl	%edi, %edi
	cmpq	$80, %rax
	sete	%dil
	callq	_ok
	movq	(%r12), %rax
	xorl	%edi, %edi
	movq	_H2O_HTTP3_FRAME_TYPE_PRIORITY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ok
	leaq	-2(%r14), %rbx
	xorl	%edi, %edi
	cmpq	%rbx, 8(%r12)
	sete	%dil
	callq	_ok
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	leaq	-104(%rbp), %rbx
	movq	%rbx, %rcx
	callq	_h2o_http3_decode_priority_frame
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ok
	movq	-64(%rbp), %rax
	xorl	%edi, %edi
	movq	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_PLACEHOLDER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$12345, -56(%rbp)               ## imm = 0x3039
	sete	%dil
	callq	_ok
	movq	-80(%rbp), %rax
	xorl	%edi, %edi
	movq	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_REQUEST_STREAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$67890, -72(%rbp)               ## imm = 0x10932
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$0, -84(%rbp)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$123, -88(%rbp)
	sete	%dil
	callq	_ok
	movl	$1, %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rcx
	callq	_h2o_http3_decode_priority_frame
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_ok
	decq	%r14
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_h2o_http3_decode_priority_frame
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_ok
	leaq	-92(%rbp), %rdi
	callq	_h2o_mem_clear_pool
	movq	-112(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP3_PRIORITY_FRAME_CAPACITY,4,2 ## @H2O_HTTP3_PRIORITY_FRAME_CAPACITY
	.comm	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_REQUEST_STREAM,8,3 ## @H2O_HTTP3_PRIORITY_ELEMENT_TYPE_REQUEST_STREAM
	.comm	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_ROOT,8,3 ## @H2O_HTTP3_PRIORITY_ELEMENT_TYPE_ROOT
	.comm	_H2O_HTTP3_FRAME_TYPE_PRIORITY,8,3 ## @H2O_HTTP3_FRAME_TYPE_PRIORITY
	.comm	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_PLACEHOLDER,8,3 ## @H2O_HTTP3_PRIORITY_ELEMENT_TYPE_PLACEHOLDER
	.no_dead_strip	_test_priority
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_priority
_test_priority:                         ; @test_priority
	.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, #64
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _H2O_HTTP3_PRIORITY_FRAME_CAPACITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H2O_HTTP3_PRIORITY_FRAME_CAPACITY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	sub	x0, x29, #92
	bl	_h2o_mem_init_pool
Lloh8:
	adrp	x23, _H2O_HTTP3_PRIORITY_ELEMENT_TYPE_REQUEST_STREAM@GOTPAGE
Lloh9:
	ldr	x23, [x23, _H2O_HTTP3_PRIORITY_ELEMENT_TYPE_REQUEST_STREAM@GOTPAGEOFF]
	ldr	x8, [x23]
	stur	x8, [x29, #-112]
	mov	w25, #12345
	stur	w25, [x29, #-104]
Lloh10:
	adrp	x27, _H2O_HTTP3_PRIORITY_ELEMENT_TYPE_ROOT@GOTPAGE
Lloh11:
	ldr	x27, [x27, _H2O_HTTP3_PRIORITY_ELEMENT_TYPE_ROOT@GOTPAGEOFF]
	ldr	x8, [x27]
	stur	x8, [x29, #-128]
	mov	w24, #2354
	movk	w24, #1, lsl #16
	stur	w24, [x29, #-120]
	mov	w8, #123
	stur	w8, [x29, #-136]
	sub	x1, x29, #136
	mov	x0, x20
	bl	_h2o_http3_encode_priority_frame
	sub	x8, x0, x20
	asr	x19, x8, #3
	cmp	x8, #48
	cset	w0, eq
	bl	_ok
	ldr	x8, [x20]
Lloh12:
	adrp	x26, _H2O_HTTP3_FRAME_TYPE_PRIORITY@GOTPAGE
Lloh13:
	ldr	x26, [x26, _H2O_HTTP3_FRAME_TYPE_PRIORITY@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	ldr	x8, [x20, #8]
	sub	x21, x19, #2
	cmp	x8, x21
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #136
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	add	x19, x20, #16
	sub	x0, x29, #136
	sub	x3, x29, #144
	mov	x1, x19
	mov	x2, x21
	bl	_h2o_http3_decode_priority_frame
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	ldur	x8, [x29, #-112]
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	ldur	w8, [x29, #-104]
	cmp	w8, w25
	cset	w0, eq
	bl	_ok
	ldur	x8, [x29, #-128]
	ldr	x9, [x27]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	ldur	w8, [x29, #-120]
	cmp	w8, #0
	cset	w0, eq
	bl	_ok
	ldur	w8, [x29, #-132]
	cmp	w8, #0
	cset	w0, eq
	bl	_ok
	ldur	w8, [x29, #-136]
	cmp	w8, #123
	cset	w0, eq
	bl	_ok
Lloh14:
	adrp	x28, _H2O_HTTP3_PRIORITY_ELEMENT_TYPE_PLACEHOLDER@GOTPAGE
Lloh15:
	ldr	x28, [x28, _H2O_HTTP3_PRIORITY_ELEMENT_TYPE_PLACEHOLDER@GOTPAGEOFF]
	ldr	x8, [x28]
	stur	x8, [x29, #-112]
	stur	w25, [x29, #-104]
	mov	w8, #1
	stur	w8, [x29, #-132]
	sub	x1, x29, #136
	mov	x0, x20
	bl	_h2o_http3_encode_priority_frame
	sub	x8, x0, x20
	asr	x21, x8, #3
	cmp	x8, #48
	cset	w0, eq
	bl	_ok
	ldr	x8, [x20]
	ldr	x9, [x26]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	ldr	x8, [x20, #8]
	sub	x21, x21, #2
	cmp	x8, x21
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #136
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	sub	x0, x29, #136
	sub	x3, x29, #144
	mov	x1, x19
	mov	x2, x21
	bl	_h2o_http3_decode_priority_frame
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	ldur	x8, [x29, #-112]
	ldr	x9, [x28]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	ldur	w8, [x29, #-104]
	cmp	w8, w25
	cset	w0, eq
	bl	_ok
	ldur	x8, [x29, #-128]
	ldr	x9, [x27]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	ldur	w8, [x29, #-120]
	cmp	w8, #0
	cset	w0, eq
	bl	_ok
	ldur	w0, [x29, #-132]
	bl	_ok
	ldur	w8, [x29, #-136]
	cmp	w8, #123
	cset	w0, eq
	bl	_ok
	ldr	x8, [x23]
	stur	x8, [x29, #-128]
	stur	w24, [x29, #-120]
	stur	wzr, [x29, #-132]
	sub	x1, x29, #136
	mov	x0, x20
	bl	_h2o_http3_encode_priority_frame
	sub	x8, x0, x20
	asr	x21, x8, #3
	cmp	x8, #80
	cset	w0, eq
	bl	_ok
	ldr	x8, [x20]
	ldr	x9, [x26]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	ldr	x8, [x20, #8]
	sub	x20, x21, #2
	cmp	x8, x20
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #136
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	sub	x0, x29, #136
	sub	x3, x29, #144
	mov	x1, x19
	mov	x2, x20
	bl	_h2o_http3_decode_priority_frame
	cmp	w0, #0
	cset	w0, eq
	bl	_ok
	ldur	x8, [x29, #-112]
	ldr	x9, [x28]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	ldur	w8, [x29, #-104]
	cmp	w8, w25
	cset	w0, eq
	bl	_ok
	ldur	x8, [x29, #-128]
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	ldur	w8, [x29, #-120]
	cmp	w8, w24
	cset	w0, eq
	bl	_ok
	ldur	w8, [x29, #-132]
	cmp	w8, #0
	cset	w0, eq
	bl	_ok
	ldur	w8, [x29, #-136]
	cmp	w8, #123
	cset	w0, eq
	bl	_ok
	sub	x0, x29, #136
	sub	x3, x29, #144
	mov	x1, x19
	mov	w2, #1
	bl	_h2o_http3_decode_priority_frame
	cmp	w0, #0
	cset	w0, ne
	bl	_ok
	sub	x2, x21, #1
	sub	x0, x29, #136
	sub	x3, x29, #144
	mov	x1, x19
	bl	_h2o_http3_decode_priority_frame
	cmp	w0, #0
	cset	w0, ne
	bl	_ok
	sub	x0, x29, #92
	bl	_h2o_mem_clear_pool
	mov	sp, x22
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	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_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP3_PRIORITY_FRAME_CAPACITY,4,2 ; @H2O_HTTP3_PRIORITY_FRAME_CAPACITY
	.comm	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_REQUEST_STREAM,8,3 ; @H2O_HTTP3_PRIORITY_ELEMENT_TYPE_REQUEST_STREAM
	.comm	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_ROOT,8,3 ; @H2O_HTTP3_PRIORITY_ELEMENT_TYPE_ROOT
	.comm	_H2O_HTTP3_FRAME_TYPE_PRIORITY,8,3 ; @H2O_HTTP3_FRAME_TYPE_PRIORITY
	.comm	_H2O_HTTP3_PRIORITY_ELEMENT_TYPE_PLACEHOLDER,8,3 ; @H2O_HTTP3_PRIORITY_ELEMENT_TYPE_PLACEHOLDER
	.no_dead_strip	_test_priority
.subsections_via_symbols
