	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function throtl_dispatch
_throtl_dispatch:                       ## @throtl_dispatch
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movl	(%rdi), %edi
	callq	_spin_lock_irq
	movq	%rbx, %rdi
	callq	_throtl_process_limit_change
	movq	%rbx, %rdi
	callq	_total_nr_queued
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	_bio_list_init
	movq	%rbx, %rdi
	callq	_total_nr_queued
	movq	(%rbx), %rdx
	movq	_READ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rdx,%rcx,4), %ecx
	movq	_WRITE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rdx,%rsi,4), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_throtl_log
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_throtl_select_dispatch
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_throtl_log
	movq	%rbx, %rdi
	callq	_throtl_schedule_next_dispatch
	movl	(%r14), %edi
	callq	_spin_unlock_irq
	leaq	-32(%rbp), %rdi
	callq	_bio_list_pop
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	-32(%rbp), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_generic_make_request
	movq	%rbx, %rdi
	callq	_bio_list_pop
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	movq	%r14, %rdi
	callq	_blk_unplug
	jmp	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	callq	_throtl_schedule_next_dispatch
LBB0_7:
	movl	(%r14), %edi
	callq	_spin_unlock_irq
	xorl	%r15d, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dispatch nr_queued=%lu read=%u write=%u"

	.comm	_READ,8,3                       ## @READ
	.comm	_WRITE,8,3                      ## @WRITE
L_.str.1:                               ## @.str.1
	.asciz	"bios disp=%u"

	.no_dead_strip	_throtl_dispatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function throtl_dispatch
_throtl_dispatch:                       ; @throtl_dispatch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	w0, [x0]
	bl	_spin_lock_irq
	mov	x0, x20
	bl	_throtl_process_limit_change
	mov	x0, x20
	bl	_total_nr_queued
	cbz	w0, LBB0_6
; %bb.1:
	add	x0, sp, #24
	bl	_bio_list_init
	mov	x0, x20
	bl	_total_nr_queued
	mov	x2, x0
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _READ@GOTPAGEOFF]
Lloh2:
	adrp	x10, _WRITE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _WRITE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
	ldr	w9, [x8, x9, lsl #2]
	ldr	w8, [x8, x10, lsl #2]
	stp	x9, x8, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_throtl_log
	add	x1, sp, #24
	mov	x0, x20
	bl	_throtl_select_dispatch
	mov	x21, x0
	cbz	w0, LBB0_7
; %bb.2:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_throtl_log
	mov	x0, x20
	bl	_throtl_schedule_next_dispatch
	ldr	w0, [x19]
	bl	_spin_unlock_irq
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	bl	_bio_list_pop
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_generic_make_request
	b	LBB0_3
LBB0_5:
	mov	x0, x19
	bl	_blk_unplug
	b	LBB0_8
LBB0_6:
	ldr	w0, [x19]
	bl	_spin_unlock_irq
	mov	w21, #0
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_throtl_schedule_next_dispatch
	ldr	w0, [x19]
	bl	_spin_unlock_irq
LBB0_8:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dispatch nr_queued=%lu read=%u write=%u"

	.comm	_READ,8,3                       ; @READ
	.comm	_WRITE,8,3                      ; @WRITE
l_.str.1:                               ; @.str.1
	.asciz	"bios disp=%u"

	.no_dead_strip	_throtl_dispatch
.subsections_via_symbols
