	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_p2p_prov_disc_req ## -- Begin function wpas_dbus_handler_p2p_prov_disc_req
	.p2align	4, 0x90
_wpas_dbus_handler_p2p_prov_disc_req:   ## @wpas_dbus_handler_p2p_prov_disc_req
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -56(%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, %r12
	leaq	-60(%rbp), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dbus_message_iter_init
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dbus_message_iter_get_basic
	movq	-72(%rbp), %rdi
	movq	%r12, %rsi
	callq	_parse_peer_object_path
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	leaq	-60(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_dbus_message_iter_next
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dbus_message_iter_get_basic
	movq	-56(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	-56(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	-56(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	-56(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_1:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_wpas_dbus_error_invalid_args
	jmp	LBB0_8
LBB0_6:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	movq	-56(%rbp), %rdx
	movq	_WPAS_P2P_PD_FOR_GO_NEG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	callq	_wpas_p2p_prov_disc
	testq	%rax, %rax
	jns	LBB0_9
## %bb.7:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_wpas_dbus_error_unknown_error
LBB0_8:
	movq	%rax, %rbx
LBB0_9:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"display"

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

L_.str.2:                               ## @.str.2
	.asciz	"pbc"

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

	.comm	_WPAS_P2P_PD_FOR_GO_NEG,4,2     ## @WPAS_P2P_PD_FOR_GO_NEG
L_.str.4:                               ## @.str.4
	.asciz	"Failed to send provision discovery request"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_p2p_prov_disc_req ; -- Begin function wpas_dbus_handler_p2p_prov_disc_req
	.p2align	2
_wpas_dbus_handler_p2p_prov_disc_req:   ; @wpas_dbus_handler_p2p_prov_disc_req
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #32
	mov	x20, x1
	mov	x19, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	stp	xzr, xzr, [x29, #-64]
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	x21, x9, x8
	mov	sp, x21
	sub	x1, x29, #44
	bl	_dbus_message_iter_init
	sub	x0, x29, #44
	sub	x1, x29, #56
	bl	_dbus_message_iter_get_basic
	ldur	x0, [x29, #-56]
	mov	x1, x21
	bl	_parse_peer_object_path
	tbnz	x0, #63, LBB0_5
; %bb.1:
	sub	x0, x29, #44
	bl	_dbus_message_iter_next
	sub	x0, x29, #44
	sub	x1, x29, #64
	bl	_dbus_message_iter_get_basic
	ldur	x0, [x29, #-64]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_os_strcmp
	cbz	x0, LBB0_6
; %bb.2:
	ldur	x0, [x29, #-64]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_os_strcmp
	cbz	x0, LBB0_6
; %bb.3:
	ldur	x0, [x29, #-64]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_os_strcmp
	cbz	x0, LBB0_6
; %bb.4:
	ldur	x0, [x29, #-64]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_os_strcmp
	cbz	x0, LBB0_6
LBB0_5:
	mov	x0, x19
	mov	x1, #0
	bl	_wpas_dbus_error_invalid_args
	b	LBB0_8
LBB0_6:
	ldr	x8, [x20]
	ldr	x0, [x8]
	ldur	x2, [x29, #-64]
Lloh16:
	adrp	x8, _WPAS_P2P_PD_FOR_GO_NEG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WPAS_P2P_PD_FOR_GO_NEG@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x1, x21
	mov	x4, #0
	bl	_wpas_p2p_prov_disc
	mov	x8, x0
	mov	x0, #0
	tbz	x8, #63, LBB0_8
; %bb.7:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_wpas_dbus_error_unknown_error
LBB0_8:
	mov	sp, x22
	ldur	x8, [x29, #-40]
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_10
; %bb.9:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"display"

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

l_.str.2:                               ; @.str.2
	.asciz	"pbc"

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

	.comm	_WPAS_P2P_PD_FOR_GO_NEG,4,2     ; @WPAS_P2P_PD_FOR_GO_NEG
l_.str.4:                               ; @.str.4
	.asciz	"Failed to send provision discovery request"

.subsections_via_symbols
