	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il_sta_ucode_activate
_il_sta_ucode_activate:                 ## @il_sta_ucode_activate
	.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	%rsi, %rbx
	movq	(%rdi), %rax
	movl	(%rax,%rsi,8), %ecx
	movq	_IL_STA_DRIVER_ACTIVE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %r14
	movl	4(%rax,%rbx,8), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_IL_ERR
	movq	(%r14), %rax
	movl	(%rax,%rbx,8), %ecx
LBB0_2:
	movq	_IL_STA_UCODE_ACTIVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ecx, %edx
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_5
LBB0_4:
	orl	%ecx, %edx
	movl	%edx, (%rax,%rbx,8)
	leaq	L_.str.2(%rip), %rdi
LBB0_5:
	movl	4(%rax,%rbx,8), %edx
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_D_ASSOC                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IL_STA_DRIVER_ACTIVE,4,2       ## @IL_STA_DRIVER_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ACTIVATE a non DRIVER active station id %u addr %pM\n"

	.comm	_IL_STA_UCODE_ACTIVE,4,2        ## @IL_STA_UCODE_ACTIVE
L_.str.1:                               ## @.str.1
	.asciz	"STA id %u addr %pM already present in uCode (according to driver)\n"

L_.str.2:                               ## @.str.2
	.asciz	"Added STA id %u addr %pM to uCode\n"

	.no_dead_strip	_il_sta_ucode_activate
.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_activate
_il_sta_ucode_activate:                 ; @il_sta_ucode_activate
	.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]
	lsl	x21, x1, #3
	ldr	w9, [x8, x21]
Lloh0:
	adrp	x10, _IL_STA_DRIVER_ACTIVE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IL_STA_DRIVER_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x0
	add	x8, x8, x21
	ldr	w2, [x8, #4]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_IL_ERR
	ldr	x8, [x20]
	ldr	w9, [x8, x21]
LBB0_2:
Lloh5:
	adrp	x10, _IL_STA_UCODE_ACTIVE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IL_STA_UCODE_ACTIVE@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	orr	w9, w10, w9
	str	w9, [x8, x21]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_5:
	add	x8, x8, x19, lsl #3
	ldr	w2, [x8, #4]
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IL_STA_DRIVER_ACTIVE,4,2       ; @IL_STA_DRIVER_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ACTIVATE a non DRIVER active station id %u addr %pM\n"

	.comm	_IL_STA_UCODE_ACTIVE,4,2        ; @IL_STA_UCODE_ACTIVE
l_.str.1:                               ; @.str.1
	.asciz	"STA id %u addr %pM already present in uCode (according to driver)\n"

l_.str.2:                               ; @.str.2
	.asciz	"Added STA id %u addr %pM to uCode\n"

	.no_dead_strip	_il_sta_ucode_activate
.subsections_via_symbols
