	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_parse_ies_separate         ## -- Begin function p2p_parse_ies_separate
	.p2align	4, 0x90
_p2p_parse_ies_separate:                ## @p2p_parse_ies_separate
	.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	%r8, %r13
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	movq	%r8, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_os_memset
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_wpabuf_alloc_copy
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_p2p_parse_wps_ie
	testq	%rax, %rax
	jne	LBB0_6
LBB0_2:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_wpabuf_alloc_copy
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_p2p_parse_p2p_ie
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_hexdump_buf
LBB0_6:
	movq	%r13, %rdi
	callq	_p2p_parse_free
	movl	$-1, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P2P: Failed to parse P2P IE data"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.1:                               ## @.str.1
	.asciz	"P2P: P2P IE data"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_parse_ies_separate         ; -- Begin function p2p_parse_ies_separate
	.p2align	2
_p2p_parse_ies_separate:                ; @p2p_parse_ies_separate
	.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	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x4
	mov	w1, #0
	mov	w2, #16
	bl	_os_memset
	mov	x0, x23
	mov	x1, x22
	bl	_wpabuf_alloc_copy
	str	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x19
	bl	_p2p_parse_wps_ie
	cbnz	x0, LBB0_6
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	bl	_wpabuf_alloc_copy
	str	x0, [x19]
	cbz	x0, LBB0_7
; %bb.3:
	mov	x1, x19
	bl	_p2p_parse_p2p_ie
	cbz	x0, LBB0_7
; %bb.4:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x2, [x19]
	cbz	x2, LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_hexdump_buf
LBB0_6:
	mov	x0, x19
	bl	_p2p_parse_free
	mov	w0, #-1
LBB0_7:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P2P: Failed to parse P2P IE data"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.1:                               ; @.str.1
	.asciz	"P2P: P2P IE data"

.subsections_via_symbols
