	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_p2p_remove_client ## -- Begin function wpas_dbus_handler_p2p_remove_client
	.p2align	4, 0x90
_wpas_dbus_handler_p2p_remove_client:   ## @wpas_dbus_handler_p2p_remove_client
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -96(%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, %r15
	leaq	-96(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	callq	_wpa_dbus_p2p_check_enabled
	testl	%eax, %eax
	je	LBB0_24
## %bb.1:
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	leaq	-116(%rbp), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_dbus_message_iter_init
	xorl	%r15d, %r15d
	leaq	-52(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_wpa_dbus_dict_open_read
	movl	$0, %r13d
	testl	%eax, %eax
	je	LBB0_16
## %bb.2:
	leaq	-52(%rbp), %rdi
	callq	_wpa_dbus_dict_has_dict_entry
	testq	%rax, %rax
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.4:
	xorl	%r13d, %r13d
	leaq	-52(%rbp), %r12
	leaq	-88(%rbp), %r14
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rbx
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_os_free
	movl	-80(%rbp), %edi
	callq	_os_strdup
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_wpa_dbus_dict_entry_clear
	movq	%r12, %rdi
	callq	_wpa_dbus_dict_has_dict_entry
	testq	%rax, %rax
	je	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_wpa_dbus_dict_get_entry
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-76(%rbp), %edi
	leaq	L_.str(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_OBJECT_PATH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-76(%rbp), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_26
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_26
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_os_free
	movl	-80(%rbp), %edi
	callq	_os_strdup
	movq	%rax, %r15
	jmp	LBB0_13
LBB0_3:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
LBB0_14:
	movq	%r13, %rax
	orq	%r15, %rax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_15
## %bb.17:
	testq	%r13, %r13
	je	LBB0_20
## %bb.18:
	movq	%r13, %rdi
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_parse_peer_object_path
	testq	%rax, %rax
	js	LBB0_16
## %bb.19:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_p2p_peer_known
	testl	%eax, %eax
	je	LBB0_16
LBB0_20:
	testq	%r15, %r15
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_22
## %bb.21:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_hwaddr_aton
	testq	%rax, %rax
	js	LBB0_16
LBB0_22:
	xorl	%edx, %edx
	testq	%r15, %r15
	setne	%dl
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_wpas_p2p_remove_client
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_26:
	leaq	-88(%rbp), %rdi
	callq	_wpa_dbus_dict_entry_clear
LBB0_6:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_15:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
LBB0_16:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_wpas_dbus_error_invalid_args
LBB0_23:
	movq	%rax, -96(%rbp)
	movq	%r13, %rdi
	callq	_os_free
	movq	%r15, %rdi
	callq	_os_free
LBB0_24:
	movq	-96(%rbp), %rax
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_27
## %bb.25:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.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	"iface"

	.comm	_DBUS_TYPE_STRING,8,3           ## @DBUS_TYPE_STRING
L_.str.2:                               ## @.str.2
	.asciz	"Invalid address format"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_p2p_remove_client ; -- Begin function wpas_dbus_handler_p2p_remove_client
	.p2align	2
_wpas_dbus_handler_p2p_remove_client:   ; @wpas_dbus_handler_p2p_remove_client
	.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, #48
	mov	x20, x1
	mov	x19, x0
	mov	x26, 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, #-104]
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	x23, x9, x8
	mov	sp, x23
	sub	x2, x29, #104
	mov	x0, x1
	mov	x1, x19
	mov	x3, #0
	bl	_wpa_dbus_p2p_check_enabled
	cbz	w0, LBB0_24
; %bb.1:
	sub	x1, x29, #108
	mov	x0, x19
	bl	_dbus_message_iter_init
	sub	x0, x29, #108
	sub	x1, x29, #92
	mov	x2, #0
	bl	_wpa_dbus_dict_open_read
	cbz	w0, LBB0_20
; %bb.2:
	sub	x0, x29, #92
	bl	_wpa_dbus_dict_has_dict_entry
	cbz	x0, LBB0_12
; %bb.3:
	mov	x22, #0
	mov	x21, #0
Lloh8:
	adrp	x24, l_.str@PAGE
Lloh9:
	add	x24, x24, l_.str@PAGEOFF
Lloh10:
	adrp	x27, _DBUS_TYPE_OBJECT_PATH@GOTPAGE
Lloh11:
	ldr	x27, [x27, _DBUS_TYPE_OBJECT_PATH@GOTPAGEOFF]
Lloh12:
	adrp	x28, _DBUS_TYPE_STRING@GOTPAGE
Lloh13:
	ldr	x28, [x28, _DBUS_TYPE_STRING@GOTPAGEOFF]
Lloh14:
	adrp	x25, l_.str.1@PAGE
Lloh15:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_os_free
	ldur	w0, [x29, #-120]
	bl	_os_strdup
	mov	x22, x0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	x0, x29, #128
	bl	_wpa_dbus_dict_entry_clear
	sub	x0, x29, #92
	bl	_wpa_dbus_dict_has_dict_entry
	cbz	x0, LBB0_13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	x0, x29, #92
	sub	x1, x29, #128
	bl	_wpa_dbus_dict_get_entry
	cbz	w0, LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-116]
	mov	x1, x24
	bl	_os_strcmp
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-128]
	ldr	x9, [x27]
	cmp	x8, x9
	b.eq	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x29, #-116]
	mov	x1, x25
	bl	_os_strcmp
	cbnz	x0, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x29, #-128]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_os_free
	ldur	w0, [x29, #-120]
	bl	_os_strdup
	mov	x21, x0
	b	LBB0_5
LBB0_12:
	mov	x21, #0
	mov	x22, #0
LBB0_13:
	orr	x8, x22, x21
	cbz	x8, LBB0_20
; %bb.14:
	cbz	x22, LBB0_17
; %bb.15:
	mov	x0, x22
	mov	x1, x23
	bl	_parse_peer_object_path
	tbnz	x0, #63, LBB0_22
; %bb.16:
	ldr	x8, [x20]
	ldr	w0, [x8]
	mov	x1, x23
	bl	_p2p_peer_known
	cbz	w0, LBB0_22
LBB0_17:
	cbz	x21, LBB0_19
; %bb.18:
	mov	x0, x21
	mov	x1, x23
	bl	_hwaddr_aton
	tbnz	x0, #63, LBB0_22
LBB0_19:
	cmp	x21, #0
	cset	w2, ne
	mov	x0, x20
	mov	x1, x23
	bl	_wpas_p2p_remove_client
	mov	x0, #0
	b	LBB0_23
LBB0_20:
	mov	x21, #0
	mov	x22, #0
	b	LBB0_22
LBB0_21:
	sub	x0, x29, #128
	bl	_wpa_dbus_dict_entry_clear
LBB0_22:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_wpas_dbus_error_invalid_args
LBB0_23:
	stur	x0, [x29, #-104]
	mov	x0, x22
	bl	_os_free
	mov	x0, x21
	bl	_os_free
LBB0_24:
	ldur	x0, [x29, #-104]
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	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_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.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	"iface"

	.comm	_DBUS_TYPE_STRING,8,3           ; @DBUS_TYPE_STRING
l_.str.2:                               ; @.str.2
	.asciz	"Invalid address format"

.subsections_via_symbols
