	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_tcm_load
_iwl_mvm_tcm_load:                      ## @iwl_mvm_tcm_load
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %edi
	movq	%rdx, %rsi
	callq	_iwl_mvm_tcm_load_percentage
	movq	_IWL_MVM_TCM_LOAD_HIGH_THRESH@GOTPCREL(%rip), %rdx
	movq	_IWL_MVM_TCM_LOAD_MEDIUM_THRESH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_1
## %bb.2:
	movq	_IWL_MVM_TRAFFIC_MEDIUM@GOTPCREL(%rip), %rcx
	cmpq	(%rdx), %rax
	jg	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_IWL_MVM_TRAFFIC_LOW@GOTPCREL(%rip), %rcx
	cmpq	(%rdx), %rax
	jle	LBB0_5
LBB0_4:
	movq	_IWL_MVM_TRAFFIC_HIGH@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_MVM_TCM_LOAD_HIGH_THRESH,8,3 ## @IWL_MVM_TCM_LOAD_HIGH_THRESH
	.comm	_IWL_MVM_TRAFFIC_HIGH,4,2       ## @IWL_MVM_TRAFFIC_HIGH
	.comm	_IWL_MVM_TCM_LOAD_MEDIUM_THRESH,8,3 ## @IWL_MVM_TCM_LOAD_MEDIUM_THRESH
	.comm	_IWL_MVM_TRAFFIC_MEDIUM,4,2     ## @IWL_MVM_TRAFFIC_MEDIUM
	.comm	_IWL_MVM_TRAFFIC_LOW,4,2        ## @IWL_MVM_TRAFFIC_LOW
	.no_dead_strip	_iwl_mvm_tcm_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_tcm_load
_iwl_mvm_tcm_load:                      ; @iwl_mvm_tcm_load
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x0, x1
	mov	x1, x2
	bl	_iwl_mvm_tcm_load_percentage
Lloh0:
	adrp	x8, _IWL_MVM_TCM_LOAD_HIGH_THRESH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_MVM_TCM_LOAD_HIGH_THRESH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _IWL_MVM_TCM_LOAD_MEDIUM_THRESH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IWL_MVM_TCM_LOAD_MEDIUM_THRESH@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _IWL_MVM_TRAFFIC_HIGH@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IWL_MVM_TRAFFIC_HIGH@GOTPAGEOFF]
Lloh8:
	adrp	x11, _IWL_MVM_TRAFFIC_MEDIUM@GOTPAGE
Lloh9:
	ldr	x11, [x11, _IWL_MVM_TRAFFIC_MEDIUM@GOTPAGEOFF]
Lloh10:
	adrp	x12, _IWL_MVM_TRAFFIC_LOW@GOTPAGE
Lloh11:
	ldr	x12, [x12, _IWL_MVM_TRAFFIC_LOW@GOTPAGEOFF]
	cmp	x0, x9
	csel	x9, x11, x12, gt
	cmp	x0, x8
	csel	x8, x10, x9, gt
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_MVM_TCM_LOAD_HIGH_THRESH,8,3 ; @IWL_MVM_TCM_LOAD_HIGH_THRESH
	.comm	_IWL_MVM_TRAFFIC_HIGH,4,2       ; @IWL_MVM_TRAFFIC_HIGH
	.comm	_IWL_MVM_TCM_LOAD_MEDIUM_THRESH,8,3 ; @IWL_MVM_TCM_LOAD_MEDIUM_THRESH
	.comm	_IWL_MVM_TRAFFIC_MEDIUM,4,2     ; @IWL_MVM_TRAFFIC_MEDIUM
	.comm	_IWL_MVM_TRAFFIC_LOW,4,2        ; @IWL_MVM_TRAFFIC_LOW
	.no_dead_strip	_iwl_mvm_tcm_load
.subsections_via_symbols
