	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_tt_check_exit_ct_kill
_iwl_tt_check_exit_ct_kill:             ## @iwl_tt_check_exit_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
	subq	$16, %rsp
	.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
	leaq	20(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	(%rbx), %rax
	movq	_IWL_TI_CT_KILL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.2:
	xorl	%r14d, %r14d
	cmpl	$0, 8(%rbx)
	sete	%r14b
	movl	16(%rbx), %edi
	jne	LBB0_3
## %bb.4:
	movq	_CSR_UCODE_DRV_GP1_SET@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_CSR_UCODE_DRV_GP1_CLR@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	_CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_iwl_write32
	movl	%r14d, 8(%rbx)
	movl	16(%rbx), %edi
	movq	_CSR_UCODE_DRV_GP1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_iwl_read32
	movl	16(%rbx), %edi
	leaq	-24(%rbp), %rsi
	callq	_iwl_trans_grab_nic_access
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	16(%rbx), %edi
	leaq	-24(%rbp), %rsi
	callq	_iwl_trans_release_nic_access
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_IWL_DEBUG_TEMP
	addq	$12, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_CT_KILL_EXIT_DURATION@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	_HZ@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rsi
	imulq	%rcx, %rsi
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_mod_timer
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.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
	.comm	_CSR_UCODE_DRV_GP1_CLR,4,2      ## @CSR_UCODE_DRV_GP1_CLR
	.comm	_CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT,4,2 ## @CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT
	.comm	_CSR_UCODE_DRV_GP1_SET,4,2      ## @CSR_UCODE_DRV_GP1_SET
	.comm	_CSR_UCODE_DRV_GP1,4,2          ## @CSR_UCODE_DRV_GP1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"schedule ct_kill exit timer\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_CT_KILL_EXIT_DURATION,4,2      ## @CT_KILL_EXIT_DURATION
	.comm	_HZ,4,2                         ## @HZ
	.comm	_priv,8,3                       ## @priv
	.no_dead_strip	_iwl_tt_check_exit_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_check_exit_ct_kill
_iwl_tt_check_exit_ct_kill:             ; @iwl_tt_check_exit_ct_kill
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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]
	add	x1, x19, #20
	bl	_test_bit
	cbnz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _IWL_TI_CT_KILL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IWL_TI_CT_KILL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x19, #8]
	cmp	w8, #0
	cset	w20, eq
Lloh9:
	adrp	x8, _CSR_UCODE_DRV_GP1_SET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CSR_UCODE_DRV_GP1_SET@GOTPAGEOFF]
Lloh11:
	adrp	x9, _CSR_UCODE_DRV_GP1_CLR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CSR_UCODE_DRV_GP1_CLR@GOTPAGEOFF]
	ldr	w0, [x19, #16]
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	bl	_iwl_write32
	str	w20, [x19, #8]
	ldr	w0, [x19, #16]
Lloh16:
	adrp	x8, _CSR_UCODE_DRV_GP1@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CSR_UCODE_DRV_GP1@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_iwl_read32
	ldr	w0, [x19, #16]
	add	x1, sp, #8
	bl	_iwl_trans_grab_nic_access
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #16]
	add	x1, sp, #8
	bl	_iwl_trans_release_nic_access
LBB0_4:
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_TEMP
	add	x0, x19, #12
Lloh21:
	adrp	x8, _jiffies@GOTPAGE
Lloh22:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh23:
	adrp	x9, _CT_KILL_EXIT_DURATION@GOTPAGE
Lloh24:
	ldr	x9, [x9, _CT_KILL_EXIT_DURATION@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
Lloh26:
	ldrsw	x9, [x9]
Lloh27:
	adrp	x10, _HZ@GOTPAGE
Lloh28:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh29:
	ldrsw	x10, [x10]
	madd	x1, x10, x9, x8
	bl	_mod_timer
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpAdd	Lloh19, Lloh20
	.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
	.comm	_CSR_UCODE_DRV_GP1_CLR,4,2      ; @CSR_UCODE_DRV_GP1_CLR
	.comm	_CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT,4,2 ; @CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT
	.comm	_CSR_UCODE_DRV_GP1_SET,4,2      ; @CSR_UCODE_DRV_GP1_SET
	.comm	_CSR_UCODE_DRV_GP1,4,2          ; @CSR_UCODE_DRV_GP1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"schedule ct_kill exit timer\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_CT_KILL_EXIT_DURATION,4,2      ; @CT_KILL_EXIT_DURATION
	.comm	_HZ,4,2                         ; @HZ
	.comm	_priv,8,3                       ; @priv
	.no_dead_strip	_iwl_tt_check_exit_ct_kill
.subsections_via_symbols
