	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_control_beaconing
_ath10k_control_beaconing:              ## @ath10k_control_beaconing
	.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, %r15
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	leaq	4(%r14), %rdi
	callq	_lockdep_assert_held
	cmpl	$0, 4(%r15)
	je	LBB0_1
## %bb.4:
	movl	$4096, 4(%rbx)                  ## imm = 0x1000
	movq	$0, 16(%rbx)
	movl	12(%rbx), %edi
	movl	(%r15), %esi
	callq	_ether_addr_copy
	movq	24(%rbx), %rdi
	movq	16(%rbx), %rdx
	movl	8(%rbx), %esi
	movl	12(%rbx), %ecx
	callq	_ath10k_wmi_vdev_up
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_1:
	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(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	callq	_ath10k_warn
LBB0_3:
	movl	$0, (%rbx)
	movq	24(%rbx), %rdi
	callq	_spin_lock_bh
	movq	%rbx, %rdi
	callq	_ath10k_mac_vif_beacon_free
	movq	24(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
LBB0_7:
	movl	$1, (%rbx)
	movq	%rbx, %rdi
	callq	_ath10k_mac_vif_fix_hidden_ssid
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	8(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
LBB0_6:
	movq	%r14, %rdi
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_warn                    ## TAILCALL
LBB0_9:
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %ecx
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_dbg                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to down vdev_id %i: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to bring up vdev %d: %i\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to fix hidden ssid for vdev %i, expect trouble: %d\n"

	.comm	_ATH10K_DBG_MAC,4,2             ## @ATH10K_DBG_MAC
L_.str.3:                               ## @.str.3
	.asciz	"mac vdev %d up\n"

	.no_dead_strip	_ath10k_control_beaconing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_control_beaconing
_ath10k_control_beaconing:              ; @ath10k_control_beaconing
	.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, x1
	mov	x19, x0
	ldr	x20, [x0, #24]
	add	x0, x20, #4
	bl	_lockdep_assert_held
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w8, #4096
	str	w8, [x19, #4]
	str	xzr, [x19, #16]
	ldr	w0, [x19, #12]
	ldr	w1, [x21]
	bl	_ether_addr_copy
	ldp	x2, x0, [x19, #16]
	ldp	w1, w3, [x19, #8]
	bl	_ath10k_wmi_vdev_up
	cbz	w0, LBB0_6
; %bb.2:
	mov	x3, x0
	ldr	w2, [x19, #8]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_3:
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_ath10k_wmi_vdev_down
	cbz	w0, LBB0_5
; %bb.4:
	mov	x3, x0
	ldr	w2, [x19, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_5:
	str	wzr, [x19]
	ldr	x0, [x19, #24]
	bl	_spin_lock_bh
	mov	x0, x19
	bl	_ath10k_mac_vif_beacon_free
	ldr	x0, [x19, #24]
	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	_spin_unlock_bh
LBB0_6:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x19
	bl	_ath10k_mac_vif_fix_hidden_ssid
	cbz	w0, LBB0_9
; %bb.7:
	mov	x3, x0
	ldr	w2, [x19, #8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_8:
	mov	x0, x20
	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	_ath10k_warn
LBB0_9:
Lloh6:
	adrp	x8, _ATH10K_DBG_MAC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATH10K_DBG_MAC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w3, [x19, #8]
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	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	_ath10k_dbg
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to down vdev_id %i: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to bring up vdev %d: %i\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to fix hidden ssid for vdev %i, expect trouble: %d\n"

	.comm	_ATH10K_DBG_MAC,4,2             ; @ATH10K_DBG_MAC
l_.str.3:                               ; @.str.3
	.asciz	"mac vdev %d up\n"

	.no_dead_strip	_ath10k_control_beaconing
.subsections_via_symbols
