	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il4965_alive_start
_il4965_alive_start:                    ## @il4965_alive_start
	.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	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_D_INFO
	movq	40(%rbx), %rax
	movq	_UCODE_VALID_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	callq	_il4965_verify_ucode
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	callq	_D_INFO
LBB0_3:
	movl	4(%rbx), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	callq	_il4965_alive_notify
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_IL_WARN
	jmp	LBB0_3
LBB0_8:
	movq	_S_ALIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%rbx), %r14
	movq	%r14, %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_il_setup_watchdog
	movq	%rbx, %rdi
	callq	_il_is_rfkill
	testq	%rax, %rax
	je	LBB0_9
## %bb.14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movl	36(%rbx), %edi
	callq	_ieee80211_wake_queues
	movq	_RATES_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_il_power_update_mode
	leaq	L_.str.4(%rip), %rdi
	callq	_D_INFO
	movq	%rbx, %rdi
	callq	_il_is_associated
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_RXON_FILTER_ASSOC_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%rbx)
	notl	%eax
	andl	%eax, 28(%rbx)
	jmp	LBB0_13
LBB0_11:
	movq	%rbx, %rdi
	callq	_il_connection_init_rx_config
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_13:
	movq	%rbx, %rdi
	callq	_il_send_bt_config
	movq	%rbx, %rdi
	callq	_il4965_reset_run_time_calib
	movq	_S_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_il_commit_rxon
	movq	%rbx, %rdi
	callq	_il4965_rf_kill_ct_config
	leaq	L_.str.5(%rip), %rdi
	callq	_D_INFO
	addq	$8, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wake_up                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Runtime Alive received.\n"

	.comm	_UCODE_VALID_OK,8,3             ## @UCODE_VALID_OK
L_.str.1:                               ## @.str.1
	.asciz	"Alive failed.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Bad runtime uCode load.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Could not complete ALIVE transition [ntf]: %d\n"

	.comm	_S_ALIVE,4,2                    ## @S_ALIVE
	.comm	_RATES_MASK,4,2                 ## @RATES_MASK
L_.str.4:                               ## @.str.4
	.asciz	"Updated power mode\n"

	.comm	_RXON_FILTER_ASSOC_MSK,4,2      ## @RXON_FILTER_ASSOC_MSK
	.comm	_S_READY,4,2                    ## @S_READY
L_.str.5:                               ## @.str.5
	.asciz	"ALIVE processing complete.\n"

	.no_dead_strip	_il4965_alive_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il4965_alive_start
_il4965_alive_start:                    ; @il4965_alive_start
	.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_INFO
	ldr	x8, [x19, #40]
Lloh2:
	adrp	x9, _UCODE_VALID_OK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _UCODE_VALID_OK@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_il4965_verify_ucode
	cbz	x0, LBB0_6
; %bb.2:
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_4:
	bl	_D_INFO
LBB0_5:
	ldr	w0, [x19, #4]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_queue_work
LBB0_6:
	mov	x0, x19
	bl	_il4965_alive_notify
	cbz	w0, LBB0_8
; %bb.7:
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_IL_WARN
	b	LBB0_5
LBB0_8:
Lloh11:
	adrp	x8, _S_ALIVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _S_ALIVE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	add	x20, x19, #12
	mov	x1, x20
	bl	_set_bit
	mov	x0, x19
	bl	_il_setup_watchdog
	mov	x0, x19
	bl	_il_is_rfkill
	cbz	x0, LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w0, [x19, #36]
	bl	_ieee80211_wake_queues
Lloh14:
	adrp	x8, _RATES_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RATES_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	mov	x0, x19
	mov	w1, #1
	bl	_il_power_update_mode
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_D_INFO
	mov	x0, x19
	bl	_il_is_associated
	cbz	x0, LBB0_12
; %bb.11:
Lloh19:
	adrp	x8, _RXON_FILTER_ASSOC_MSK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RXON_FILTER_ASSOC_MSK@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldp	w9, w10, [x19, #24]
	orr	w9, w9, w8
	bic	w8, w10, w8
	stp	w9, w8, [x19, #24]
	b	LBB0_14
LBB0_12:
	mov	x0, x19
	bl	_il_connection_init_rx_config
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.13:
	mov	x0, x19
	blr	x8
LBB0_14:
	mov	x0, x19
	bl	_il_send_bt_config
	mov	x0, x19
	bl	_il4965_reset_run_time_calib
Lloh22:
	adrp	x8, _S_READY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _S_READY@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
	mov	x0, x19
	bl	_il_commit_rxon
	mov	x0, x19
	bl	_il4965_rf_kill_ct_config
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_D_INFO
	add	x0, x19, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wake_up
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Runtime Alive received.\n"

	.comm	_UCODE_VALID_OK,8,3             ; @UCODE_VALID_OK
l_.str.1:                               ; @.str.1
	.asciz	"Alive failed.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Bad runtime uCode load.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Could not complete ALIVE transition [ntf]: %d\n"

	.comm	_S_ALIVE,4,2                    ; @S_ALIVE
	.comm	_RATES_MASK,4,2                 ; @RATES_MASK
l_.str.4:                               ; @.str.4
	.asciz	"Updated power mode\n"

	.comm	_RXON_FILTER_ASSOC_MSK,4,2      ; @RXON_FILTER_ASSOC_MSK
	.comm	_S_READY,4,2                    ; @S_READY
l_.str.5:                               ; @.str.5
	.asciz	"ALIVE processing complete.\n"

	.no_dead_strip	_il4965_alive_start
.subsections_via_symbols
