	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il_sta_ucode_deactivate
_il_sta_ucode_deactivate:               ## @il_sta_ucode_deactivate
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movl	(%rax,%rsi,4), %edx
	movq	_IL_STA_UCODE_ACTIVE@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	_IL_STA_DRIVER_ACTIVE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%ecx, %esi
	andl	%edx, %esi
	cmpl	%ecx, %esi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_IL_ERR
	movl	(%r15), %ecx
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edx
LBB0_2:
	notl	%ecx
	andl	%edx, %ecx
	leaq	(%rax,%rbx,4), %rdi
	movl	%ecx, (%rax,%rbx,4)
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_D_ASSOC                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IL_STA_UCODE_ACTIVE,4,2        ## @IL_STA_UCODE_ACTIVE
	.comm	_IL_STA_DRIVER_ACTIVE,4,2       ## @IL_STA_DRIVER_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"removed non active STA %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"Removed STA %u\n"

	.no_dead_strip	_il_sta_ucode_deactivate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il_sta_ucode_deactivate
_il_sta_ucode_deactivate:               ; @il_sta_ucode_deactivate
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	ldr	x8, [x0]
	ldr	w10, [x8, x1, lsl #2]
Lloh0:
	adrp	x21, _IL_STA_UCODE_ACTIVE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IL_STA_UCODE_ACTIVE@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh2:
	adrp	x11, _IL_STA_DRIVER_ACTIVE@GOTPAGE
Lloh3:
	ldr	x11, [x11, _IL_STA_DRIVER_ACTIVE@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
	orr	w11, w11, w9
	and	w11, w11, w10
	cmp	w11, w9
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_IL_ERR
	ldr	w9, [x21]
	ldr	x8, [x20]
	ldr	w10, [x8, x19, lsl #2]
LBB0_2:
	add	x0, x8, x19, lsl #2
	bic	w8, w10, w9
	str	w8, [x0]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_D_ASSOC
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IL_STA_UCODE_ACTIVE,4,2        ; @IL_STA_UCODE_ACTIVE
	.comm	_IL_STA_DRIVER_ACTIVE,4,2       ; @IL_STA_DRIVER_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"removed non active STA %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"Removed STA %u\n"

	.no_dead_strip	_il_sta_ucode_deactivate
.subsections_via_symbols
