	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_p2p_extendedlisten ## -- Begin function wpas_dbus_handler_p2p_extendedlisten
	.p2align	4, 0x90
_wpas_dbus_handler_p2p_extendedlisten:  ## @wpas_dbus_handler_p2p_extendedlisten
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	leaq	-100(%rbp), %rbx
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_dbus_message_iter_init
	movq	$0, -64(%rbp)
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_wpa_dbus_dict_open_read
	testl	%eax, %eax
	je	LBB0_15
## %bb.1:
	leaq	-44(%rbp), %rdi
	callq	_wpa_dbus_dict_has_dict_entry
	movl	$0, %r15d
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	xorl	%r15d, %r15d
	leaq	-44(%rbp), %r13
	leaq	-80(%rbp), %rbx
	leaq	L_.str(%rip), %r14
	movq	_DBUS_TYPE_INT32@GOTPCREL(%rip), %r12
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-72(%rbp), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_wpa_dbus_dict_entry_clear
	movq	%r13, %rdi
	callq	_wpa_dbus_dict_has_dict_entry
	testq	%rax, %rax
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_wpa_dbus_dict_get_entry
	testl	%eax, %eax
	je	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi
	movq	%r14, %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax
	cmpq	(%r12), %rax
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax
	cmpq	(%r12), %rax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-72(%rbp), %r15d
	jmp	LBB0_10
LBB0_11:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r15d, %edx
	callq	_wpas_p2p_ext_listen
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_wpas_dbus_error_unknown_error
	jmp	LBB0_16
LBB0_14:
	leaq	-80(%rbp), %rdi
	callq	_wpa_dbus_dict_entry_clear
LBB0_15:
	movq	-64(%rbp), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_wpas_dbus_error_invalid_args
LBB0_16:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"period"

	.comm	_DBUS_TYPE_INT32,8,3            ## @DBUS_TYPE_INT32
L_.str.1:                               ## @.str.1
	.asciz	"interval"

L_.str.2:                               ## @.str.2
	.asciz	"failed to initiate a p2p_ext_listen."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_p2p_extendedlisten ; -- Begin function wpas_dbus_handler_p2p_extendedlisten
	.p2align	2
_wpas_dbus_handler_p2p_extendedlisten:  ; @wpas_dbus_handler_p2p_extendedlisten
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #4
	bl	_dbus_message_iter_init
	str	xzr, [sp, #24]
	add	x0, sp, #4
	mov	x1, sp
	mov	x2, #0
	bl	_wpa_dbus_dict_open_read
	cbz	w0, LBB0_15
; %bb.1:
	mov	x0, sp
	bl	_wpa_dbus_dict_has_dict_entry
	cbz	x0, LBB0_11
; %bb.2:
	mov	w24, #0
	mov	w21, #0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x25, _DBUS_TYPE_INT32@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DBUS_TYPE_INT32@GOTPAGEOFF]
Lloh4:
	adrp	x23, l_.str.1@PAGE
Lloh5:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w21, [sp, #16]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	_wpa_dbus_dict_entry_clear
	mov	x0, sp
	bl	_wpa_dbus_dict_has_dict_entry
	cbz	x0, LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	add	x1, sp, #8
	bl	_wpa_dbus_dict_get_entry
	cbz	w0, LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #24]
	mov	x1, x22
	bl	_os_strcmp
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #24]
	mov	x1, x23
	bl	_os_strcmp
	cbnz	x0, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w24, [sp, #16]
	b	LBB0_4
LBB0_11:
	mov	w21, #0
	mov	w24, #0
LBB0_12:
	ldr	x8, [x20]
	ldr	x0, [x8]
	mov	x1, x21
	mov	x2, x24
	bl	_wpas_p2p_ext_listen
	cbz	x0, LBB0_16
; %bb.13:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_wpas_dbus_error_unknown_error
	b	LBB0_16
LBB0_14:
	add	x0, sp, #8
	bl	_wpa_dbus_dict_entry_clear
LBB0_15:
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_wpas_dbus_error_invalid_args
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"period"

	.comm	_DBUS_TYPE_INT32,8,3            ; @DBUS_TYPE_INT32
l_.str.1:                               ; @.str.1
	.asciz	"interval"

l_.str.2:                               ; @.str.2
	.asciz	"failed to initiate a p2p_ext_listen."

.subsections_via_symbols
