	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_p2p_action_ie
_rtl_p2p_action_ie:                     ## @rtl_p2p_action_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_rtl_priv
	cmpl	$127, (%r12)
	jne	LBB0_22
## %bb.1:
	movq	%rax, %r15
	leaq	4(%r12), %rdi
	leaq	_rtl_p2p_action_ie.p2p_oui_ie_type(%rip), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_22
## %bb.2:
	movl	%ebx, %r14d
	addq	%r12, %r14
	movq	_COMP_FW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	leaq	32(%r12), %rbx
	cmpq	%r14, %rbx
	jae	LBB0_22
## %bb.3:
	addq	$28, %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_READEF2BYTE
	movl	%eax, %r13d
	movslq	(%rbx), %rax
	leaq	(%r12,%rax,4), %rax
	addq	$12, %rax
	cmpq	%r14, %rax
	ja	LBB0_22
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$12, (%r12)
	je	LBB0_6
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movslq	%r13d, %rax
	leaq	(%r12,%rax,4), %rbx
	addq	$16, %rbx
	leaq	(%r12,%rax,4), %r12
	addq	$12, %r12
	cmpq	%r14, %rbx
	jb	LBB0_4
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_COMP_FW@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%rbx), %esi
	movl	(%r14), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdi
	movq	%r12, %r8
	movl	%r13d, %r9d
	callq	_RT_PRINT_DATA
	movl	%r13d, %eax
	addl	$-2, %eax
	imull	$-991146299, %eax, %ecx         ## imm = 0xC4EC4EC5
	addl	$165191049, %ecx                ## imm = 0x9D89D89
	cmpl	$330382099, %ecx                ## imm = 0x13B13B13
	jb	LBB0_7
## %bb.23:
	movl	(%rbx), %esi
	movl	(%r14), %edx
	leaq	L_.str.3(%rip), %rcx
	movq	%r15, %rdi
	movl	%r13d, %r8d
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
LBB0_7:
	leaq	12(%r12), %rcx
	cltq
	imulq	$1321528399, %rax, %rax         ## imm = 0x4EC4EC4F
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$34, %rax
	addl	%edx, %eax
	movq	_P2P_MAX_NOA_NUM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%edx, %eax
	cmovgel	%edx, %eax
	movl	(%rcx), %ecx
	movq	8(%r15), %rdx
	movq	_P2P_PS_NONE@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rdx
	je	LBB0_9
## %bb.8:
	cmpl	16(%r15), %ecx
	je	LBB0_22
LBB0_9:
	movl	%ecx, 16(%r15)
	movl	16(%r12), %ecx
	sarl	$7, %ecx
	movl	%ecx, 20(%r15)
	movl	16(%r12), %edx
	andl	$127, %edx
	movl	%edx, 24(%r15)
	movl	%eax, 28(%r15)
	testl	%eax, %eax
	jle	LBB0_13
## %bb.10:
	movl	%eax, %r13d
	shlq	$2, %r13
	addq	$40, %r12
	xorl	%ebx, %ebx
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leaq	-20(%r12), %rdi
	callq	_READEF1BYTE
	movq	56(%r15), %rcx
	movl	%eax, (%rcx,%rbx)
	leaq	-16(%r12), %rdi
	callq	_READEF4BYTE
	movq	48(%r15), %rcx
	movq	%rax, (%rcx,%rbx,2)
	movq	%r12, %rdi
	callq	_READEF4BYTE
	movq	40(%r15), %rcx
	movq	%rax, (%rcx,%rbx,2)
	leaq	16(%r12), %rdi
	callq	_READEF4BYTE
	movq	32(%r15), %rcx
	movq	%rax, (%rcx,%rbx,2)
	addq	$4, %rbx
	addq	$52, %r12
	cmpq	%rbx, %r13
	jne	LBB0_11
## %bb.12:
	movl	20(%r15), %ecx
LBB0_13:
	cmpl	$1, %ecx
	jne	LBB0_17
## %bb.14:
	movq	_P2P_PS_CTWINDOW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	cmpq	$0, (%r15)
	jne	LBB0_15
	jmp	LBB0_22
LBB0_17:
	cmpl	$0, 28(%r15)
	jle	LBB0_19
## %bb.18:
	movq	_P2P_PS_NOA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
LBB0_15:
	movq	_P2P_PS_ENABLE@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_p2p_ps_cmd                 ## TAILCALL
LBB0_19:
	movq	8(%r15), %rax
	cmpq	(%r14), %rax
	jle	LBB0_22
## %bb.20:
	movq	_P2P_PS_DISABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @rtl_p2p_action_ie.p2p_oui_ie_type
_rtl_p2p_action_ie.p2p_oui_ie_type:
	.long	80                              ## 0x50
	.long	111                             ## 0x6f
	.long	154                             ## 0x9a
	.long	9                               ## 0x9

	.comm	_COMP_FW,4,2                    ## @COMP_FW
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"action frame find P2P IE.\n"

L_.str.1:                               ## @.str.1
	.asciz	"find NOA IE.\n"

L_.str.2:                               ## @.str.2
	.asciz	"noa ie "

L_.str.3:                               ## @.str.3
	.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	_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_action_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_action_ie
_rtl_p2p_action_ie:                     ; @rtl_p2p_action_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	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_rtl_priv
	ldr	w8, [x21]
	cmp	w8, #127
	b.ne	LBB0_9
; %bb.1:
	mov	x20, x0
	add	x0, x21, #4
Lloh0:
	adrp	x1, _rtl_p2p_action_ie.p2p_oui_ie_type@PAGE
Lloh1:
	add	x1, x1, _rtl_p2p_action_ie.p2p_oui_ie_type@PAGEOFF
	mov	w2, #4
	bl	_memcmp
	cbnz	x0, LBB0_9
; %bb.2:
	add	x26, x21, w22, uxtw
Lloh2:
	adrp	x24, _COMP_FW@GOTPAGE
Lloh3:
	ldr	x24, [x24, _COMP_FW@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh4:
	adrp	x25, _DBG_LOUD@GOTPAGE
Lloh5:
	ldr	x25, [x25, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	add	x23, x21, #32
	cmp	x23, x26
	b.hs	LBB0_9
; %bb.3:
	add	x21, x21, #28
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_READEF2BYTE
	add	x27, x21, #12
	ldrsw	x8, [x23]
	add	x8, x27, x8, lsl #2
	cmp	x8, x26
	b.hi	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	ldr	w8, [x21]
	cmp	w8, #12
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w22, #3
	add	x21, x21, w8, sxtw #2
	add	x23, x21, #4
	cmp	x23, x26
	b.lo	LBB0_4
	b	LBB0_9
LBB0_7:
	ldr	w1, [x24]
	ldr	w2, [x25]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	w1, [x24]
	ldr	w2, [x25]
Lloh10:
	adrp	x3, l_.str.2@PAGE
Lloh11:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x4, x21
	mov	x5, x22
	bl	_RT_PRINT_DATA
	sub	w9, w22, #2
	mov	w8, #60495
	movk	w8, #20164, lsl #16
	smull	x8, w9, w8
	lsr	x10, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w10
	mov	w10, #13
	msub	w9, w8, w10, w9
	cbz	w9, LBB0_10
; %bb.8:
	ldr	w1, [x24]
	ldr	w2, [x25]
	str	x22, [sp]
Lloh12:
	adrp	x3, l_.str.3@PAGE
Lloh13:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
LBB0_9:
	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_10:
Lloh14:
	adrp	x9, _P2P_MAX_NOA_NUM@GOTPAGE
Lloh15:
	ldr	x9, [x9, _P2P_MAX_NOA_NUM@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w8, w8, w9, lt
	ldr	w9, [x27]
	ldr	x10, [x20, #8]
Lloh17:
	adrp	x22, _P2P_PS_NONE@GOTPAGE
Lloh18:
	ldr	x22, [x22, _P2P_PS_NONE@GOTPAGEOFF]
	ldr	x11, [x22]
	cmp	x10, x11
	b.eq	LBB0_12
; %bb.11:
	ldr	w10, [x20, #16]
	cmp	w9, w10
	b.eq	LBB0_9
LBB0_12:
	str	w9, [x20, #16]
	ldr	w9, [x21, #16]
	asr	w9, w9, #7
	str	w9, [x20, #20]
	ldr	w10, [x21, #16]
	and	w10, w10, #0x7f
	stp	w10, w8, [x20, #24]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.13:
	mov	x23, #0
	mov	x24, #0
	mov	w9, #52
	umull	x25, w8, w9
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x26, x21, 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_14
; %bb.15:
	ldr	w9, [x20, #20]
LBB0_16:
	cmp	w9, #1
	b.ne	LBB0_18
; %bb.17:
Lloh19:
	adrp	x8, _P2P_PS_CTWINDOW@GOTPAGE
Lloh20:
	ldr	x8, [x8, _P2P_PS_CTWINDOW@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x20, #8]
	ldr	x8, [x20]
	cbnz	x8, LBB0_20
	b	LBB0_9
LBB0_18:
	ldr	w8, [x20, #28]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.19:
Lloh22:
	adrp	x8, _P2P_PS_NOA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _P2P_PS_NOA@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	str	x8, [x20, #8]
LBB0_20:
Lloh25:
	adrp	x8, _P2P_PS_ENABLE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _P2P_PS_ENABLE@GOTPAGEOFF]
LBB0_21:
	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_22:
	ldr	x8, [x20, #8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.le	LBB0_9
; %bb.23:
Lloh27:
	adrp	x8, _P2P_PS_DISABLE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _P2P_PS_DISABLE@GOTPAGEOFF]
	b	LBB0_21
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @rtl_p2p_action_ie.p2p_oui_ie_type
_rtl_p2p_action_ie.p2p_oui_ie_type:
	.long	80                              ; 0x50
	.long	111                             ; 0x6f
	.long	154                             ; 0x9a
	.long	9                               ; 0x9

	.comm	_COMP_FW,4,2                    ; @COMP_FW
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"action frame find P2P IE.\n"

l_.str.1:                               ; @.str.1
	.asciz	"find NOA IE.\n"

l_.str.2:                               ; @.str.2
	.asciz	"noa ie "

l_.str.3:                               ; @.str.3
	.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	_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_action_ie
.subsections_via_symbols
