	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_priority
_set_priority:                          ## @set_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdx), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.1:
	movq	%r12, %rdi
	callq	_h2o_http2_conn_get_stream
	testq	%rax, %rax
	je	LBB0_2
## %bb.14:
	movq	%rax, %rsi
	jmp	LBB0_12
LBB0_2:
	movq	_HTTP2_CLOSED_STREAM_PRIORITIES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	8(%r12), %rcx
	xorl	%edx, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rsi), %rdi
	cmpq	(%rbx), %rdi
	jne	LBB0_7
## %bb.6:
	addq	$8, %rsi
	testq	%rsi, %rsi
	je	LBB0_10
	jmp	LBB0_12
LBB0_8:
	xorl	%esi, %esi
	testq	%rsi, %rsi
	jne	LBB0_12
LBB0_10:
	movq	_h2o_http2_default_priority@GOTPCREL(%rip), %rbx
LBB0_11:
	movq	%r12, %rsi
LBB0_12:
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	movq	%r14, %rdi
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_h2o_http2_scheduler_rebind     ## TAILCALL
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_h2o_http2_scheduler_open       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HTTP2_CLOSED_STREAM_PRIORITIES,8,3 ## @HTTP2_CLOSED_STREAM_PRIORITIES
	.comm	_h2o_http2_default_priority,16,3 ## @h2o_http2_default_priority
	.no_dead_strip	_set_priority
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_priority
_set_priority:                          ; @set_priority
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x1, [x2]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_h2o_http2_conn_get_stream
	cbz	x0, LBB0_4
; %bb.2:
	mov	x1, x0
	b	LBB0_11
LBB0_3:
	mov	x1, x22
	b	LBB0_11
LBB0_4:
Lloh0:
	adrp	x8, _HTTP2_CLOSED_STREAM_PRIORITIES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HTTP2_CLOSED_STREAM_PRIORITIES@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.5:
	ldr	x9, [x22, #8]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x11, [x10]
	ldr	x12, [x21]
	cmp	x11, x12
	b.ne	LBB0_6
; %bb.9:
	add	x8, x10, #8
LBB0_10:
	cmp	x8, #0
	csel	x1, x22, x8, eq
Lloh3:
	adrp	x8, _h2o_http2_default_priority@GOTPAGE
Lloh4:
	ldr	x8, [x8, _h2o_http2_default_priority@GOTPAGEOFF]
	csel	x21, x8, x21, eq
LBB0_11:
	ldp	w3, w2, [x21, #8]
	mov	x0, x19
	cbz	w20, LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_h2o_http2_scheduler_rebind
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_h2o_http2_scheduler_open
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HTTP2_CLOSED_STREAM_PRIORITIES,8,3 ; @HTTP2_CLOSED_STREAM_PRIORITIES
	.comm	_h2o_http2_default_priority,16,3 ; @h2o_http2_default_priority
	.no_dead_strip	_set_priority
.subsections_via_symbols
