	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_http2_scheduler_rebind     ## -- Begin function h2o_http2_scheduler_rebind
	.p2align	4, 0x90
_h2o_http2_scheduler_rebind:            ## @h2o_http2_scheduler_rebind
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_h2o_http2_scheduler_is_open
	movl	%eax, %edi
	callq	_assert
	leaq	8(%r13), %rbx
	xorl	%edi, %edi
	cmpq	%r15, %rbx
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testl	%r12d, %r12d
	setg	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$258, %r12d                     ## imm = 0x102
	setl	%dil
	callq	_assert
	cmpq	%r15, 8(%r13)
	je	LBB0_1
LBB0_3:
	movl	%r12d, (%r13)
	leaq	16(%r13), %rdi
	callq	_h2o_linklist_is_empty
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rbx, %rax
	jne	LBB0_5
## %bb.7:
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_do_rebind
LBB0_8:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_rebind                      ## TAILCALL
LBB0_1:
	testl	%r14d, %r14d
	jne	LBB0_3
## %bb.2:
	cmpl	%r12d, (%r13)
	jne	LBB0_3
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_http2_scheduler_rebind     ; -- Begin function h2o_http2_scheduler_rebind
	.p2align	2
_h2o_http2_scheduler_rebind:            ; @h2o_http2_scheduler_rebind
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	bl	_h2o_http2_scheduler_is_open
	bl	_assert
	add	x23, x21, #8
	cmp	x23, x20
	cset	w0, ne
	bl	_assert
	cmp	w22, #0
	cset	w0, gt
	bl	_assert
	cmp	w22, #258
	cset	w0, lt
	bl	_assert
	ldr	x8, [x21, #8]
	cmp	x8, x20
	b.eq	LBB0_7
LBB0_1:
	mov	x0, x21
	str	w22, [x0], #16
	bl	_h2o_linklist_is_empty
	cbnz	w0, LBB0_6
; %bb.2:
	mov	x8, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x23
	b.ne	LBB0_3
; %bb.5:
	ldr	x1, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_do_rebind
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_do_rebind
LBB0_7:
	cbnz	w19, LBB0_1
; %bb.8:
	ldr	w8, [x21]
	cmp	w8, w22
	b.ne	LBB0_1
; %bb.9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
