	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_p2p_noa_ie
_rtl_p2p_noa_ie:                        ## @rtl_p2p_noa_ie
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_rtl_priv
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r13), %r15
	movl	%r12d, %r14d
	addq	%r13, %r14
	leaq	4(%r15), %rbx
	cmpq	%r14, %rbx
	jae	LBB0_29
## %bb.1:
	leaq	_rtl_p2p_noa_ie.p2p_oui_ie_type(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cltq
	leaq	(%r15,%rax,4), %rbx
	addq	$12, %rbx
	leaq	(%r15,%rax,4), %r15
	addq	$8, %r15
	cmpq	%r14, %rbx
	jae	LBB0_29
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rbx), %rax
	leaq	(%r15,%rax,4), %rcx
	addq	$8, %rcx
	cmpq	%r14, %rcx
	ja	LBB0_29
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$221, (%r15)
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$5, %eax
	jl	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	8(%r15), %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.8:
	leaq	28(%r15), %r12
	cmpq	%r14, %r12
	jae	LBB0_28
## %bb.9:
	addq	$24, %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_READEF2BYTE
                                        ## kill: def $eax killed $eax def $rax
	movslq	(%r12), %rcx
	leaq	(%r15,%rcx,4), %rcx
	addq	$12, %rcx
	cmpq	%r14, %rcx
	ja	LBB0_29
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	$12, (%r15)
	je	LBB0_12
## %bb.27:                              ##   in Loop: Header=BB0_10 Depth=1
	cltq
	leaq	(%r15,%rax,4), %r12
	addq	$16, %r12
	leaq	(%r15,%rax,4), %r15
	addq	$12, %r15
	cmpq	%r14, %r12
	jb	LBB0_10
LBB0_28:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	_P2P_PS_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_29
LBB0_26:
	movq	_P2P_PS_DISABLE@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_p2p_ps_cmd                 ## TAILCALL
LBB0_12:
	leal	-2(%rax), %ecx
	imull	$-991146299, %ecx, %edx         ## imm = 0xC4EC4EC5
	addl	$165191049, %edx                ## imm = 0x9D89D89
	cmpl	$330382099, %edx                ## imm = 0x13B13B13
	jb	LBB0_13
## %bb.30:
	movq	_COMP_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %r8d
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
LBB0_13:
	leaq	12(%r15), %rax
	movslq	%ecx, %rcx
	imulq	$1321528399, %rcx, %r14         ## imm = 0x4EC4EC4F
	movq	%r14, %rcx
	shrq	$63, %rcx
	sarq	$34, %r14
	addl	%ecx, %r14d
	movq	_P2P_MAX_NOA_NUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %r14d
	cmovgel	%ecx, %r14d
	movl	(%rax), %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	_P2P_PS_NONE@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_15
## %bb.14:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	16(%rax), %r13d
	je	LBB0_29
LBB0_15:
	movq	_COMP_FW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	%r13d, 16(%rbx)
	movl	16(%r15), %eax
	sarl	$7, %eax
	movl	%eax, 20(%rbx)
	movl	16(%r15), %ecx
	andl	$127, %ecx
	movl	%ecx, 24(%rbx)
	movl	%r14d, 28(%rbx)
	testl	%r14d, %r14d
	jle	LBB0_19
## %bb.16:
	movl	%r14d, %r14d
	addq	$40, %r15
	shlq	$2, %r14
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	leaq	-20(%r15), %rdi
	callq	_READEF1BYTE
	movq	56(%r13), %rcx
	movl	%eax, (%rcx,%rbx)
	leaq	-16(%r15), %rdi
	callq	_READEF4BYTE
	movq	48(%r13), %rcx
	movq	%rax, (%rcx,%rbx,2)
	movq	%r15, %rdi
	callq	_READEF4BYTE
	movq	40(%r13), %rcx
	movq	%rax, (%rcx,%rbx,2)
	leaq	16(%r15), %rdi
	callq	_READEF4BYTE
	movq	32(%r13), %rcx
	movq	%rax, (%rcx,%rbx,2)
	addq	$52, %r15
	addq	$4, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_17
## %bb.18:
	movl	20(%r13), %eax
LBB0_19:
	cmpl	$1, %eax
	jne	LBB0_23
## %bb.20:
	movq	_P2P_PS_CTWINDOW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	cmpq	$0, (%rcx)
	jne	LBB0_21
	jmp	LBB0_29
LBB0_23:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 28(%rcx)
	jle	LBB0_25
## %bb.24:
	movq	_P2P_PS_NOA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rcx)
LBB0_21:
	movq	_P2P_PS_ENABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_25:
	movq	8(%rcx), %rax
	cmpq	(%r12), %rax
	jg	LBB0_26
LBB0_29:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @rtl_p2p_noa_ie.p2p_oui_ie_type
_rtl_p2p_noa_ie.p2p_oui_ie_type:
	.long	80                              ## 0x50
	.long	111                             ## 0x6f
	.long	154                             ## 0x9a
	.long	9                               ## 0x9

	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P2P notice of absence: invalid length.%d\n"

	.comm	_P2P_MAX_NOA_NUM,4,2            ## @P2P_MAX_NOA_NUM
	.comm	_P2P_PS_NONE,8,3                ## @P2P_PS_NONE
	.comm	_COMP_FW,4,2                    ## @COMP_FW
L_.str.1:                               ## @.str.1
	.asciz	"update NOA ie.\n"

	.comm	_P2P_PS_CTWINDOW,8,3            ## @P2P_PS_CTWINDOW
	.comm	_P2P_PS_ENABLE,4,2              ## @P2P_PS_ENABLE
	.comm	_P2P_PS_NOA,8,3                 ## @P2P_PS_NOA
	.comm	_P2P_PS_DISABLE,4,2             ## @P2P_PS_DISABLE
	.no_dead_strip	_rtl_p2p_noa_ie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_p2p_noa_ie
_rtl_p2p_noa_ie:                        ; @rtl_p2p_noa_ie
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_rtl_priv
	ldr	x24, [x22]
	add	x23, x22, w21, uxtw
	add	x22, x24, #4
	cmp	x22, x23
	b.hs	LBB0_17
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x21, _rtl_p2p_noa_ie.p2p_oui_ie_type@PAGE
Lloh1:
	add	x21, x21, _rtl_p2p_noa_ie.p2p_oui_ie_type@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #2
	add	x24, x24, w8, sxtw #2
	add	x22, x24, #4
	cmp	x22, x23
	b.hs	LBB0_17
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x24, #8
	ldrsw	x8, [x22]
	add	x9, x0, x8, lsl #2
	cmp	x9, x23
	b.hi	LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x24]
	cmp	w9, #221
	ccmp	w8, #5, #8, eq
	b.lt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x21
	mov	w2, #4
	bl	_memcmp
	cbnz	x0, LBB0_2
; %bb.7:
	add	x21, x24, #28
	cmp	x21, x23
	b.hs	LBB0_12
; %bb.8:
	add	x22, x24, #24
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_READEF2BYTE
                                        ; kill: def $w0 killed $w0 def $x0
	add	x8, x22, #12
	ldrsw	x9, [x21]
	add	x9, x8, x9, lsl #2
	cmp	x9, x23
	b.hi	LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x22]
	cmp	w9, #12
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w8, w0, #3
	add	x22, x22, w8, sxtw #2
	add	x21, x22, #4
	cmp	x21, x23
	b.lo	LBB0_9
LBB0_12:
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x9, _P2P_PS_NONE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _P2P_PS_NONE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_17
LBB0_13:
Lloh5:
	adrp	x8, _P2P_PS_DISABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _P2P_PS_DISABLE@GOTPAGEOFF]
LBB0_14:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_rtl_p2p_ps_cmd
LBB0_15:
	sub	w10, w0, #2
	mov	w9, #60495
	movk	w9, #20164, lsl #16
	smull	x9, w10, w9
	lsr	x11, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w11
	mov	w11, #13
	msub	w10, w9, w11, w10
	cbz	w10, LBB0_18
; %bb.16:
Lloh7:
	adrp	x8, _COMP_INIT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _COMP_INIT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	str	x0, [sp]
Lloh13:
	adrp	x3, l_.str@PAGE
Lloh14:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_18:
Lloh15:
	adrp	x10, _P2P_MAX_NOA_NUM@GOTPAGE
Lloh16:
	ldr	x10, [x10, _P2P_MAX_NOA_NUM@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	w9, w10
	csel	w25, w9, w10, lt
	ldr	w23, [x8]
	ldr	x8, [x20, #8]
Lloh18:
	adrp	x21, _P2P_PS_NONE@GOTPAGE
Lloh19:
	ldr	x21, [x21, _P2P_PS_NONE@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.19:
	ldr	w8, [x20, #16]
	cmp	w23, w8
	b.eq	LBB0_17
LBB0_20:
Lloh20:
	adrp	x8, _COMP_FW@GOTPAGE
Lloh21:
	ldr	x8, [x8, _COMP_FW@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x3, l_.str.1@PAGE
Lloh27:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	str	w23, [x20, #16]
	ldr	w8, [x22, #16]
	asr	w8, w8, #7
	str	w8, [x20, #20]
	ldr	w9, [x22, #16]
	and	w9, w9, #0x7f
	stp	w9, w25, [x20, #24]
	cmp	w25, #1
	b.lt	LBB0_24
; %bb.21:
	mov	x23, #0
	mov	x24, #0
	mov	w8, #52
	umull	x25, w25, w8
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	add	x26, x22, x23
	add	x0, x26, #20
	bl	_READEF1BYTE
	ldr	x8, [x20, #56]
	str	w0, [x8, x24, lsl #2]
	add	x0, x26, #24
	bl	_READEF4BYTE
	ldr	x8, [x20, #48]
	lsl	x27, x24, #3
	str	x0, [x8, x27]
	add	x0, x26, #40
	bl	_READEF4BYTE
	ldr	x8, [x20, #40]
	str	x0, [x8, x27]
	add	x0, x26, #56
	bl	_READEF4BYTE
	ldr	x8, [x20, #32]
	str	x0, [x8, x27]
	add	x24, x24, #1
	add	x23, x23, #52
	cmp	x25, x23
	b.ne	LBB0_22
; %bb.23:
	ldr	w8, [x20, #20]
LBB0_24:
	cmp	w8, #1
	b.ne	LBB0_26
; %bb.25:
Lloh28:
	adrp	x8, _P2P_PS_CTWINDOW@GOTPAGE
Lloh29:
	ldr	x8, [x8, _P2P_PS_CTWINDOW@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	str	x8, [x20, #8]
	ldr	x8, [x20]
	cbnz	x8, LBB0_28
	b	LBB0_17
LBB0_26:
	ldr	w8, [x20, #28]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.27:
Lloh31:
	adrp	x8, _P2P_PS_NOA@GOTPAGE
Lloh32:
	ldr	x8, [x8, _P2P_PS_NOA@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	str	x8, [x20, #8]
LBB0_28:
Lloh34:
	adrp	x8, _P2P_PS_ENABLE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _P2P_PS_ENABLE@GOTPAGEOFF]
	b	LBB0_14
LBB0_29:
	ldr	x8, [x20, #8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.gt	LBB0_13
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @rtl_p2p_noa_ie.p2p_oui_ie_type
_rtl_p2p_noa_ie.p2p_oui_ie_type:
	.long	80                              ; 0x50
	.long	111                             ; 0x6f
	.long	154                             ; 0x9a
	.long	9                               ; 0x9

	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P2P notice of absence: invalid length.%d\n"

	.comm	_P2P_MAX_NOA_NUM,4,2            ; @P2P_MAX_NOA_NUM
	.comm	_P2P_PS_NONE,8,3                ; @P2P_PS_NONE
	.comm	_COMP_FW,4,2                    ; @COMP_FW
l_.str.1:                               ; @.str.1
	.asciz	"update NOA ie.\n"

	.comm	_P2P_PS_CTWINDOW,8,3            ; @P2P_PS_CTWINDOW
	.comm	_P2P_PS_ENABLE,4,2              ; @P2P_PS_ENABLE
	.comm	_P2P_PS_NOA,8,3                 ; @P2P_PS_NOA
	.comm	_P2P_PS_DISABLE,4,2             ; @P2P_PS_DISABLE
	.no_dead_strip	_rtl_p2p_noa_ie
.subsections_via_symbols
