	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_clear_ucode_stations        ## -- Begin function il_clear_ucode_stations
	.p2align	4, 0x90
_il_clear_ucode_stations:               ## @il_clear_ucode_stations
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_D_INFO
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	16(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.3:
	movq	8(%r15), %rcx
	movq	_IL_STA_UCODE_ACTIVE@GOTPCREL(%rip), %r12
	leaq	L_.str.1(%rip), %r14
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	%eax, %rdx
	cmpq	%rdx, %rbx
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	testl	%edx, (%rcx,%rbx,4)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_D_INFO
	movl	(%r12), %eax
	notl	%eax
	movq	8(%r15), %rcx
	andl	%eax, (%rcx,%rbx,4)
	movl	16(%r15), %eax
	movl	$1, %r13d
	jmp	LBB0_6
LBB0_7:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	testl	%r13d, %r13d
	je	LBB0_2
## %bb.8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
LBB0_2:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_D_INFO                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Clearing ucode stations in driver\n"

	.comm	_IL_STA_UCODE_ACTIVE,4,2        ## @IL_STA_UCODE_ACTIVE
L_.str.1:                               ## @.str.1
	.asciz	"Clearing ucode active for station %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"No active stations found to be cleared\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_clear_ucode_stations        ; -- Begin function il_clear_ucode_stations
	.p2align	2
_il_clear_ucode_stations:               ; @il_clear_ucode_stations
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_INFO
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x19, #16]
	cmp	w8, #0
	b.le	LBB0_7
; %bb.1:
	mov	x21, #0
	mov	w23, #0
	ldr	x9, [x19, #8]
Lloh2:
	adrp	x22, _IL_STA_UCODE_ACTIVE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _IL_STA_UCODE_ACTIVE@GOTPAGEOFF]
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x21, lsl #2]
	ldr	w11, [x22]
	tst	w11, w10
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x21, [sp]
	mov	x0, x20
	bl	_D_INFO
	ldr	x9, [x19, #8]
	lsl	x8, x21, #2
	ldr	w10, [x9, x8]
	ldr	w11, [x22]
	bic	w10, w10, w11
	str	w10, [x9, x8]
	ldr	w8, [x19, #16]
	mov	w23, #1
	b	LBB0_2
LBB0_5:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	cbz	w23, LBB0_8
; %bb.6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_8:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_D_INFO
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Clearing ucode stations in driver\n"

	.comm	_IL_STA_UCODE_ACTIVE,4,2        ; @IL_STA_UCODE_ACTIVE
l_.str.1:                               ; @.str.1
	.asciz	"Clearing ucode active for station %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"No active stations found to be cleared\n"

.subsections_via_symbols
