	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_core_reset_rx_filter
_ath10k_core_reset_rx_filter:           ## @ath10k_core_reset_rx_filter
	.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	%rdi, %r14
	movq	_WMI_VDEV_TYPE_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_WMI_VDEV_SUBTYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ath10k_wmi_get_vdev_subtype
	movq	(%r14), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_ath10k_wmi_vdev_create
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ath10k_err
	jmp	LBB0_7
LBB0_2:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_ath10k_wmi_vdev_delete
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_4:
	movq	%r14, %rdi
	callq	_ath10k_wmi_barrier
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
LBB0_6:
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_ath10k_err
	movl	%r15d, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_VDEV_TYPE_STA,4,2          ## @WMI_VDEV_TYPE_STA
	.comm	_WMI_VDEV_SUBTYPE_NONE,4,2      ## @WMI_VDEV_SUBTYPE_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to create dummy vdev: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to delete dummy vdev: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to ping firmware: %d\n"

	.no_dead_strip	_ath10k_core_reset_rx_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_core_reset_rx_filter
_ath10k_core_reset_rx_filter:           ; @ath10k_core_reset_rx_filter
	.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	x8, _WMI_VDEV_TYPE_STA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_VDEV_TYPE_STA@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _WMI_VDEV_SUBTYPE_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WMI_VDEV_SUBTYPE_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ath10k_wmi_get_vdev_subtype
	mov	x3, x0
	ldr	x4, [x19]
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_ath10k_wmi_vdev_create
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	bl	_ath10k_wmi_vdev_delete
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_ath10k_wmi_barrier
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.5:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x19
	mov	x2, x20
	bl	_ath10k_err
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_VDEV_TYPE_STA,4,2          ; @WMI_VDEV_TYPE_STA
	.comm	_WMI_VDEV_SUBTYPE_NONE,4,2      ; @WMI_VDEV_SUBTYPE_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to create dummy vdev: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to delete dummy vdev: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to ping firmware: %d\n"

	.no_dead_strip	_ath10k_core_reset_rx_filter
.subsections_via_symbols
