	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_reprioritize
_test_reprioritize:                     ## @test_reprioritize
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -192(%rbp)
	leaq	-184(%rbp), %r13
	leaq	L_.str(%rip), %rax
	movl	%eax, -184(%rbp)
	movq	$0, -176(%rbp)
	movq	$0, -144(%rbp)
	leaq	-136(%rbp), %r14
	leaq	L_.str.1(%rip), %rax
	movl	%eax, -136(%rbp)
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	leaq	-112(%rbp), %rbx
	leaq	L_.str.2(%rip), %rax
	movl	%eax, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -168(%rbp)
	leaq	-160(%rbp), %r15
	leaq	L_.str.3(%rip), %rax
	movl	%eax, -160(%rbp)
	movq	$0, -152(%rbp)
	movq	$0, -96(%rbp)
	leaq	L_.str.4(%rip), %rax
	movl	%eax, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	leaq	L_.str.5(%rip), %rax
	movl	%eax, -64(%rbp)
	movq	$0, -56(%rbp)
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	callq	_h2o_http2_scheduler_init
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$6, %edx
	xorl	%ecx, %ecx
	callq	_h2o_http2_scheduler_open
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$5, %edx
	xorl	%ecx, %ecx
	callq	_h2o_http2_scheduler_open
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_h2o_http2_scheduler_open
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$3, %edx
	xorl	%ecx, %ecx
	callq	_h2o_http2_scheduler_open
	leaq	-88(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_h2o_http2_scheduler_open
	leaq	-64(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r15, %rbx
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_h2o_http2_scheduler_open
	movq	_output@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movb	$0, (%rax)
	movq	%r12, %rdi
	callq	_dump_tree
	movq	(%r14), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	movq	_test_reprioritize_exclusive@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_h2o_http2_scheduler_rebind
	movq	(%r14), %rax
	movb	$0, (%rax)
	movq	%r12, %rdi
	callq	_dump_tree
	cmpl	$0, (%r15)
	movq	(%r14), %rdi
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.8(%rip), %rsi
	cmoveq	%rax, %rsi
	callq	_strcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	movq	%r13, %rdi
	callq	_h2o_http2_scheduler_close
	leaq	-136(%rbp), %rdi
	callq	_h2o_http2_scheduler_close
	leaq	-112(%rbp), %rdi
	callq	_h2o_http2_scheduler_close
	movq	%rbx, %rdi
	callq	_h2o_http2_scheduler_close
	leaq	-88(%rbp), %rdi
	callq	_h2o_http2_scheduler_close
	leaq	-64(%rbp), %rdi
	callq	_h2o_http2_scheduler_close
	movq	%r12, %rdi
	callq	_h2o_http2_scheduler_dispose
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"A"

L_.str.1:                               ## @.str.1
	.asciz	"B"

L_.str.2:                               ## @.str.2
	.asciz	"C"

L_.str.3:                               ## @.str.3
	.asciz	"D"

L_.str.4:                               ## @.str.4
	.asciz	"E"

L_.str.5:                               ## @.str.5
	.asciz	"F"

	.comm	_output,8,3                     ## @output
L_.str.6:                               ## @.str.6
	.asciz	"(A6(B5C4(D3(F1)E2)))"

	.comm	_test_reprioritize_exclusive,4,2 ## @test_reprioritize_exclusive
L_.str.7:                               ## @.str.7
	.asciz	"(D3(F1A1(B5C4(E2))))"

L_.str.8:                               ## @.str.8
	.asciz	"(D3(A1(B5C4(E2)F1)))"

	.no_dead_strip	_test_reprioritize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_reprioritize
_test_reprioritize:                     ; @test_reprioritize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	stur	xzr, [x29, #-96]
	sub	x8, x29, #96
Lloh0:
	adrp	x9, l_.str@PAGE
Lloh1:
	add	x9, x9, l_.str@PAGEOFF
	stur	w9, [x29, #-88]
	add	x20, x8, #8
	stur	xzr, [x29, #-80]
	stp	xzr, xzr, [sp, #96]
	add	x8, sp, #104
	add	x19, x8, #8
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	str	w8, [sp, #112]
	str	xzr, [sp, #120]
	stp	xzr, xzr, [sp, #72]
	add	x8, sp, #80
Lloh4:
	adrp	x9, l_.str.2@PAGE
Lloh5:
	add	x9, x9, l_.str.2@PAGEOFF
	add	x21, x8, #8
	str	w9, [sp, #88]
	stp	xzr, xzr, [sp, #48]
	add	x8, sp, #56
	add	x22, x8, #8
Lloh6:
	adrp	x8, l_.str.3@PAGE
Lloh7:
	add	x8, x8, l_.str.3@PAGEOFF
	str	w8, [sp, #64]
	stp	xzr, xzr, [sp, #24]
	add	x8, sp, #32
	add	x23, x8, #8
Lloh8:
	adrp	x8, l_.str.4@PAGE
Lloh9:
	add	x8, x8, l_.str.4@PAGEOFF
	str	w8, [sp, #40]
	str	xzr, [sp, #8]
	add	x8, sp, #8
	add	x24, x8, #8
Lloh10:
	adrp	x8, l_.str.5@PAGE
Lloh11:
	add	x8, x8, l_.str.5@PAGEOFF
	str	w8, [sp, #16]
	sub	x0, x29, #68
	bl	_h2o_http2_scheduler_init
	sub	x1, x29, #68
	mov	x0, x20
	mov	w2, #6
	mov	w3, #0
	bl	_h2o_http2_scheduler_open
	mov	x0, x19
	mov	x1, x20
	mov	w2, #5
	mov	w3, #0
	bl	_h2o_http2_scheduler_open
	mov	x0, x21
	mov	x1, x20
	mov	w2, #4
	mov	w3, #0
	bl	_h2o_http2_scheduler_open
	mov	x0, x22
	mov	x1, x21
	mov	w2, #3
	mov	w3, #0
	bl	_h2o_http2_scheduler_open
	mov	x0, x23
	mov	x1, x21
	mov	w2, #2
	mov	w3, #0
	bl	_h2o_http2_scheduler_open
	mov	x0, x24
	mov	x1, x22
	mov	w2, #1
	mov	w3, #0
	bl	_h2o_http2_scheduler_open
Lloh12:
	adrp	x25, _output@GOTPAGE
Lloh13:
	ldr	x25, [x25, _output@GOTPAGEOFF]
	ldr	x8, [x25]
	strb	wzr, [x8]
	sub	x0, x29, #68
	bl	_dump_tree
	ldr	x0, [x25]
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
Lloh16:
	adrp	x26, _test_reprioritize_exclusive@GOTPAGE
Lloh17:
	ldr	x26, [x26, _test_reprioritize_exclusive@GOTPAGEOFF]
	ldr	w3, [x26]
	mov	x0, x20
	mov	x1, x22
	mov	w2, #1
	bl	_h2o_http2_scheduler_rebind
	ldr	x8, [x25]
	strb	wzr, [x8]
	sub	x0, x29, #68
	bl	_dump_tree
	ldr	w8, [x26]
	ldr	x0, [x25]
Lloh18:
	adrp	x9, l_.str.8@PAGE
Lloh19:
	add	x9, x9, l_.str.8@PAGEOFF
Lloh20:
	adrp	x10, l_.str.7@PAGE
Lloh21:
	add	x10, x10, l_.str.7@PAGEOFF
	cmp	w8, #0
	csel	x1, x10, x9, eq
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
	mov	x0, x20
	bl	_h2o_http2_scheduler_close
	mov	x0, x19
	bl	_h2o_http2_scheduler_close
	mov	x0, x21
	bl	_h2o_http2_scheduler_close
	mov	x0, x22
	bl	_h2o_http2_scheduler_close
	mov	x0, x23
	bl	_h2o_http2_scheduler_close
	mov	x0, x24
	bl	_h2o_http2_scheduler_close
	sub	x0, x29, #68
	bl	_h2o_http2_scheduler_dispose
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"A"

l_.str.1:                               ; @.str.1
	.asciz	"B"

l_.str.2:                               ; @.str.2
	.asciz	"C"

l_.str.3:                               ; @.str.3
	.asciz	"D"

l_.str.4:                               ; @.str.4
	.asciz	"E"

l_.str.5:                               ; @.str.5
	.asciz	"F"

	.comm	_output,8,3                     ; @output
l_.str.6:                               ; @.str.6
	.asciz	"(A6(B5C4(D3(F1)E2)))"

	.comm	_test_reprioritize_exclusive,4,2 ; @test_reprioritize_exclusive
l_.str.7:                               ; @.str.7
	.asciz	"(D3(F1A1(B5C4(E2))))"

l_.str.8:                               ; @.str.8
	.asciz	"(D3(A1(B5C4(E2)F1)))"

	.no_dead_strip	_test_reprioritize
.subsections_via_symbols
