	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_p2p_delete_service ## -- Begin function wpas_dbus_handler_p2p_delete_service
	.p2align	4, 0x90
_wpas_dbus_handler_p2p_delete_service:  ## @wpas_dbus_handler_p2p_delete_service
	.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, %r15
	movq	%rdi, %r12
	leaq	-124(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_dbus_message_iter_init
	xorl	%r14d, %r14d
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_wpa_dbus_dict_open_read
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	-56(%rbp), %rdi
	callq	_wpa_dbus_dict_has_dict_entry
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leaq	-56(%rbp), %r13
	leaq	-96(%rbp), %r12
	leaq	L_.str(%rip), %rbx
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_6
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_wpa_dbus_dict_entry_clear
	movq	%r13, %rdi
	callq	_wpa_dbus_dict_has_dict_entry
	testq	%rax, %rax
	je	LBB0_25
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_wpa_dbus_dict_get_entry
	testl	%eax, %eax
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-64(%rbp), %edi
	movq	%rbx, %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-96(%rbp), %rax
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-60(%rbp), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-60(%rbp), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_os_strcmp
	movl	$1, %ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_24
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-64(%rbp), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-96(%rbp), %rax
	movq	_DBUS_TYPE_INT32@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-64(%rbp), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-96(%rbp), %rax
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_os_free
	movl	-60(%rbp), %edi
	callq	_os_strdup
	movq	%rax, %r15
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-64(%rbp), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-96(%rbp), %rax
	movq	_DBUS_TYPE_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.22:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-80(%rbp), %rax
	movq	_DBUS_TYPE_BYTE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	callq	_wpabuf_free
	movl	-72(%rbp), %esi
	movl	-68(%rbp), %edi
	callq	_wpabuf_alloc_copy
	movq	%rax, %r14
	jmp	LBB0_24
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_24
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_2
LBB0_4:
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_2
LBB0_12:
	leaq	-96(%rbp), %rdi
	callq	_wpa_dbus_dict_entry_clear
LBB0_13:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_2:
	movq	%r14, %rdi
	callq	_wpabuf_free
	movq	%r15, %rdi
	callq	_os_free
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_wpas_dbus_error_invalid_args
LBB0_31:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	cmpl	$1, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_32
## %bb.26:
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	testq	%rsi, %rsi
	jle	LBB0_13
## %bb.27:
	testq	%r15, %r15
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_2
## %bb.28:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rdx
	callq	_wpas_p2p_service_del_upnp
	jmp	LBB0_29
LBB0_32:
	cmpl	$1, -112(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.33:
	testq	%r14, %r14
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_2
## %bb.34:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	callq	_wpas_p2p_service_del_bonjour
LBB0_29:
	testl	%eax, %eax
	jne	LBB0_2
## %bb.30:
	movq	%r14, %rdi
	callq	_wpabuf_free
	movq	%r15, %rdi
	callq	_os_free
	xorl	%eax, %eax
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"service_type"

	.comm	_DBUS_TYPE_STRING,8,3           ## @DBUS_TYPE_STRING
L_.str.1:                               ## @.str.1
	.asciz	"upnp"

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

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

	.comm	_DBUS_TYPE_INT32,8,3            ## @DBUS_TYPE_INT32
L_.str.4:                               ## @.str.4
	.asciz	"service"

L_.str.5:                               ## @.str.5
	.asciz	"query"

	.comm	_DBUS_TYPE_ARRAY,8,3            ## @DBUS_TYPE_ARRAY
	.comm	_DBUS_TYPE_BYTE,8,3             ## @DBUS_TYPE_BYTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_p2p_delete_service ; -- Begin function wpas_dbus_handler_p2p_delete_service
	.p2align	2
_wpas_dbus_handler_p2p_delete_service:  ; @wpas_dbus_handler_p2p_delete_service
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #72
	bl	_dbus_message_iter_init
	add	x0, sp, #72
	add	x1, sp, #76
	mov	x2, #0
	bl	_wpa_dbus_dict_open_read
	cbz	w0, LBB0_3
; %bb.1:
	add	x0, sp, #76
	bl	_wpa_dbus_dict_has_dict_entry
	cbz	x0, LBB0_3
; %bb.2:
	stp	x20, xzr, [sp, #8]              ; 16-byte Folded Spill
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
	mov	x21, #0
	mov	x20, #0
Lloh0:
	adrp	x24, l_.str@PAGE
Lloh1:
	add	x24, x24, l_.str@PAGEOFF
Lloh2:
	adrp	x25, _DBUS_TYPE_STRING@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DBUS_TYPE_STRING@GOTPAGEOFF]
Lloh4:
	adrp	x27, l_.str.3@PAGE
Lloh5:
	add	x27, x27, l_.str.3@PAGEOFF
Lloh6:
	adrp	x28, l_.str.4@PAGE
Lloh7:
	add	x28, x28, l_.str.4@PAGEOFF
Lloh8:
	adrp	x22, _DBUS_TYPE_ARRAY@GOTPAGE
Lloh9:
	ldr	x22, [x22, _DBUS_TYPE_ARRAY@GOTPAGEOFF]
Lloh10:
	adrp	x23, _DBUS_TYPE_BYTE@GOTPAGE
Lloh11:
	ldr	x23, [x23, _DBUS_TYPE_BYTE@GOTPAGEOFF]
Lloh12:
	adrp	x26, l_.str.5@PAGE
Lloh13:
	add	x26, x26, l_.str.5@PAGEOFF
	b	LBB0_6
LBB0_3:
	mov	x20, #0
	mov	x21, #0
	b	LBB0_23
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #40]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #32
	bl	_wpa_dbus_dict_entry_clear
	add	x0, sp, #76
	bl	_wpa_dbus_dict_has_dict_entry
	cbz	x0, LBB0_25
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #76
	add	x1, sp, #32
	bl	_wpa_dbus_dict_get_entry
	cbz	w0, LBB0_23
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #64]
	mov	x1, x24
	bl	_os_strcmp
	cbnz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #32]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #68]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_os_strcmp
	cbz	x0, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #68]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_os_strcmp
	cbnz	x0, LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #64]
	mov	x1, x27
	bl	_os_strcmp
	cbnz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #32]
Lloh18:
	adrp	x9, _DBUS_TYPE_INT32@GOTPAGE
Lloh19:
	ldr	x9, [x9, _DBUS_TYPE_INT32@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #64]
	mov	x1, x28
	bl	_os_strcmp
	cbnz	x0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #32]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_os_free
	ldr	w0, [sp, #68]
	bl	_os_strdup
	mov	x20, x0
	b	LBB0_5
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #64]
	mov	x1, x26
	bl	_os_strcmp
	cbnz	x0, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #32]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #48]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_wpabuf_free
	ldp	w1, w0, [sp, #56]
	bl	_wpabuf_alloc_copy
	mov	x21, x0
	b	LBB0_5
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #1
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	b	LBB0_5
LBB0_22:
	add	x0, sp, #32
	bl	_wpa_dbus_dict_entry_clear
LBB0_23:
	mov	x0, x21
	bl	_wpabuf_free
	mov	x0, x20
	bl	_os_free
	mov	x0, x19
	mov	x1, #0
	bl	_wpas_dbus_error_invalid_args
LBB0_24:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_25:
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.ne	LBB0_29
; %bb.26:
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x1, #1
	b.lt	LBB0_23
; %bb.27:
	cbz	x20, LBB0_23
; %bb.28:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x20
	bl	_wpas_p2p_service_del_upnp
	cbnz	w0, LBB0_23
	b	LBB0_32
LBB0_29:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.ne	LBB0_23
; %bb.30:
	cbz	x21, LBB0_23
; %bb.31:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x21
	bl	_wpas_p2p_service_del_bonjour
	cbnz	w0, LBB0_23
LBB0_32:
	mov	x0, x21
	bl	_wpabuf_free
	mov	x0, x20
	bl	_os_free
	mov	x0, #0
	b	LBB0_24
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"service_type"

	.comm	_DBUS_TYPE_STRING,8,3           ; @DBUS_TYPE_STRING
l_.str.1:                               ; @.str.1
	.asciz	"upnp"

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

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

	.comm	_DBUS_TYPE_INT32,8,3            ; @DBUS_TYPE_INT32
l_.str.4:                               ; @.str.4
	.asciz	"service"

l_.str.5:                               ; @.str.5
	.asciz	"query"

	.comm	_DBUS_TYPE_ARRAY,8,3            ; @DBUS_TYPE_ARRAY
	.comm	_DBUS_TYPE_BYTE,8,3             ; @DBUS_TYPE_BYTE
.subsections_via_symbols
