	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_create_interface ## -- Begin function wpas_dbus_handler_create_interface
	.p2align	4, 0x90
_wpas_dbus_handler_create_interface:    ## @wpas_dbus_handler_create_interface
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	leaq	-108(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_dbus_message_iter_init
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_wpa_dbus_dict_open_read
	movl	$0, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	$0, %r12d
	movl	$0, %r14d
	testl	%eax, %eax
	je	LBB0_37
## %bb.1:
	leaq	-44(%rbp), %rdi
	callq	_wpa_dbus_dict_has_dict_entry
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	-44(%rbp), %rbx
	leaq	-88(%rbp), %r12
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
	movl	-80(%rbp), %edi
	callq	_os_strdup
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_wpa_dbus_dict_entry_clear
	movq	%rbx, %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	-44(%rbp), %rbx
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_wpa_dbus_dict_has_dict_entry
	testq	%rax, %rax
	je	LBB0_19
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_wpa_dbus_dict_get_entry
	testl	%eax, %eax
	je	LBB0_36
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-76(%rbp), %edi
	leaq	L_.str(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-76(%rbp), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
	movl	-80(%rbp), %edi
	callq	_os_strdup
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_wpa_dbus_dict_entry_clear
	movq	%rbx, %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	jne	LBB0_17
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-76(%rbp), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
	movl	-80(%rbp), %edi
	callq	_os_strdup
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_wpa_dbus_dict_entry_clear
	movq	%rbx, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	jne	LBB0_17
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-76(%rbp), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_35
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rax
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_35
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_os_free
	movl	-80(%rbp), %edi
	callq	_os_strdup
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_wpa_dbus_dict_entry_clear
	testq	%r14, %r14
	jne	LBB0_18
## %bb.26:
	xorl	%r14d, %r14d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_2:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_37
LBB0_35:
	leaq	-88(%rbp), %rdi
	callq	_wpa_dbus_dict_entry_clear
	jmp	LBB0_36
LBB0_19:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_20
## %bb.27:
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_wpa_supplicant_get_iface
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movq	_WPAS_DBUS_ERROR_IFACE_EXISTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	callq	_dbus_message_new_error
	movq	%rax, %r15
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_34
LBB0_20:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_36:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_37:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_wpas_dbus_error_invalid_args
LBB0_33:
	movq	%rax, %r15
LBB0_34:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
	movq	%r12, %rdi
	callq	_os_free
	movq	%r14, %rdi
	callq	_os_free
	movq	%r15, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	leaq	-144(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_os_memset
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -144(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -136(%rbp)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, -128(%rbp)
	movq	%r14, -120(%rbp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_wpa_supplicant_add_iface
	testq	%rax, %rax
	je	LBB0_32
## %bb.30:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movq	%rax, -104(%rbp)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_dbus_message_new_method_return
	movq	%rax, %r15
	movq	_DBUS_TYPE_OBJECT_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBUS_TYPE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-104(%rbp), %rdx
	movq	%r15, %rdi
	callq	_dbus_message_append_args
	jmp	LBB0_34
LBB0_8:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_13:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_32:
	leaq	L_.str.5(%rip), %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_wpas_dbus_error_unknown_error
	jmp	LBB0_33
LBB0_21:
	xorl	%r12d, %r12d
LBB0_22:
	movq	%r15, %rdi
	callq	_wpas_dbus_error_no_memory
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Driver"

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

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

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

	.comm	_WPAS_DBUS_ERROR_IFACE_EXISTS,4,2 ## @WPAS_DBUS_ERROR_IFACE_EXISTS
L_.str.4:                               ## @.str.4
	.asciz	"wpa_supplicant already controls this interface."

	.comm	_DBUS_TYPE_OBJECT_PATH,4,2      ## @DBUS_TYPE_OBJECT_PATH
	.comm	_DBUS_TYPE_INVALID,4,2          ## @DBUS_TYPE_INVALID
L_.str.5:                               ## @.str.5
	.asciz	"wpa_supplicant couldn't grab this interface."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_create_interface ; -- Begin function wpas_dbus_handler_create_interface
	.p2align	2
_wpas_dbus_handler_create_interface:    ; @wpas_dbus_handler_create_interface
	.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	x19, x1
	mov	x23, 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:
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	x19, #0
	mov	x20, #0
	mov	x22, #0
	mov	x21, #0
Lloh0:
	adrp	x25, l_.str@PAGE
Lloh1:
	add	x25, x25, l_.str@PAGEOFF
Lloh2:
	adrp	x24, _DBUS_TYPE_STRING@GOTPAGE
Lloh3:
	ldr	x24, [x24, _DBUS_TYPE_STRING@GOTPAGEOFF]
Lloh4:
	adrp	x26, l_.str.1@PAGE
Lloh5:
	add	x26, x26, l_.str.1@PAGEOFF
Lloh6:
	adrp	x27, l_.str.2@PAGE
Lloh7:
	add	x27, x27, l_.str.2@PAGEOFF
Lloh8:
	adrp	x28, l_.str.3@PAGE
Lloh9:
	add	x28, x28, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_3:
	mov	x21, #0
	mov	x22, #0
	mov	x20, #0
	mov	x19, #0
LBB0_4:
	mov	x0, x23
	mov	x1, #0
	bl	_wpas_dbus_error_invalid_args
LBB0_5:
	mov	x23, x0
LBB0_6:
	mov	x0, x21
	bl	_os_free
	mov	x0, x22
	bl	_os_free
	mov	x0, x20
	bl	_os_free
	mov	x0, x19
	bl	_os_free
	mov	x0, x23
	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_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_os_free
	ldr	w0, [sp, #64]
	bl	_os_strdup
	mov	x21, x0
	add	x0, sp, #56
	bl	_wpa_dbus_dict_entry_clear
	cbz	x21, LBB0_21
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x0, sp, #76
	bl	_wpa_dbus_dict_has_dict_entry
	cbz	x0, LBB0_23
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #76
	add	x1, sp, #56
	bl	_wpa_dbus_dict_get_entry
	cbz	w0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [sp, #68]
	mov	x1, x25
	bl	_os_strcmp
	cbnz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #56]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [sp, #68]
	mov	x1, x26
	bl	_os_strcmp
	cbnz	x0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #56]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	bl	_os_free
	ldr	w0, [sp, #64]
	bl	_os_strdup
	mov	x22, x0
	add	x0, sp, #56
	bl	_wpa_dbus_dict_entry_clear
	cbnz	x22, LBB0_8
	b	LBB0_21
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [sp, #68]
	mov	x1, x27
	bl	_os_strcmp
	cbnz	x0, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #56]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_os_free
	ldr	w0, [sp, #64]
	bl	_os_strdup
	mov	x20, x0
	add	x0, sp, #56
	bl	_wpa_dbus_dict_entry_clear
	cbnz	x20, LBB0_8
	b	LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [sp, #68]
	mov	x1, x28
	bl	_os_strcmp
	cbnz	x0, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #56]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	bl	_os_free
	ldr	w0, [sp, #64]
	bl	_os_strdup
	mov	x19, x0
	add	x0, sp, #56
	bl	_wpa_dbus_dict_entry_clear
	cbnz	x19, LBB0_8
LBB0_21:
	mov	x0, x23
	bl	_wpas_dbus_error_no_memory
	b	LBB0_5
LBB0_22:
	add	x0, sp, #56
	bl	_wpa_dbus_dict_entry_clear
	b	LBB0_4
LBB0_23:
	cbz	x22, LBB0_4
; %bb.24:
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x24
	mov	x1, x22
	bl	_wpa_supplicant_get_iface
	cbz	x0, LBB0_26
; %bb.25:
Lloh10:
	adrp	x8, _WPAS_DBUS_ERROR_IFACE_EXISTS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WPAS_DBUS_ERROR_IFACE_EXISTS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.4@PAGE
Lloh14:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x23
	bl	_dbus_message_new_error
	b	LBB0_5
LBB0_26:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #32
	bl	_os_memset
	stp	x21, x22, [sp, #24]
	stp	x20, x19, [sp, #40]
	add	x1, sp, #24
	mov	x0, x24
	mov	x2, #0
	bl	_wpa_supplicant_add_iface
	cbz	x0, LBB0_29
; %bb.27:
	ldr	x8, [x0]
	cbz	x8, LBB0_29
; %bb.28:
	str	x8, [sp, #16]
	mov	x0, x23
	bl	_dbus_message_new_method_return
	mov	x23, x0
Lloh15:
	adrp	x8, _DBUS_TYPE_OBJECT_PATH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DBUS_TYPE_OBJECT_PATH@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _DBUS_TYPE_INVALID@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DBUS_TYPE_INVALID@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	add	x2, sp, #16
	bl	_dbus_message_append_args
	b	LBB0_6
LBB0_29:
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x23
	bl	_wpas_dbus_error_unknown_error
	b	LBB0_5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Driver"

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

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

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

	.comm	_WPAS_DBUS_ERROR_IFACE_EXISTS,4,2 ; @WPAS_DBUS_ERROR_IFACE_EXISTS
l_.str.4:                               ; @.str.4
	.asciz	"wpa_supplicant already controls this interface."

	.comm	_DBUS_TYPE_OBJECT_PATH,4,2      ; @DBUS_TYPE_OBJECT_PATH
	.comm	_DBUS_TYPE_INVALID,4,2          ; @DBUS_TYPE_INVALID
l_.str.5:                               ; @.str.5
	.asciz	"wpa_supplicant couldn't grab this interface."

.subsections_via_symbols
