	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_add_iface       ## -- Begin function wpa_supplicant_add_iface
	.p2align	4, 0x90
_wpa_supplicant_add_iface:              ## @wpa_supplicant_add_iface
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.2:
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_wpa_supplicant_alloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %r15
	movq	%r14, 8(%rax)
	movups	(%rbx), %xmm0
	movups	16(%rbx), %xmm1
	movaps	%xmm1, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movq	16(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	16(%r14), %rax
	movq	%rax, -40(%rbp)
LBB0_5:
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%r14), %rax
	movq	%rax, -48(%rbp)
LBB0_7:
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_wpa_supplicant_init_iface
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r15, %rdi
	xorl	%esi, %esi
LBB0_9:
	xorl	%edx, %edx
	callq	_wpa_supplicant_deinit_iface
LBB0_10:
	xorl	%r15d, %r15d
LBB0_13:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	cmpq	$0, (%rbx)
	je	LBB0_14
LBB0_12:
	movq	40(%r14), %rax
	movq	%rax, 32(%r15)
	movq	%r15, 40(%r14)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r15), %ecx
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	callq	_wpa_dbg
	movq	_WPA_DISCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wpa_supplicant_set_state
	jmp	LBB0_13
LBB0_14:
	movq	%r15, %rdi
	callq	_wpas_notify_iface_added
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	movl	$1, %esi
	jmp	LBB0_9
LBB0_16:
	movq	16(%r15), %rax
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_wpas_notify_network_added
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_17
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Override interface parameter: driver ('%s' -> '%s')"

L_.str.1:                               ## @.str.1
	.asciz	"Override interface parameter: ctrl_interface ('%s' -> '%s')"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to add interface %s"

L_.str.3:                               ## @.str.3
	.asciz	"Added interface %s"

	.comm	_WPA_DISCONNECTED,4,2           ## @WPA_DISCONNECTED
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.comm	_WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE,4,2 ## @WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_add_iface       ; -- Begin function wpa_supplicant_add_iface
	.p2align	2
_wpa_supplicant_add_iface:              ; @wpa_supplicant_add_iface
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, #0
	cbz	x0, LBB0_12
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_12
; %bb.2:
	mov	x20, x0
	mov	x0, x2
	bl	_wpa_supplicant_alloc
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.3:
	str	x20, [x19, #8]
	ldp	q0, q1, [x21]
	stp	q0, q1, [sp, #16]
	ldr	x8, [x20, #16]
Lloh0:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x22]
	ldr	x9, [x21, #24]
	stp	x9, x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x20, #16]
	str	x8, [sp, #40]
LBB0_5:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w0, [x22]
	ldr	x9, [x21, #16]
	stp	x9, x8, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x20, #8]
	str	x8, [sp, #32]
LBB0_7:
	add	x1, sp, #16
	mov	x0, x19
	bl	_wpa_supplicant_init_iface
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w0, [x22]
	ldr	w8, [x21, #8]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	mov	w1, #0
LBB0_9:
	mov	w2, #0
	bl	_wpa_supplicant_deinit_iface
	mov	x19, #0
	b	LBB0_12
LBB0_10:
	ldr	x8, [x21]
	cbz	x8, LBB0_13
LBB0_11:
	ldr	x8, [x20, #40]
	str	x8, [x19, #32]
	str	x19, [x20, #40]
	ldr	w1, [x22]
	ldr	w3, [x19, #24]
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_wpa_dbg
Lloh10:
	adrp	x8, _WPA_DISCONNECTED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WPA_DISCONNECTED@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpa_supplicant_set_state
LBB0_12:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
LBB0_13:
	mov	x0, x19
	bl	_wpas_notify_iface_added
	cbz	x0, LBB0_15
; %bb.14:
	mov	x0, x19
	mov	w1, #1
	b	LBB0_9
LBB0_15:
	ldr	x8, [x19, #16]
	ldr	x21, [x8, #8]
	cbz	x21, LBB0_11
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_wpas_notify_network_added
	ldr	x21, [x21]
	cbnz	x21, LBB0_16
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Override interface parameter: driver ('%s' -> '%s')"

l_.str.1:                               ; @.str.1
	.asciz	"Override interface parameter: ctrl_interface ('%s' -> '%s')"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to add interface %s"

l_.str.3:                               ; @.str.3
	.asciz	"Added interface %s"

	.comm	_WPA_DISCONNECTED,4,2           ; @WPA_DISCONNECTED
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.comm	_WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE,4,2 ; @WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE
.subsections_via_symbols
