	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_reconfig_complete
_ath10k_reconfig_complete:              ## @ath10k_reconfig_complete
	.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	_IEEE80211_RECONFIG_TYPE_RESTART@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	(%rdi), %rbx
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%rbx), %rax
	movq	_ATH10K_STATE_RESTARTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ath10k_info
	movq	_ATH10K_STATE_ON@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movl	12(%rbx), %edi
	callq	_ieee80211_wake_queues
LBB0_3:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_RECONFIG_TYPE_RESTART,4,2 ## @IEEE80211_RECONFIG_TYPE_RESTART
	.comm	_ATH10K_STATE_RESTARTED,8,3     ## @ATH10K_STATE_RESTARTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device successfully recovered\n"

	.comm	_ATH10K_STATE_ON,8,3            ## @ATH10K_STATE_ON
	.no_dead_strip	_ath10k_reconfig_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_reconfig_complete
_ath10k_reconfig_complete:              ; @ath10k_reconfig_complete
	.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
Lloh0:
	adrp	x8, _IEEE80211_RECONFIG_TYPE_RESTART@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_RECONFIG_TYPE_RESTART@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.1:
	ldr	x20, [x0]
	add	x19, x20, #8
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _ATH10K_STATE_RESTARTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATH10K_STATE_RESTARTED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_ath10k_info
Lloh8:
	adrp	x8, _ATH10K_STATE_ON@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATH10K_STATE_ON@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x20]
	ldr	w0, [x20, #12]
	bl	_ieee80211_wake_queues
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_RECONFIG_TYPE_RESTART,4,2 ; @IEEE80211_RECONFIG_TYPE_RESTART
	.comm	_ATH10K_STATE_RESTARTED,8,3     ; @ATH10K_STATE_RESTARTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device successfully recovered\n"

	.comm	_ATH10K_STATE_ON,8,3            ; @ATH10K_STATE_ON
	.no_dead_strip	_ath10k_reconfig_complete
.subsections_via_symbols
