	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfq_set_prio_slice
_cfq_set_prio_slice:                    ## @cfq_set_prio_slice
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_cfq_prio_to_slice
	movl	%eax, %r15d
	cmpq	$0, 16(%r14)
	je	LBB0_3
## %bb.1:
	movl	24(%rbx), %r12d
	movq	%rbx, %rdi
	callq	_cfq_class_rt
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_cfq_group_get_avg_queues
	movl	%eax, %r12d
	movq	(%r14), %rax
	movl	4(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	imull	%eax, %r12d
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_cfq_group_slice
	cmpl	%eax, %r12d
	jbe	LBB0_3
## %bb.2:
	movl	%eax, %r13d
	movl	8(%r14), %eax
	imull	%r15d, %eax
	addl	%eax, %eax
	xorl	%edx, %edx
	divl	-44(%rbp)                       ## 4-byte Folded Reload
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_min
	movl	%eax, %esi
	imull	%r15d, %r13d
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	%r12d
	movl	%eax, %edi
	callq	_max
	movl	%eax, %r15d
LBB0_3:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rdx, 16(%rbx)
	movl	%r15d, %ecx
	addq	%rdx, %rcx
	movq	%rcx, (%rbx)
	movl	%r15d, 8(%rbx)
	subq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cfq_log_cfqq                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set_slice=%lu"

	.no_dead_strip	_cfq_set_prio_slice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfq_set_prio_slice
_cfq_set_prio_slice:                    ; @cfq_set_prio_slice
	.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, x1
	mov	x20, x0
	bl	_cfq_prio_to_slice
	mov	x21, x0
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w22, [x19, #24]
	mov	x0, x19
	bl	_cfq_class_rt
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_cfq_group_get_avg_queues
	ldr	x8, [x20]
	ldr	w24, [x8, #4]
	mul	w23, w24, w0
	ldr	w1, [x19, #24]
	mov	x0, x20
	bl	_cfq_group_slice
	cmp	w23, w0
	b.ls	LBB0_3
; %bb.2:
	mov	x22, x0
	ldr	w8, [x20, #8]
	mul	w8, w21, w8
	lsl	w8, w8, #1
	udiv	w1, w8, w24
	mov	x0, x21
	bl	_min
	mov	x1, x0
	mul	w8, w22, w21
	udiv	w0, w8, w23
	bl	_max
	mov	x21, x0
LBB0_3:
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x19, #16]
	add	x9, x9, w21, uxtw
	str	x9, [x19]
	str	w21, [x19, #8]
	ldr	x8, [x8]
	sub	x3, x9, x8
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, 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	_cfq_log_cfqq
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set_slice=%lu"

	.no_dead_strip	_cfq_set_prio_slice
.subsections_via_symbols
