	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blk_throtl_bio                 ## -- Begin function blk_throtl_bio
	.p2align	4, 0x90
_blk_throtl_bio:                        ## @blk_throtl_bio
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	movq	%rsi, %rdi
	callq	_bio_data_dir
	movl	%eax, %ebx
	movq	_BIO_RW_THROTTLED@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_bio_rw_flagged
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movb	(%r13), %cl
	movl	$-2, %eax
	roll	%cl, %eax
	andl	%eax, (%r14)
	xorl	%r13d, %r13d
	jmp	LBB0_12
LBB0_2:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_task_blkio_cgroup
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_throtl_find_tg
	movq	%r12, %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_throtl_tg_fill_dev_details
	movq	%r12, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_tg_no_rule_group
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	addq	$40, %r12
	movl	4(%r14), %esi
	movq	_REQ_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	(%r14), %ecx
	movq	%r12, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_blkiocg_update_dispatch_stats
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	jmp	LBB0_12
LBB0_5:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	(%r15), %edi
	callq	_spin_lock_irq
	movq	%rbx, %rdi
	callq	_throtl_get_tg
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rax
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movslq	%edx, %r12
	movq	(%rax,%r12,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_9:
	movq	_READ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r10
	xorl	%ecx, %ecx
	cmpl	%r10d, %edx
	setne	%cl
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	32(%r13), %rdx
	movl	(%rdx,%r12,4), %r8d
	movl	4(%r14), %r9d
	movq	24(%r13), %rdx
	movl	(%rdx,%r12,4), %edx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rdx
	movq	16(%r13), %rsi
	movl	(%rsi,%r12,4), %esi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdx,%r12,4), %edx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	_WRITE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r11
	subq	$8, %rsp
	leal	(%rcx,%rcx,4), %ecx
	addl	$82, %ecx
	leaq	L_.str(%rip), %rdx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r13, %rsi
	pushq	(%rax,%r11,8)
	pushq	(%rax,%r10,8)
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_throtl_log_tg
	addq	$48, %rsp
	movq	8(%r15), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_throtl_add_bio_tg
	movl	$1, %r13d
	testq	%rbx, %rbx
	jne	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_tg_update_disptime
	movq	%r12, %rdi
	callq	_throtl_schedule_next_dispatch
	jmp	LBB0_11
LBB0_7:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_tg_may_dispatch
	testq	%rax, %rax
	je	LBB0_8
## %bb.13:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_throtl_charge_bio
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_throtl_trim_slice
LBB0_11:
	movl	(%r15), %edi
	callq	_spin_unlock_irq
LBB0_12:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_RW_THROTTLED,4,2           ## @BIO_RW_THROTTLED
	.comm	_current,4,2                    ## @current
	.comm	_REQ_SYNC,4,2                   ## @REQ_SYNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%c] bio. bdisp=%u sz=%u bps=%llu iodisp=%u iops=%u queued=%d/%d"

	.comm	_READ,4,2                       ## @READ
	.comm	_WRITE,8,3                      ## @WRITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blk_throtl_bio                 ; -- Begin function blk_throtl_bio
	.p2align	2
_blk_throtl_bio:                        ; @blk_throtl_bio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x19, x0
	ldr	x20, [x0, #8]
	mov	x0, x1
	bl	_bio_data_dir
	mov	x22, x0
Lloh0:
	adrp	x23, _BIO_RW_THROTTLED@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BIO_RW_THROTTLED@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x21
	bl	_bio_rw_flagged
	cbz	x0, LBB0_2
; %bb.1:
	mov	w20, #0
	ldr	w8, [x23]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
	b	LBB0_12
LBB0_2:
	bl	_rcu_read_lock
Lloh2:
	adrp	x8, _current@GOTPAGE
Lloh3:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_task_blkio_cgroup
	mov	x1, x0
	mov	x0, x20
	bl	_throtl_find_tg
	cbz	x0, LBB0_5
; %bb.3:
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_throtl_tg_fill_dev_details
	mov	x0, x23
	mov	x1, x22
	bl	_tg_no_rule_group
	cbz	x0, LBB0_5
; %bb.4:
	add	x0, x23, #40
	ldp	w8, w1, [x21]
Lloh5:
	adrp	x9, _REQ_SYNC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _REQ_SYNC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	and	w3, w9, w8
	mov	x2, x22
	bl	_blkiocg_update_dispatch_stats
	bl	_rcu_read_unlock
	mov	w20, #0
	b	LBB0_12
LBB0_5:
	bl	_rcu_read_unlock
	ldr	w0, [x19]
	bl	_spin_lock_irq
	mov	x0, x20
	bl	_throtl_get_tg
	mov	x23, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_7
LBB0_6:
	mov	w20, #0
	b	LBB0_11
LBB0_7:
	ldr	x8, [x23]
	ldr	x24, [x8, w22, sxtw #3]
	cbz	x24, LBB0_13
LBB0_8:
	sxtw	x9, w22
Lloh8:
	adrp	x10, _READ@GOTPAGE
Lloh9:
	ldr	x10, [x10, _READ@GOTPAGEOFF]
Lloh10:
	ldrsw	x10, [x10]
	lsl	x9, x9, #2
	ldp	x12, x11, [x23, #24]
	ldr	w4, [x11, x9]
	ldr	w6, [x12, x9]
	ldp	x12, x11, [x23, #8]
	ldr	w7, [x11, x9]
	ldr	w9, [x12, x9]
	ldr	x11, [x8, x10, lsl #3]
	ldr	w5, [x21, #4]
Lloh11:
	adrp	x12, _WRITE@GOTPAGE
Lloh12:
	ldr	x12, [x12, _WRITE@GOTPAGEOFF]
Lloh13:
	ldr	x12, [x12]
	ldr	x8, [x8, x12, lsl #3]
	stp	x11, x8, [sp, #8]
	mov	w8, #87
	mov	w11, #82
	str	w9, [sp]
	cmp	w22, w10
	csel	w3, w11, w8, eq
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	bl	_throtl_log_tg
	ldr	x0, [x19, #8]
	mov	x1, x23
	mov	x2, x21
	bl	_throtl_add_bio_tg
	cbnz	x24, LBB0_10
; %bb.9:
	mov	x0, x20
	mov	x1, x23
	bl	_tg_update_disptime
	mov	x0, x20
	bl	_throtl_schedule_next_dispatch
LBB0_10:
	mov	w20, #1
LBB0_11:
	ldr	w0, [x19]
	bl	_spin_unlock_irq
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_13:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x3, #0
	bl	_tg_may_dispatch
	cbz	x0, LBB0_15
; %bb.14:
	mov	x0, x23
	mov	x1, x21
	bl	_throtl_charge_bio
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_throtl_trim_slice
	b	LBB0_6
LBB0_15:
	ldr	x8, [x23]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_RW_THROTTLED,4,2           ; @BIO_RW_THROTTLED
	.comm	_current,4,2                    ; @current
	.comm	_REQ_SYNC,4,2                   ; @REQ_SYNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%c] bio. bdisp=%u sz=%u bps=%llu iodisp=%u iops=%u queued=%d/%d"

	.comm	_READ,4,2                       ; @READ
	.comm	_WRITE,8,3                      ; @WRITE
.subsections_via_symbols
