	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_wmi_tlv_event_p2p_noa
_ath10k_wmi_tlv_event_p2p_noa:          ## @ath10k_wmi_tlv_event_p2p_noa
	.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	%rdi, %r14
	movl	(%rsi), %edx
	movl	4(%rsi), %esi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ath10k_wmi_tlv_parse_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ath10k_warn
	jmp	LBB0_6
LBB0_2:
	movq	_WMI_TLV_TAG_STRUCT_P2P_NOA_EVENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_WMI_TLV_TAG_STRUCT_P2P_NOA_INFO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rbx,%rcx,8), %r15
	testq	%r15, %r15
	je	LBB0_4
## %bb.5:
	movl	(%rax), %edi
	callq	___le32_to_cpu
	movl	%eax, %r12d
	movq	_ATH10K_DBG_WMI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %r8d
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %ecx
	callq	_ath10k_dbg
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_ath10k_p2p_noa_update_by_vdev_id
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree
	movq	_EPROTO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to parse tlv: %d\n"

	.comm	_WMI_TLV_TAG_STRUCT_P2P_NOA_EVENT,8,3 ## @WMI_TLV_TAG_STRUCT_P2P_NOA_EVENT
	.comm	_WMI_TLV_TAG_STRUCT_P2P_NOA_INFO,8,3 ## @WMI_TLV_TAG_STRUCT_P2P_NOA_INFO
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_ATH10K_DBG_WMI,4,2             ## @ATH10K_DBG_WMI
L_.str.1:                               ## @.str.1
	.asciz	"wmi tlv p2p noa vdev_id %i descriptors %hhu\n"

	.no_dead_strip	_ath10k_wmi_tlv_event_p2p_noa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_wmi_tlv_event_p2p_noa
_ath10k_wmi_tlv_event_p2p_noa:          ; @ath10k_wmi_tlv_event_p2p_noa
	.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	x19, x0
	ldp	w2, w8, [x1]
Lloh0:
	adrp	x9, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x9]
	mov	x1, x8
	bl	_ath10k_wmi_tlv_parse_alloc
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_ath10k_warn
	b	LBB0_5
LBB0_2:
Lloh5:
	adrp	x8, _WMI_TLV_TAG_STRUCT_P2P_NOA_EVENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WMI_TLV_TAG_STRUCT_P2P_NOA_EVENT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x8, [x20, x8, lsl #3]
Lloh8:
	adrp	x9, _WMI_TLV_TAG_STRUCT_P2P_NOA_INFO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WMI_TLV_TAG_STRUCT_P2P_NOA_INFO@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x21, [x20, x9, lsl #3]
	cmp	x8, #0
	ccmp	x21, #0, #4, ne
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_kfree
Lloh11:
	adrp	x8, _EPROTO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_5
LBB0_4:
	ldr	w0, [x8]
	bl	___le32_to_cpu
	mov	x22, x0
Lloh14:
	adrp	x8, _ATH10K_DBG_WMI@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ATH10K_DBG_WMI@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w4, [x21]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x22
	bl	_ath10k_dbg
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_ath10k_p2p_noa_update_by_vdev_id
	mov	x0, x20
	bl	_kfree
	mov	w20, #0
LBB0_5:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to parse tlv: %d\n"

	.comm	_WMI_TLV_TAG_STRUCT_P2P_NOA_EVENT,8,3 ; @WMI_TLV_TAG_STRUCT_P2P_NOA_EVENT
	.comm	_WMI_TLV_TAG_STRUCT_P2P_NOA_INFO,8,3 ; @WMI_TLV_TAG_STRUCT_P2P_NOA_INFO
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_ATH10K_DBG_WMI,4,2             ; @ATH10K_DBG_WMI
l_.str.1:                               ; @.str.1
	.asciz	"wmi tlv p2p noa vdev_id %i descriptors %hhu\n"

	.no_dead_strip	_ath10k_wmi_tlv_event_p2p_noa
.subsections_via_symbols
