	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_getter_p2p_group_vendor_ext ## -- Begin function wpas_dbus_getter_p2p_group_vendor_ext
	.p2align	4, 0x90
_wpas_dbus_getter_p2p_group_vendor_ext: ## @wpas_dbus_getter_p2p_group_vendor_ext
	.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, %r13
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_WPS_VENDOR_EXTENSIONS@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	%rbx, %rax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leal	(,%rbx,8), %edx
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_os_memset
	movq	%r13, %rdi
	callq	_wpas_get_p2p_role
	movq	_WPAS_P2P_ROLE_GO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.1:
	movq	(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movl	(%r14), %r8d
	testq	%r8, %r8
	je	LBB0_15
## %bb.4:
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	cmpl	$1, %r8d
	jne	LBB0_6
## %bb.5:
	xorl	%edx, %edx
	xorl	%ebx, %ebx
LBB0_12:
	testb	$1, %r8b
	je	LBB0_15
## %bb.13:
	movq	(%rcx), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	%ebx, %ecx
	incl	%ebx
	movq	%rax, (%r12,%rcx,8)
LBB0_15:
	movq	_DBUS_TYPE_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_wpas_dbus_simple_array_array_property_getter
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_16
LBB0_6:
	movl	%r8d, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rdi
	movq	(%rdi), %rdi
	movq	(%rdi,%rdx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %eax
	incl	%ebx
	movq	%rdi, (%r12,%rax,8)
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rcx), %rax
	movq	(%rax), %rax
	movq	8(%rax,%rdx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %eax
	incl	%ebx
	movq	%rdi, (%r12,%rax,8)
	jmp	LBB0_11
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_WPS_VENDOR_EXTENSIONS,4,2  ## @MAX_WPS_VENDOR_EXTENSIONS
	.comm	_WPAS_P2P_ROLE_GO,8,3           ## @WPAS_P2P_ROLE_GO
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_DBUS_TYPE_BYTE,4,2             ## @DBUS_TYPE_BYTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_getter_p2p_group_vendor_ext ; -- Begin function wpas_dbus_getter_p2p_group_vendor_ext
	.p2align	2
_wpas_dbus_getter_p2p_group_vendor_ext: ; @wpas_dbus_getter_p2p_group_vendor_ext
	.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	x22, x3
	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, _MAX_WPS_VENDOR_EXTENSIONS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MAX_WPS_VENDOR_EXTENSIONS@GOTPAGEOFF]
	ldr	w12, [x23]
	lsl	x8, x12, #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
	lsl	w2, w12, #3
	mov	x0, x21
	mov	w1, #0
	bl	_os_memset
	mov	x0, x22
	bl	_wpas_get_p2p_role
	mov	w3, #0
Lloh7:
	adrp	x8, _WPAS_P2P_ROLE_GO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WPAS_P2P_ROLE_GO@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.1:
	ldr	x9, [x22]
	cbz	x9, LBB0_7
; %bb.2:
	ldr	w10, [x23]
	cbz	w10, LBB0_8
; %bb.3:
	mov	x8, #0
	mov	w3, #0
	ldr	x9, [x9]
	ldr	x9, [x9]
	lsl	x10, x10, #3
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #8
	cmp	x10, x8
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	ldr	x11, [x11]
	ldr	x11, [x11, x8]
	cbz	x11, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x11, [x21, w3, uxtw #3]
	add	w3, w3, #1
	b	LBB0_4
LBB0_7:
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_8:
	mov	w3, #0
LBB0_9:
Lloh13:
	adrp	x8, _DBUS_TYPE_BYTE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DBUS_TYPE_BYTE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	mov	x4, x19
	bl	_wpas_dbus_simple_array_array_property_getter
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	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_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_WPS_VENDOR_EXTENSIONS,4,2  ; @MAX_WPS_VENDOR_EXTENSIONS
	.comm	_WPAS_P2P_ROLE_GO,8,3           ; @WPAS_P2P_ROLE_GO
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_DBUS_TYPE_BYTE,4,2             ; @DBUS_TYPE_BYTE
.subsections_via_symbols
