	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_mac_op_unassign_vif_chanctx
_ath10k_mac_op_unassign_vif_chanctx:    ## @ath10k_mac_op_unassign_vif_chanctx
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	(%rdi), %r14
	movq	8(%rsi), %rbx
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%r12, %rcx
	callq	_ath10k_dbg
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_WARN_ON
	movq	(%r15), %rax
	movq	_NL80211_IFTYPE_MONITOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	xorl	%edi, %edi
	cmpl	$0, 4(%rbx)
	sete	%dil
	callq	_WARN_ON
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_ath10k_wmi_vdev_down
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_ath10k_warn
LBB0_3:
	movl	$0, 4(%rbx)
LBB0_4:
	movq	%rbx, %rdi
	callq	_ath10k_vdev_stop
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	8(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_ath10k_warn
LBB0_6:
	movl	$0, (%rbx)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_DBG_MAC,4,2             ## @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac chanctx unassign ptr %pK vdev_id %i\n"

	.comm	_NL80211_IFTYPE_MONITOR,8,3     ## @NL80211_IFTYPE_MONITOR
L_.str.1:                               ## @.str.1
	.asciz	"failed to down monitor vdev %i: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to stop vdev %i: %d\n"

	.no_dead_strip	_ath10k_mac_op_unassign_vif_chanctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_mac_op_unassign_vif_chanctx
_ath10k_mac_op_unassign_vif_chanctx:    ; @ath10k_mac_op_unassign_vif_chanctx
	.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	x21, x2
	mov	x22, x1
	ldr	x19, [x0]
	ldr	x20, [x1, #8]
	mov	x0, x19
	bl	_mutex_lock
Lloh0:
	adrp	x8, _ATH10K_DBG_MAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_DBG_MAC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w4, [x20, #8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	bl	_ath10k_dbg
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	x8, [x22]
Lloh5:
	adrp	x9, _NL80211_IFTYPE_MONITOR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NL80211_IFTYPE_MONITOR@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x20, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_ath10k_wmi_vdev_down
	cbz	w0, LBB0_3
; %bb.2:
	mov	x3, x0
	ldr	w2, [x20, #8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
LBB0_3:
	str	wzr, [x20, #4]
LBB0_4:
	mov	x0, x20
	bl	_ath10k_vdev_stop
	cbz	w0, LBB0_6
; %bb.5:
	mov	x3, x0
	ldr	w2, [x20, #8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
LBB0_6:
	str	wzr, [x20]
	mov	x0, 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	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_DBG_MAC,4,2             ; @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac chanctx unassign ptr %pK vdev_id %i\n"

	.comm	_NL80211_IFTYPE_MONITOR,8,3     ; @NL80211_IFTYPE_MONITOR
l_.str.1:                               ; @.str.1
	.asciz	"failed to down monitor vdev %i: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to stop vdev %i: %d\n"

	.no_dead_strip	_ath10k_mac_op_unassign_vif_chanctx
.subsections_via_symbols
