	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_tt_ready_for_ct_kill
_iwl_tt_ready_for_ct_kill:              ## @iwl_tt_ready_for_ct_kill
	.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
	movq	_thermal_throttle@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	movq	_STATUS_EXIT_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	_IWL_TI_CT_KILL@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_IWL_DEBUG_TEMP
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	movq	_STATUS_CT_KILL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_iwl_perform_ct_kill_task       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_thermal_throttle,4,2           ## @thermal_throttle
	.comm	_STATUS_EXIT_PENDING,4,2        ## @STATUS_EXIT_PENDING
	.comm	_IWL_TI_CT_KILL,8,3             ## @IWL_TI_CT_KILL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"entering CT_KILL state when temperature timer expired\n"

	.comm	_STATUS_CT_KILL,4,2             ## @STATUS_CT_KILL
	.comm	_priv,8,3                       ## @priv
	.no_dead_strip	_iwl_tt_ready_for_ct_kill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_tt_ready_for_ct_kill
_iwl_tt_ready_for_ct_kill:              ; @iwl_tt_ready_for_ct_kill
	.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
Lloh0:
	adrp	x8, _thermal_throttle@GOTPAGE
Lloh1:
	ldr	x8, [x8, _thermal_throttle@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
Lloh3:
	adrp	x8, _STATUS_EXIT_PENDING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STATUS_EXIT_PENDING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x20, _IWL_TI_CT_KILL@GOTPAGE
Lloh7:
	ldr	x20, [x20, _IWL_TI_CT_KILL@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_TEMP
	ldr	x8, [x20]
	str	x8, [x19, #8]
Lloh10:
	adrp	x8, _STATUS_CT_KILL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _STATUS_CT_KILL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iwl_perform_ct_kill_task
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_thermal_throttle,4,2           ; @thermal_throttle
	.comm	_STATUS_EXIT_PENDING,4,2        ; @STATUS_EXIT_PENDING
	.comm	_IWL_TI_CT_KILL,8,3             ; @IWL_TI_CT_KILL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"entering CT_KILL state when temperature timer expired\n"

	.comm	_STATUS_CT_KILL,4,2             ; @STATUS_CT_KILL
	.comm	_priv,8,3                       ; @priv
	.no_dead_strip	_iwl_tt_ready_for_ct_kill
.subsections_via_symbols
