	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il4965_perform_ct_kill_task
_il4965_perform_ct_kill_task:           ## @il4965_perform_ct_kill_task
	.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
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_D_POWER
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %edi
	callq	_ieee80211_stop_queues
LBB0_2:
	movq	_CSR_UCODE_DRV_GP1_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	__il_wr
	movq	_CSR_UCODE_DRV_GP1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	__il_rd
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	__il_grab_nic_access
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	__il_release_nic_access
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Stop all queues\n"

	.comm	_CSR_UCODE_DRV_GP1_SET,4,2      ## @CSR_UCODE_DRV_GP1_SET
	.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,4,2          ## @CSR_UCODE_DRV_GP1
	.no_dead_strip	_il4965_perform_ct_kill_task
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il4965_perform_ct_kill_task
_il4965_perform_ct_kill_task:           ; @il4965_perform_ct_kill_task
	.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, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_POWER
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_ieee80211_stop_queues
LBB0_2:
Lloh2:
	adrp	x8, _CSR_UCODE_DRV_GP1_SET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CSR_UCODE_DRV_GP1_SET@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	__il_wr
Lloh8:
	adrp	x8, _CSR_UCODE_DRV_GP1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CSR_UCODE_DRV_GP1@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	__il_rd
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	__il_grab_nic_access
	bl	_likely
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	__il_release_nic_access
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Stop all queues\n"

	.comm	_CSR_UCODE_DRV_GP1_SET,4,2      ; @CSR_UCODE_DRV_GP1_SET
	.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,4,2          ; @CSR_UCODE_DRV_GP1
	.no_dead_strip	_il4965_perform_ct_kill_task
.subsections_via_symbols
