	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_mac_vif_fix_hidden_ssid
_ath10k_mac_vif_fix_hidden_ssid:        ## @ath10k_mac_vif_fix_hidden_ssid
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %r14
	movq	_WMI_SERVICE_BEACON_OFFLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_test_bit
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_18
## %bb.1:
	xorl	%edi, %edi
	cmpl	$0, 32(%r15)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	xorl	%edi, %edi
	cmpl	$0, 28(%r15)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_2
## %bb.4:
	movl	24(%r15), %edi
	leaq	-40(%rbp), %rsi
	callq	_ath10k_mac_vif_chan
	movl	%eax, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_ath10k_wmi_vdev_down
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r12d
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
LBB0_16:
	movq	%r14, %rdi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_ath10k_warn
	jmp	LBB0_17
LBB0_7:
	movq	%r15, %rdi
	callq	_ath10k_mac_setup_bcn_tmpl
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_10:
	movq	%r15, %rdi
	callq	_ath10k_mac_setup_prb_tmpl
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	movq	%r14, %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_17:
	movl	%r12d, %ebx
	jmp	LBB0_18
LBB0_12:
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ath10k_vdev_restart
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %r12d
	movl	(%r15), %edx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_16
LBB0_14:
	movq	16(%r15), %rdi
	movl	8(%r15), %edx
	movl	(%r15), %esi
	movl	4(%r15), %ecx
	callq	_ath10k_wmi_vdev_up
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:
	movl	%eax, %r12d
	movl	(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_SERVICE_BEACON_OFFLOAD,4,2 ## @WMI_SERVICE_BEACON_OFFLOAD
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to bring down ap vdev %i: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to update beacon template: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to update presp template: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to restart ap vdev %i: %d\n"

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

	.no_dead_strip	_ath10k_mac_vif_fix_hidden_ssid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_mac_vif_fix_hidden_ssid
_ath10k_mac_vif_fix_hidden_ssid:        ; @ath10k_mac_vif_fix_hidden_ssid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	ldr	x19, [x0, #16]
Lloh0:
	adrp	x8, _WMI_SERVICE_BEACON_OFFLOAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_SERVICE_BEACON_OFFLOAD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	w0, LBB0_5
; %bb.1:
	ldr	w8, [x20, #32]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x20, #28]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x20, #24]
	add	x1, sp, #8
	bl	_ath10k_mac_vif_chan
	bl	_WARN_ON
	cbz	x0, LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ath10k_wmi_vdev_down
	cbz	w0, LBB0_9
; %bb.8:
	mov	x21, x0
	ldr	w2, [x20]
	str	x21, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
	b	LBB0_6
LBB0_9:
	mov	x0, x20
	bl	_ath10k_mac_setup_bcn_tmpl
	cbz	w0, LBB0_11
; %bb.10:
	mov	x21, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_11:
	mov	x0, x20
	bl	_ath10k_mac_setup_prb_tmpl
	cbz	w0, LBB0_14
; %bb.12:
	mov	x21, x0
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_13:
	mov	x0, x19
	mov	x2, x21
	bl	_ath10k_warn
	b	LBB0_6
LBB0_14:
	add	x1, sp, #8
	mov	x0, x20
	bl	_ath10k_vdev_restart
	cbz	w0, LBB0_16
; %bb.15:
	mov	x21, x0
	ldr	w2, [x20]
	str	x21, [sp]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_16:
	ldr	x0, [x20, #16]
	ldp	w3, w2, [x20, #4]
	ldr	w1, [x20]
	bl	_ath10k_wmi_vdev_up
	mov	x21, x0
	cbz	w0, LBB0_6
; %bb.17:
	ldr	w2, [x20]
	str	x21, [sp]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_18:
	mov	x0, x19
	bl	_ath10k_warn
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_SERVICE_BEACON_OFFLOAD,4,2 ; @WMI_SERVICE_BEACON_OFFLOAD
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to bring down ap vdev %i: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to update beacon template: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to update presp template: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to restart ap vdev %i: %d\n"

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

	.no_dead_strip	_ath10k_mac_vif_fix_hidden_ssid
.subsections_via_symbols
