	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function throtl_dispatch_tg
_throtl_dispatch_tg:                    ## @throtl_dispatch_tg
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_throtl_grp_quantum@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	(%rcx,%rcx,2), %eax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leal	(%rcx,%rcx,2), %ecx
	addl	$3, %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	sarl	$2, %ecx
	cmpl	$2, %ecx
	movl	$1, %r13d
	cmovael	%ecx, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_READ@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	(%r12), %rdi
	callq	_bio_list_peek
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_tg_may_dispatch
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_bio_data_dir
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_tg_dispatch_one_bio
	incl	%r14d
	cmpl	%r14d, %r13d
	jne	LBB0_1
## %bb.4:
	movl	%r13d, %r14d
LBB0_5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$2, %eax
	movl	$1, %ecx
	cmovael	%eax, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_WRITE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	(%r12), %rdi
	callq	_bio_list_peek
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_tg_may_dispatch
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_bio_data_dir
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_tg_dispatch_one_bio
	incl	%r13d
	cmpl	%r13d, -48(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.9:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r13d
LBB0_10:
	addl	%r14d, %r13d
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_throtl_grp_quantum,4,2         ## @throtl_grp_quantum
	.comm	_READ,8,3                       ## @READ
	.comm	_WRITE,8,3                      ## @WRITE
	.no_dead_strip	_throtl_dispatch_tg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function throtl_dispatch_tg
_throtl_dispatch_tg:                    ; @throtl_dispatch_tg
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w23, #0
Lloh0:
	adrp	x8, _throtl_grp_quantum@GOTPAGE
Lloh1:
	ldr	x8, [x8, _throtl_grp_quantum@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	add	w8, w24, w24, lsl #1
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	cmp	w8, #1
	csinc	w25, w8, wzr, hi
Lloh3:
	adrp	x26, _READ@GOTPAGE
Lloh4:
	ldr	x26, [x26, _READ@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x26]
	add	x0, x8, x9, lsl #2
	bl	_bio_list_peek
	cbz	x0, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, #0
	bl	_tg_may_dispatch
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_bio_data_dir
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_tg_dispatch_one_bio
	add	w23, w23, #1
	cmp	w25, w23
	b.ne	LBB0_1
; %bb.4:
	mov	x23, x25
LBB0_5:
	mov	w25, #0
	cmp	w24, #1
	csinc	w24, w24, wzr, hi
Lloh5:
	adrp	x26, _WRITE@GOTPAGE
Lloh6:
	ldr	x26, [x26, _WRITE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x26]
	add	x0, x8, x9, lsl #2
	bl	_bio_list_peek
	cbz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, #0
	bl	_tg_may_dispatch
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_bio_data_dir
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_tg_dispatch_one_bio
	add	w25, w25, #1
	cmp	w24, w25
	b.ne	LBB0_6
; %bb.9:
	mov	x25, x24
LBB0_10:
	add	w0, w25, w23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_throtl_grp_quantum,4,2         ; @throtl_grp_quantum
	.comm	_READ,8,3                       ; @READ
	.comm	_WRITE,8,3                      ; @WRITE
	.no_dead_strip	_throtl_dispatch_tg
.subsections_via_symbols
