	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_adjust_itr_by_size_and_speed
_ice_adjust_itr_by_size_and_speed:      ## @ice_adjust_itr_by_size_and_speed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %ebx
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.ice_adjust_itr_by_size_and_speed(%rip), %rcx
	movl	(%rcx,%rax,4), %edi
	leaq	l_switch.table.ice_adjust_itr_by_size_and_speed.1(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	jmp	LBB0_3
LBB0_1:
	movl	$4080, %eax                     ## imm = 0xFF0
	movl	$170, %edi
LBB0_3:
	imull	%esi, %edi
	addl	%eax, %edi
	addl	$640, %esi                      ## imm = 0x280
	callq	_DIV_ROUND_UP
	addl	%ebx, %eax
	movq	_ICE_ITR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_ICE_ITR_ADAPTIVE_MAX_USECS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_ICE_ITR_ADAPTIVE_LATENCY@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	addl	%edx, %esi
	cmpl	%edx, %ecx
	cmoval	%esi, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_ITR_MASK,4,2               ## @ICE_ITR_MASK
	.comm	_ICE_ITR_ADAPTIVE_MAX_USECS,4,2 ## @ICE_ITR_ADAPTIVE_MAX_USECS
	.comm	_ICE_ITR_ADAPTIVE_LATENCY,4,2   ## @ICE_ITR_ADAPTIVE_LATENCY
	.no_dead_strip	_ice_adjust_itr_by_size_and_speed
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.ice_adjust_itr_by_size_and_speed
l_switch.table.ice_adjust_itr_by_size_and_speed:
	.long	34                              ## 0x22
	.long	43                              ## 0x2b
	.long	68                              ## 0x44
	.long	85                              ## 0x55
	.long	170                             ## 0xaa
	.long	17                              ## 0x11

	.p2align	2                               ## @switch.table.ice_adjust_itr_by_size_and_speed.1
l_switch.table.ice_adjust_itr_by_size_and_speed.1:
	.long	816                             ## 0x330
	.long	1032                            ## 0x408
	.long	1632                            ## 0x660
	.long	2040                            ## 0x7f8
	.long	4080                            ## 0xff0
	.long	408                             ## 0x198

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_adjust_itr_by_size_and_speed
_ice_adjust_itr_by_size_and_speed:      ; @ice_adjust_itr_by_size_and_speed
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x9, x8, #2, #32
Lloh0:
	adrp	x8, l_switch.table.ice_adjust_itr_by_size_and_speed@PAGE
Lloh1:
	add	x8, x8, l_switch.table.ice_adjust_itr_by_size_and_speed@PAGEOFF
	ldr	w8, [x8, x9]
Lloh2:
	adrp	x10, l_switch.table.ice_adjust_itr_by_size_and_speed.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.ice_adjust_itr_by_size_and_speed.1@PAGEOFF
	ldr	w9, [x10, x9]
	b	LBB0_3
LBB0_2:
	mov	w9, #4080
	mov	w8, #170
LBB0_3:
	madd	w0, w8, w1, w9
	add	w1, w1, #640
	bl	_DIV_ROUND_UP
Lloh4:
	adrp	x8, _ICE_ITR_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ICE_ITR_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	add	w9, w0, w19
	and	w8, w9, w8
Lloh7:
	adrp	x10, _ICE_ITR_ADAPTIVE_MAX_USECS@GOTPAGE
Lloh8:
	ldr	x10, [x10, _ICE_ITR_ADAPTIVE_MAX_USECS@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
Lloh10:
	adrp	x11, _ICE_ITR_ADAPTIVE_LATENCY@GOTPAGE
Lloh11:
	ldr	x11, [x11, _ICE_ITR_ADAPTIVE_LATENCY@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x11]
	and	w11, w11, w9
	add	w11, w11, w10
	cmp	w8, w10
	csel	w0, w11, w9, hi
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_ITR_MASK,4,2               ; @ICE_ITR_MASK
	.comm	_ICE_ITR_ADAPTIVE_MAX_USECS,4,2 ; @ICE_ITR_ADAPTIVE_MAX_USECS
	.comm	_ICE_ITR_ADAPTIVE_LATENCY,4,2   ; @ICE_ITR_ADAPTIVE_LATENCY
	.no_dead_strip	_ice_adjust_itr_by_size_and_speed
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.ice_adjust_itr_by_size_and_speed
l_switch.table.ice_adjust_itr_by_size_and_speed:
	.long	34                              ; 0x22
	.long	43                              ; 0x2b
	.long	68                              ; 0x44
	.long	85                              ; 0x55
	.long	170                             ; 0xaa
	.long	17                              ; 0x11

	.p2align	2                               ; @switch.table.ice_adjust_itr_by_size_and_speed.1
l_switch.table.ice_adjust_itr_by_size_and_speed.1:
	.long	816                             ; 0x330
	.long	1032                            ; 0x408
	.long	1632                            ; 0x660
	.long	2040                            ; 0x7f8
	.long	4080                            ; 0xff0
	.long	408                             ; 0x198

.subsections_via_symbols
