	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_thermal_initialize     ## -- Begin function iwl_mvm_thermal_initialize
	.p2align	4, 0x90
_iwl_mvm_thermal_initialize:            ## @iwl_mvm_thermal_initialize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_IWL_DEBUG_TEMP
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_iwl_mvm_default_tt_params@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	$0, 16(%rbx)
	movl	%r14d, 28(%rbx)
	leaq	24(%rbx), %rdi
	movq	_check_exit_ctkill@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	_IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Initialize Thermal Throttling\n"

	.comm	_iwl_mvm_default_tt_params,4,2  ## @iwl_mvm_default_tt_params
	.comm	_check_exit_ctkill,4,2          ## @check_exit_ctkill
	.comm	_IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE,4,2 ## @IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_thermal_initialize     ; -- Begin function iwl_mvm_thermal_initialize
	.p2align	2
_iwl_mvm_thermal_initialize:            ; @iwl_mvm_thermal_initialize
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_IWL_DEBUG_TEMP
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x9, _iwl_mvm_default_tt_params@GOTPAGE
Lloh3:
	ldr	x9, [x9, _iwl_mvm_default_tt_params@GOTPAGEOFF]
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	xzr, [x20, #16]
	stp	w19, w8, [x20, #28]
	add	x0, x20, #24
Lloh4:
	adrp	x8, _check_exit_ctkill@GOTPAGE
Lloh5:
	ldr	x8, [x8, _check_exit_ctkill@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
Lloh7:
	adrp	x8, _IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Initialize Thermal Throttling\n"

	.comm	_iwl_mvm_default_tt_params,4,2  ; @iwl_mvm_default_tt_params
	.comm	_check_exit_ctkill,4,2          ; @check_exit_ctkill
	.comm	_IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE,4,2 ; @IWL_MVM_INIT_STATUS_THERMAL_INIT_COMPLETE
.subsections_via_symbols
