	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_getter_p2p_peer_vendor_extension ## -- Begin function wpas_dbus_getter_p2p_peer_vendor_extension
	.p2align	4, 0x90
_wpas_dbus_getter_p2p_peer_vendor_extension: ## @wpas_dbus_getter_p2p_peer_vendor_extension
	.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
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_P2P_MAX_WPS_VENDOR_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	(,%r14,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_p2p_get_peer_found
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r13
	shll	$3, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_os_memset
	movq	_P2P_MAX_WPS_VENDOR_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.5:
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
LBB0_12:
	testb	$1, %al
	je	LBB0_15
## %bb.13:
	movq	(%r13), %rax
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	%ebx, %ecx
	movq	%rax, (%r12,%rcx,8)
	incl	%ebx
LBB0_15:
	movq	_DBUS_TYPE_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movq	%r15, %r8
	callq	_wpas_dbus_simple_array_array_property_getter
	testl	%eax, %eax
	je	LBB0_2
## %bb.16:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_1:
	movq	_DBUS_ERROR_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	callq	_dbus_set_error
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_19
## %bb.18:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%eax, %edx
	andl	$-2, %edx
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	movq	(%rsi,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %edi
	movq	%rsi, (%r12,%rdi,8)
	incl	%ebx
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rsi
	movq	8(%rsi,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %edi
	movq	%rsi, (%r12,%rdi,8)
	incl	%ebx
	jmp	LBB0_11
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_P2P_MAX_WPS_VENDOR_EXT,4,2     ## @P2P_MAX_WPS_VENDOR_EXT
	.comm	_DBUS_ERROR_FAILED,4,2          ## @DBUS_ERROR_FAILED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to find peer"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_DBUS_TYPE_BYTE,4,2             ## @DBUS_TYPE_BYTE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_getter_p2p_peer_vendor_extension ; -- Begin function wpas_dbus_getter_p2p_peer_vendor_extension
	.p2align	2
_wpas_dbus_getter_p2p_peer_vendor_extension: ; @wpas_dbus_getter_p2p_peer_vendor_extension
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _P2P_MAX_WPS_VENDOR_EXT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _P2P_MAX_WPS_VENDOR_EXT@GOTPAGEOFF]
	ldr	w24, [x23]
	lsl	x8, x24, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	x8, [x3, #8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	w1, [x3]
	mov	w2, #0
	bl	_p2p_get_peer_found
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
	lsl	w2, w24, #3
	mov	x0, x21
	mov	w1, #0
	bl	_os_memset
	ldr	w9, [x23]
	cbz	w9, LBB0_7
; %bb.2:
	mov	x8, #0
	mov	w3, #0
	lsl	x9, x9, #3
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #8
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x22]
	ldr	x10, [x10, x8]
	cbz	x10, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x10, [x21, w3, uxtw #3]
	add	w3, w3, #1
	b	LBB0_3
LBB0_6:
Lloh7:
	adrp	x8, _DBUS_ERROR_FAILED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DBUS_ERROR_FAILED@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dbus_set_error
Lloh12:
	adrp	x8, _FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	mov	w3, #0
LBB0_8:
Lloh14:
	adrp	x8, _DBUS_TYPE_BYTE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DBUS_TYPE_BYTE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	mov	x4, x19
	bl	_wpas_dbus_simple_array_array_property_getter
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh19:
	adrp	x9, _FALSE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
LBB0_9:
	ldr	w0, [x8]
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #48
	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
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_P2P_MAX_WPS_VENDOR_EXT,4,2     ; @P2P_MAX_WPS_VENDOR_EXT
	.comm	_DBUS_ERROR_FAILED,4,2          ; @DBUS_ERROR_FAILED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to find peer"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_DBUS_TYPE_BYTE,4,2             ; @DBUS_TYPE_BYTE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
