	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_p2p_connect  ## -- Begin function wpas_dbus_handler_p2p_connect
	.p2align	4, 0x90
_wpas_dbus_handler_p2p_connect:         ## @wpas_dbus_handler_p2p_connect
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -120(%rbp)
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_WPS_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	-120(%rbp), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_wpa_dbus_p2p_check_enabled
	testl	%eax, %eax
	je	LBB0_62
## %bb.1:
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	movq	%r14, -176(%rbp)                ## 8-byte Spill
	leaq	-196(%rbp), %r14
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dbus_message_iter_init
	xorl	%ebx, %ebx
	leaq	-124(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wpa_dbus_dict_open_read
	movl	$0, %r13d
	movl	$0, %r14d
	testl	%eax, %eax
	je	LBB0_52
## %bb.2:
	movq	%r12, -168(%rbp)                ## 8-byte Spill
	leaq	-124(%rbp), %rdi
	callq	_wpa_dbus_dict_has_dict_entry
	testq	%rax, %rax
	movq	%r15, -160(%rbp)                ## 8-byte Spill
	movl	$-1, %r12d
	je	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	-124(%rbp), %r13
	leaq	-88(%rbp), %r14
	leaq	L_.str(%rip), %r15
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	$0, -92(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-72(%rbp), %edi
	callq	_os_strdup
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_wpa_dbus_dict_entry_clear
	movq	%r13, %rdi
	callq	_wpa_dbus_dict_has_dict_entry
	testq	%rax, %rax
	je	LBB0_41
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_wpa_dbus_dict_get_entry
	testl	%eax, %eax
	je	LBB0_25
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-68(%rbp), %edi
	movq	%r15, %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_OBJECT_PATH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-68(%rbp), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_BOOLEAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-80(%rbp), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-68(%rbp), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_BOOLEAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-80(%rbp), %ebx
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-68(%rbp), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_BOOLEAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-80(%rbp), %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-68(%rbp), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_INT32@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-76(%rbp), %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	testl	%eax, %eax
	jg	LBB0_40
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-68(%rbp), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_INT32@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-76(%rbp), %r12d
	cmpl	$15, %r12d
	jbe	LBB0_40
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-68(%rbp), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_37
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_37
## %bb.29:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-72(%rbp), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_30
## %bb.32:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-72(%rbp), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-72(%rbp), %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_33
## %bb.35:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-72(%rbp), %edi
	leaq	L_.str.10(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_24
## %bb.36:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_WPS_PIN_KEYPAD@GOTPCREL(%rip), %rax
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-68(%rbp), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_24
## %bb.38:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.39:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-72(%rbp), %edi
	callq	_os_strdup
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_40
LBB0_33:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_WPS_PIN_DISPLAY@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_WPS_PBC@GOTPCREL(%rip), %rax
LBB0_31:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_40
LBB0_3:
	xorl	%eax, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	$0, -92(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
LBB0_41:
	movq	_WPS_NOT_READY@GOTPCREL(%rip), %rax
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	movq	-160(%rbp), %r15                ## 8-byte Reload
	je	LBB0_26
## %bb.42:
	movq	%r12, -184(%rbp)                ## 8-byte Spill
	movq	%rbx, %r12
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_parse_peer_object_path
	testq	%rax, %rax
	movq	-112(%rbp), %r14                ## 8-byte Reload
	js	LBB0_52
## %bb.43:
	movq	-168(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movl	8(%rax), %edi
	movq	%rbx, %rsi
	callq	_p2p_peer_known
	testl	%eax, %eax
	je	LBB0_52
## %bb.44:
	testq	%r14, %r14
	je	LBB0_50
## %bb.45:
	cmpb	$0, (%r14)
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	jne	LBB0_47
## %bb.46:
	movq	_WPS_PIN_KEYPAD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_52
	jmp	LBB0_47
LBB0_24:
	leaq	-88(%rbp), %rdi
	callq	_wpa_dbus_dict_entry_clear
LBB0_25:
	movq	-160(%rbp), %r15                ## 8-byte Reload
LBB0_26:
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	-104(%rbp), %r13                ## 8-byte Reload
LBB0_52:
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	callq	_wpas_dbus_error_invalid_args
LBB0_60:
	movq	%rax, -120(%rbp)
LBB0_61:
	movq	%r13, %rdi
	callq	_os_free
	movq	%r14, %rdi
	callq	_os_free
LBB0_62:
	movq	-120(%rbp), %rax
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_64
## %bb.63:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_50:
	movq	_WPS_PIN_KEYPAD@GOTPCREL(%rip), %rax
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	jne	LBB0_47
## %bb.51:
	xorl	%r14d, %r14d
	jmp	LBB0_52
LBB0_47:
	movq	-168(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rdi
	subq	$8, %rsp
	movq	-176(%rbp), %rsi                ## 8-byte Reload
	movq	%r14, %rdx
	movl	-92(%rbp), %r8d                 ## 4-byte Reload
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$-1
	pushq	$0
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	pushq	-184(%rbp)                      ## 8-byte Folded Reload
	pushq	-152(%rbp)                      ## 8-byte Folded Reload
	pushq	%r12
	callq	_wpas_p2p_connect
	addq	$112, %rsp
	testl	%eax, %eax
	js	LBB0_54
## %bb.48:
	leaq	L_.str.11(%rip), %rdx
	leaq	-57(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$9, %esi
	movl	%eax, %ecx
	callq	_os_snprintf
	movl	$9, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	je	LBB0_53
## %bb.49:
	leaq	L_.str.12(%rip), %rsi
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_wpas_dbus_error_unknown_error
	jmp	LBB0_60
LBB0_54:
	cmpl	$-2, %eax
	je	LBB0_55
## %bb.56:
	cmpl	$-3, %eax
	jne	LBB0_58
## %bb.57:
	movq	_WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNSUPPORTED@GOTPCREL(%rip), %rax
	leaq	L_.str.14(%rip), %rdx
	jmp	LBB0_59
LBB0_53:
	movq	%rbx, -192(%rbp)
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_dbus_message_new_method_return
	movq	%rax, -120(%rbp)
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_DBUS_TYPE_INVALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-192(%rbp), %rdx
	movq	%rax, %rdi
	callq	_dbus_message_append_args
	jmp	LBB0_61
LBB0_55:
	movq	_WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNAVAILABLE@GOTPCREL(%rip), %rax
	leaq	L_.str.13(%rip), %rdx
	jmp	LBB0_59
LBB0_58:
	movq	_WPAS_DBUS_ERROR_CONNECT_UNSPECIFIED_ERROR@GOTPCREL(%rip), %rax
	leaq	L_.str.15(%rip), %rdx
LBB0_59:
	movq	(%rax), %rsi
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_dbus_message_new_error
	jmp	LBB0_60
LBB0_64:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_WPS_NOT_READY,4,2              ## @WPS_NOT_READY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"peer"

	.comm	_DBUS_TYPE_OBJECT_PATH,8,3      ## @DBUS_TYPE_OBJECT_PATH
L_.str.1:                               ## @.str.1
	.asciz	"persistent"

	.comm	_DBUS_TYPE_BOOLEAN,8,3          ## @DBUS_TYPE_BOOLEAN
L_.str.2:                               ## @.str.2
	.asciz	"join"

L_.str.3:                               ## @.str.3
	.asciz	"authorize_only"

L_.str.4:                               ## @.str.4
	.asciz	"frequency"

	.comm	_DBUS_TYPE_INT32,8,3            ## @DBUS_TYPE_INT32
L_.str.5:                               ## @.str.5
	.asciz	"go_intent"

L_.str.6:                               ## @.str.6
	.asciz	"wps_method"

	.comm	_DBUS_TYPE_STRING,8,3           ## @DBUS_TYPE_STRING
L_.str.7:                               ## @.str.7
	.asciz	"pbc"

	.comm	_WPS_PBC,4,2                    ## @WPS_PBC
L_.str.8:                               ## @.str.8
	.asciz	"pin"

	.comm	_WPS_PIN_DISPLAY,4,2            ## @WPS_PIN_DISPLAY
L_.str.9:                               ## @.str.9
	.asciz	"display"

L_.str.10:                              ## @.str.10
	.asciz	"keypad"

	.comm	_WPS_PIN_KEYPAD,4,2             ## @WPS_PIN_KEYPAD
L_.str.11:                              ## @.str.11
	.asciz	"%08d"

L_.str.12:                              ## @.str.12
	.asciz	"invalid PIN"

	.comm	_DBUS_TYPE_INVALID,4,2          ## @DBUS_TYPE_INVALID
L_.str.13:                              ## @.str.13
	.asciz	"connect failed due to channel unavailability."

	.comm	_WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNAVAILABLE,8,3 ## @WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNAVAILABLE
L_.str.14:                              ## @.str.14
	.asciz	"connect failed due to unsupported channel."

	.comm	_WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNSUPPORTED,8,3 ## @WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNSUPPORTED
L_.str.15:                              ## @.str.15
	.asciz	"connect failed due to unspecified error."

	.comm	_WPAS_DBUS_ERROR_CONNECT_UNSPECIFIED_ERROR,8,3 ## @WPAS_DBUS_ERROR_CONNECT_UNSPECIFIED_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_p2p_connect  ; -- Begin function wpas_dbus_handler_p2p_connect
	.p2align	2
_wpas_dbus_handler_p2p_connect:         ; @wpas_dbus_handler_p2p_connect
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #112
	mov	x23, x1
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stur	xzr, [x29, #-112]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh8:
	adrp	x8, _WPS_NOT_READY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WPS_NOT_READY@GOTPAGEOFF]
Lloh10:
	ldr	w27, [x8]
	sub	x2, x29, #112
	mov	x0, x1
	mov	x1, x19
	mov	x3, #0
	bl	_wpa_dbus_p2p_check_enabled
	cbz	w0, LBB0_49
; %bb.1:
	sub	x1, x29, #116
	mov	x0, x19
	bl	_dbus_message_iter_init
	sub	x0, x29, #116
	sub	x1, x29, #104
	mov	x2, #0
	bl	_wpa_dbus_dict_open_read
	cbz	w0, LBB0_36
; %bb.2:
	stur	x24, [x29, #-168]               ; 8-byte Folded Spill
	sub	x0, x29, #104
	bl	_wpa_dbus_dict_has_dict_entry
	cbz	x0, LBB0_37
; %bb.3:
	mov	x21, #0
	mov	x20, #0
	stur	wzr, [x29, #-156]               ; 4-byte Folded Spill
	mov	w25, #0
	stur	xzr, [x29, #-176]               ; 8-byte Folded Spill
	mov	w8, #-1
	stur	w8, [x29, #-180]                ; 4-byte Folded Spill
Lloh11:
	adrp	x28, l_.str@PAGE
Lloh12:
	add	x28, x28, l_.str@PAGEOFF
Lloh13:
	adrp	x24, l_.str.1@PAGE
Lloh14:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh15:
	adrp	x26, _DBUS_TYPE_BOOLEAN@GOTPAGE
Lloh16:
	ldr	x26, [x26, _DBUS_TYPE_BOOLEAN@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-128]
	bl	_os_strdup
	mov	x20, x0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	x0, x29, #144
	bl	_wpa_dbus_dict_entry_clear
	sub	x0, x29, #104
	bl	_wpa_dbus_dict_has_dict_entry
	cbz	x0, LBB0_38
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	x0, x29, #104
	sub	x1, x29, #144
	bl	_wpa_dbus_dict_get_entry
	cbz	w0, LBB0_45
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-124]
	mov	x1, x28
	bl	_os_strcmp
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-144]
Lloh17:
	adrp	x9, _DBUS_TYPE_OBJECT_PATH@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DBUS_TYPE_OBJECT_PATH@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-124]
	mov	x1, x24
	bl	_os_strcmp
	cbnz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-144]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w8, [x29, #-136]
	stur	w8, [x29, #-156]                ; 4-byte Folded Spill
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-124]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_os_strcmp
	cbnz	x0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-144]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w8, [x29, #-136]
	stur	w8, [x29, #-172]                ; 4-byte Folded Spill
	b	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-124]
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_os_strcmp
	cbnz	x0, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-144]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w8, [x29, #-136]
	stur	w8, [x29, #-176]                ; 4-byte Folded Spill
	b	LBB0_5
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-124]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_os_strcmp
	cbnz	x0, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-144]
Lloh26:
	adrp	x9, _DBUS_TYPE_INT32@GOTPAGE
Lloh27:
	ldr	x9, [x9, _DBUS_TYPE_INT32@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w25, [x29, #-132]
	cmp	w25, #1
	b.ge	LBB0_5
	b	LBB0_44
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-124]
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_os_strcmp
	cbnz	x0, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-144]
Lloh31:
	adrp	x9, _DBUS_TYPE_INT32@GOTPAGE
Lloh32:
	ldr	x9, [x9, _DBUS_TYPE_INT32@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w8, [x29, #-132]
	stur	w8, [x29, #-180]                ; 4-byte Folded Spill
	cmp	w8, #15
	b.ls	LBB0_5
	b	LBB0_44
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-124]
Lloh34:
	adrp	x1, l_.str.6@PAGE
Lloh35:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_os_strcmp
	cbnz	x0, LBB0_31
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-144]
Lloh36:
	adrp	x9, _DBUS_TYPE_STRING@GOTPAGE
Lloh37:
	ldr	x9, [x9, _DBUS_TYPE_STRING@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-128]
Lloh39:
	adrp	x1, l_.str.7@PAGE
Lloh40:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_os_strcmp
	cbz	x0, LBB0_35
; %bb.27:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-128]
Lloh41:
	adrp	x1, l_.str.8@PAGE
Lloh42:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_os_strcmp
	cbz	x0, LBB0_34
; %bb.28:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-128]
Lloh43:
	adrp	x1, l_.str.9@PAGE
Lloh44:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_os_strcmp
	cbz	x0, LBB0_34
; %bb.29:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-128]
Lloh45:
	adrp	x1, l_.str.10@PAGE
Lloh46:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_os_strcmp
	cbnz	x0, LBB0_44
; %bb.30:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh47:
	adrp	x8, _WPS_PIN_KEYPAD@GOTPAGE
Lloh48:
	ldr	x8, [x8, _WPS_PIN_KEYPAD@GOTPAGEOFF]
Lloh49:
	ldr	w27, [x8]
	b	LBB0_5
LBB0_31:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-124]
Lloh50:
	adrp	x1, l_.str.8@PAGE
Lloh51:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_os_strcmp
	cbnz	x0, LBB0_44
; %bb.32:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-144]
Lloh52:
	adrp	x9, _DBUS_TYPE_STRING@GOTPAGE
Lloh53:
	ldr	x9, [x9, _DBUS_TYPE_STRING@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_44
; %bb.33:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-128]
	bl	_os_strdup
	mov	x21, x0
	b	LBB0_5
LBB0_34:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh55:
	adrp	x8, _WPS_PIN_DISPLAY@GOTPAGE
Lloh56:
	ldr	x8, [x8, _WPS_PIN_DISPLAY@GOTPAGEOFF]
Lloh57:
	ldr	w27, [x8]
	b	LBB0_5
LBB0_35:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh58:
	adrp	x8, _WPS_PBC@GOTPAGE
Lloh59:
	ldr	x8, [x8, _WPS_PBC@GOTPAGEOFF]
Lloh60:
	ldr	w27, [x8]
	b	LBB0_5
LBB0_36:
	mov	x20, #0
	mov	x21, #0
	b	LBB0_46
LBB0_37:
	stur	xzr, [x29, #-176]               ; 8-byte Folded Spill
	mov	w25, #0
	stur	wzr, [x29, #-156]               ; 4-byte Folded Spill
	mov	x20, #0
	mov	x21, #0
	mov	w8, #-1
	stur	w8, [x29, #-180]                ; 4-byte Folded Spill
LBB0_38:
Lloh61:
	adrp	x8, _WPS_NOT_READY@GOTPAGE
Lloh62:
	ldr	x8, [x8, _WPS_NOT_READY@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	cmp	w27, w8
	b.eq	LBB0_45
; %bb.39:
	mov	x0, x20
	mov	x1, x22
	bl	_parse_peer_object_path
	tbnz	x0, #63, LBB0_45
; %bb.40:
	ldr	x8, [x23]
	ldr	w0, [x8, #8]
	mov	x1, x22
	bl	_p2p_peer_known
	cbz	w0, LBB0_45
; %bb.41:
	cbz	x21, LBB0_51
; %bb.42:
	ldrb	w8, [x21]
	cbnz	w8, LBB0_53
; %bb.43:
Lloh64:
	adrp	x8, _WPS_PIN_KEYPAD@GOTPAGE
Lloh65:
	ldr	x8, [x8, _WPS_PIN_KEYPAD@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	cmp	w27, w8
	b.eq	LBB0_45
	b	LBB0_53
LBB0_44:
	sub	x0, x29, #144
	bl	_wpa_dbus_dict_entry_clear
LBB0_45:
	ldur	x24, [x29, #-168]               ; 8-byte Folded Reload
LBB0_46:
	mov	x0, x19
	mov	x1, #0
	bl	_wpas_dbus_error_invalid_args
LBB0_47:
	stur	x0, [x29, #-112]
LBB0_48:
	mov	x0, x20
	bl	_os_free
	mov	x0, x21
	bl	_os_free
LBB0_49:
	ldur	x0, [x29, #-112]
	mov	sp, x24
	ldur	x8, [x29, #-88]
Lloh67:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh68:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh69:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_58
; %bb.50:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_51:
Lloh70:
	adrp	x8, _WPS_PIN_KEYPAD@GOTPAGE
Lloh71:
	ldr	x8, [x8, _WPS_PIN_KEYPAD@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	cmp	w27, w8
	b.ne	LBB0_53
; %bb.52:
	mov	x21, #0
	b	LBB0_45
LBB0_53:
	ldr	x8, [x23]
	ldr	x0, [x8]
	sub	sp, sp, #64
	stp	xzr, xzr, [sp, #16]
	str	wzr, [sp, #48]
	mov	x8, #-4294967296
	str	xzr, [sp, #40]
	str	wzr, [sp, #32]
	str	x8, [sp, #8]
	str	w25, [sp, #4]
	ldur	w8, [x29, #-180]                ; 4-byte Folded Reload
	str	w8, [sp]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x27
	ldur	w4, [x29, #-156]                ; 4-byte Folded Reload
	mov	w5, #0
	ldp	w7, w6, [x29, #-176]            ; 8-byte Folded Reload
	bl	_wpas_p2p_connect
	add	sp, sp, #64
	mov	x3, x0
	tbnz	w0, #31, LBB0_56
; %bb.54:
Lloh73:
	adrp	x2, l_.str.11@PAGE
Lloh74:
	add	x2, x2, l_.str.11@PAGEOFF
	sub	x22, x29, #97
	sub	x0, x29, #97
	mov	w1, #9
	bl	_os_snprintf
	mov	x1, x0
	mov	w0, #9
	bl	_os_snprintf_error
	ldur	x24, [x29, #-168]               ; 8-byte Folded Reload
	cbz	x0, LBB0_57
; %bb.55:
Lloh75:
	adrp	x1, l_.str.12@PAGE
Lloh76:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_wpas_dbus_error_unknown_error
	b	LBB0_47
LBB0_56:
Lloh77:
	adrp	x8, _WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNAVAILABLE@GOTPAGE
Lloh78:
	ldr	x8, [x8, _WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNAVAILABLE@GOTPAGEOFF]
Lloh79:
	adrp	x9, l_.str.13@PAGE
Lloh80:
	add	x9, x9, l_.str.13@PAGEOFF
	cmn	w3, #3
Lloh81:
	adrp	x10, _WPAS_DBUS_ERROR_CONNECT_UNSPECIFIED_ERROR@GOTPAGE
Lloh82:
	ldr	x10, [x10, _WPAS_DBUS_ERROR_CONNECT_UNSPECIFIED_ERROR@GOTPAGEOFF]
Lloh83:
	adrp	x11, l_.str.15@PAGE
Lloh84:
	add	x11, x11, l_.str.15@PAGEOFF
Lloh85:
	adrp	x12, _WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNSUPPORTED@GOTPAGE
Lloh86:
	ldr	x12, [x12, _WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNSUPPORTED@GOTPAGEOFF]
Lloh87:
	adrp	x13, l_.str.14@PAGE
Lloh88:
	add	x13, x13, l_.str.14@PAGEOFF
	csel	x11, x11, x13, ne
	csel	x10, x10, x12, ne
	cmn	w3, #2
	csel	x2, x9, x11, eq
	csel	x8, x8, x10, eq
	ldr	x1, [x8]
	mov	x0, x19
	bl	_dbus_message_new_error
	stur	x0, [x29, #-112]
	ldur	x24, [x29, #-168]               ; 8-byte Folded Reload
	b	LBB0_48
LBB0_57:
	stur	x22, [x29, #-152]
	mov	x0, x19
	bl	_dbus_message_new_method_return
	stur	x0, [x29, #-112]
Lloh89:
	adrp	x8, _DBUS_TYPE_STRING@GOTPAGE
Lloh90:
	ldr	x8, [x8, _DBUS_TYPE_STRING@GOTPAGEOFF]
Lloh91:
	ldr	x1, [x8]
Lloh92:
	adrp	x8, _DBUS_TYPE_INVALID@GOTPAGE
Lloh93:
	ldr	x8, [x8, _DBUS_TYPE_INVALID@GOTPAGEOFF]
Lloh94:
	ldr	w3, [x8]
	sub	x2, x29, #152
	bl	_dbus_message_append_args
	b	LBB0_48
LBB0_58:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_WPS_NOT_READY,4,2              ; @WPS_NOT_READY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"peer"

	.comm	_DBUS_TYPE_OBJECT_PATH,8,3      ; @DBUS_TYPE_OBJECT_PATH
l_.str.1:                               ; @.str.1
	.asciz	"persistent"

	.comm	_DBUS_TYPE_BOOLEAN,8,3          ; @DBUS_TYPE_BOOLEAN
l_.str.2:                               ; @.str.2
	.asciz	"join"

l_.str.3:                               ; @.str.3
	.asciz	"authorize_only"

l_.str.4:                               ; @.str.4
	.asciz	"frequency"

	.comm	_DBUS_TYPE_INT32,8,3            ; @DBUS_TYPE_INT32
l_.str.5:                               ; @.str.5
	.asciz	"go_intent"

l_.str.6:                               ; @.str.6
	.asciz	"wps_method"

	.comm	_DBUS_TYPE_STRING,8,3           ; @DBUS_TYPE_STRING
l_.str.7:                               ; @.str.7
	.asciz	"pbc"

	.comm	_WPS_PBC,4,2                    ; @WPS_PBC
l_.str.8:                               ; @.str.8
	.asciz	"pin"

	.comm	_WPS_PIN_DISPLAY,4,2            ; @WPS_PIN_DISPLAY
l_.str.9:                               ; @.str.9
	.asciz	"display"

l_.str.10:                              ; @.str.10
	.asciz	"keypad"

	.comm	_WPS_PIN_KEYPAD,4,2             ; @WPS_PIN_KEYPAD
l_.str.11:                              ; @.str.11
	.asciz	"%08d"

l_.str.12:                              ; @.str.12
	.asciz	"invalid PIN"

	.comm	_DBUS_TYPE_INVALID,4,2          ; @DBUS_TYPE_INVALID
l_.str.13:                              ; @.str.13
	.asciz	"connect failed due to channel unavailability."

	.comm	_WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNAVAILABLE,8,3 ; @WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNAVAILABLE
l_.str.14:                              ; @.str.14
	.asciz	"connect failed due to unsupported channel."

	.comm	_WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNSUPPORTED,8,3 ; @WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNSUPPORTED
l_.str.15:                              ; @.str.15
	.asciz	"connect failed due to unspecified error."

	.comm	_WPAS_DBUS_ERROR_CONNECT_UNSPECIFIED_ERROR,8,3 ; @WPAS_DBUS_ERROR_CONNECT_UNSPECIFIED_ERROR
.subsections_via_symbols
