	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_p2p_noa_ie_fill
_ath10k_p2p_noa_ie_fill:                ## @ath10k_p2p_noa_ie_fill
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r12
	movq	_WMI_P2P_OPPPS_CTWINDOW_OFFSET@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	(%rdx), %edx
	movl	%edx, %eax
	movq	_WMI_P2P_OPPPS_ENABLE_BIT@GOTPCREL(%rip), %rdi
	andl	(%rdi), %edx
	movl	4(%r14), %r15d
	movq	_WLAN_EID_VENDOR_SPECIFIC@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	%edi, (%r12)
	addl	$-2, %esi
	movl	%esi, 4(%r12)
	movq	_WLAN_OUI_WFA@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
	movzbl	%bh, %esi
	movzbl	%bl, %edi
	shrl	$16, %ebx
	movzbl	%bl, %ebx
	movl	%ebx, 8(%r12)
	sarl	%cl, %eax
	movl	%esi, 12(%r12)
	movl	%edi, 16(%r12)
	movq	_WLAN_OUI_TYPE_WFA_P2P@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%r12)
	movq	_IEEE80211_P2P_ATTR_ABSENCE_NOTICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%r12)
	movl	16(%r14), %ecx
	movl	%ecx, 52(%r12)
	movl	%eax, 36(%r12)
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	_IEEE80211_P2P_OPPPS_ENABLE_BIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 36(%r12)
LBB0_2:
	testl	%r15d, %r15d
	jle	LBB0_5
## %bb.3:
	movq	8(%r14), %rax
	movq	%r15, %r13
	shlq	$4, %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%rax,%rbx), %edi
	callq	___le32_to_cpu
	movq	44(%r12), %rcx
	movl	%eax, 12(%rcx,%rbx)
	movq	8(%r14), %rax
	movl	8(%rax,%rbx), %edx
	movl	%edx, 8(%rcx,%rbx)
	movl	4(%rax,%rbx), %edx
	movl	%edx, 4(%rcx,%rbx)
	movl	(%rax,%rbx), %edx
	movl	%edx, (%rcx,%rbx)
	addq	$16, %rbx
	cmpq	%rbx, %r13
	jne	LBB0_4
LBB0_5:
	leal	2(,%r15,4), %edi
	callq	___cpu_to_le16
	movl	%eax, 28(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_P2P_OPPPS_CTWINDOW_OFFSET,4,2 ## @WMI_P2P_OPPPS_CTWINDOW_OFFSET
	.comm	_WMI_P2P_OPPPS_ENABLE_BIT,4,2   ## @WMI_P2P_OPPPS_ENABLE_BIT
	.comm	_WLAN_EID_VENDOR_SPECIFIC,4,2   ## @WLAN_EID_VENDOR_SPECIFIC
	.comm	_WLAN_OUI_WFA,4,2               ## @WLAN_OUI_WFA
	.comm	_WLAN_OUI_TYPE_WFA_P2P,4,2      ## @WLAN_OUI_TYPE_WFA_P2P
	.comm	_IEEE80211_P2P_ATTR_ABSENCE_NOTICE,4,2 ## @IEEE80211_P2P_ATTR_ABSENCE_NOTICE
	.comm	_IEEE80211_P2P_OPPPS_ENABLE_BIT,4,2 ## @IEEE80211_P2P_OPPPS_ENABLE_BIT
	.no_dead_strip	_ath10k_p2p_noa_ie_fill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ath10k_p2p_noa_ie_fill
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ath10k_p2p_noa_ie_fill:                ; @ath10k_p2p_noa_ie_fill
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _WMI_P2P_OPPPS_CTWINDOW_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_P2P_OPPPS_CTWINDOW_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w21, [x2]
	asr	w8, w9, w8
Lloh3:
	adrp	x10, _WMI_P2P_OPPPS_ENABLE_BIT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WMI_P2P_OPPPS_ENABLE_BIT@GOTPAGEOFF]
Lloh5:
	adrp	x11, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGE
Lloh6:
	ldr	x11, [x11, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
Lloh8:
	ldr	w11, [x11]
	sub	w12, w1, #2
Lloh9:
	adrp	x13, _WLAN_OUI_WFA@GOTPAGE
Lloh10:
	ldr	x13, [x13, _WLAN_OUI_WFA@GOTPAGEOFF]
	stp	w11, w12, [x0]
Lloh11:
	ldr	w11, [x13]
	dup.2s	v0, w11
Lloh12:
	adrp	x12, lCPI0_0@PAGE
Lloh13:
	ldr	d1, [x12, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	str	d0, [x0, #8]
Lloh14:
	adrp	x12, _WLAN_OUI_TYPE_WFA_P2P@GOTPAGE
Lloh15:
	ldr	x12, [x12, _WLAN_OUI_TYPE_WFA_P2P@GOTPAGEOFF]
	and	w11, w11, #0xff
Lloh16:
	ldr	w12, [x12]
	stp	w11, w12, [x0, #16]
Lloh17:
	adrp	x11, _IEEE80211_P2P_ATTR_ABSENCE_NOTICE@GOTPAGE
Lloh18:
	ldr	x11, [x11, _IEEE80211_P2P_ATTR_ABSENCE_NOTICE@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	str	w11, [x0, #24]
	ldr	w11, [x2, #16]
	str	w11, [x0, #52]
	str	w8, [x0, #36]
	and	w9, w10, w9
	cbz	w9, LBB0_2
; %bb.1:
Lloh20:
	adrp	x9, _IEEE80211_P2P_OPPPS_ENABLE_BIT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IEEE80211_P2P_OPPPS_ENABLE_BIT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #36]
LBB0_2:
	cmp	w21, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x22, #0
	ldr	x8, [x20, #8]
	lsl	x23, x21, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x22
	ldr	w0, [x8, #12]
	bl	___le32_to_cpu
	ldur	x8, [x19, #44]
	add	x9, x8, x22
	ldr	x8, [x20, #8]
	add	x10, x8, x22
	ldr	w11, [x10, #8]
	stp	w11, w0, [x9, #8]
	ldr	d0, [x10]
	str	d0, [x9]
	add	x22, x22, #16
	cmp	x23, x22
	b.ne	LBB0_4
LBB0_5:
	mov	w0, #2
	bfi	w0, w21, #2, #30
	bl	___cpu_to_le16
	str	w0, [x19, #28]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_P2P_OPPPS_CTWINDOW_OFFSET,4,2 ; @WMI_P2P_OPPPS_CTWINDOW_OFFSET
	.comm	_WMI_P2P_OPPPS_ENABLE_BIT,4,2   ; @WMI_P2P_OPPPS_ENABLE_BIT
	.comm	_WLAN_EID_VENDOR_SPECIFIC,4,2   ; @WLAN_EID_VENDOR_SPECIFIC
	.comm	_WLAN_OUI_WFA,4,2               ; @WLAN_OUI_WFA
	.comm	_WLAN_OUI_TYPE_WFA_P2P,4,2      ; @WLAN_OUI_TYPE_WFA_P2P
	.comm	_IEEE80211_P2P_ATTR_ABSENCE_NOTICE,4,2 ; @IEEE80211_P2P_ATTR_ABSENCE_NOTICE
	.comm	_IEEE80211_P2P_OPPPS_ENABLE_BIT,4,2 ; @IEEE80211_P2P_OPPPS_ENABLE_BIT
	.no_dead_strip	_ath10k_p2p_noa_ie_fill
.subsections_via_symbols
