	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function throtl_get_tg
_throtl_get_tg:                         ## @throtl_get_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_blk_queue_dead
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_2:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	_current@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_task_blkio_cgroup
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_throtl_find_tg
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	testq	%r15, %r15
	jne	LBB0_10
## %bb.3:
	movl	(%rbx), %edi
	callq	_spin_unlock_irq
	movq	%r14, %rdi
	callq	_throtl_alloc_tg
	movq	%rax, %r15
	movl	(%rbx), %edi
	callq	_spin_lock_irq
	movq	%rbx, %rdi
	callq	_blk_queue_dead
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_kfree
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_5:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%r12), %edi
	callq	_task_blkio_cgroup
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_throtl_find_tg
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_kfree
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	%rbx, %r15
	jmp	LBB0_10
LBB0_7:
	testq	%r15, %r15
	je	LBB0_8
## %bb.9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_throtl_init_add_tg_lists
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	jmp	LBB0_10
LBB0_8:
	movq	(%r14), %r15
LBB0_10:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,4,2                    ## @current
	.no_dead_strip	_throtl_get_tg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function throtl_get_tg
_throtl_get_tg:                         ; @throtl_get_tg
	.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	x19, x0
	ldr	x21, [x0, #8]
	mov	x0, x21
	bl	_blk_queue_dead
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, #0
	b	LBB0_10
LBB0_2:
	bl	_rcu_read_lock
Lloh0:
	adrp	x22, _current@GOTPAGE
Lloh1:
	ldr	x22, [x22, _current@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_task_blkio_cgroup
	mov	x1, x0
	mov	x0, x19
	bl	_throtl_find_tg
	mov	x20, x0
	bl	_rcu_read_unlock
	cbnz	x20, LBB0_10
; %bb.3:
	ldr	w0, [x21]
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_throtl_alloc_tg
	mov	x20, x0
	ldr	w0, [x21]
	bl	_spin_lock_irq
	mov	x0, x21
	bl	_blk_queue_dead
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_kfree
	mov	x20, #0
	b	LBB0_10
LBB0_5:
	bl	_rcu_read_lock
	ldr	w0, [x22]
	bl	_task_blkio_cgroup
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_throtl_find_tg
	cbz	x0, LBB0_7
; %bb.6:
	mov	x22, x0
	mov	x0, x20
	bl	_kfree
	bl	_rcu_read_unlock
	mov	x20, x22
	b	LBB0_10
LBB0_7:
	cbz	x20, LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_throtl_init_add_tg_lists
	bl	_rcu_read_unlock
	b	LBB0_10
LBB0_9:
	ldr	x20, [x19]
LBB0_10:
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_current,4,2                    ; @current
	.no_dead_strip	_throtl_get_tg
.subsections_via_symbols
