	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_global_ctrl_iface_dup_network
_wpas_global_ctrl_iface_dup_network:    ## @wpas_global_ctrl_iface_dup_network
	.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	$40, %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, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	movl	$-1, %r13d
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	movb	$0, (%rax)
	movl	%r15d, %r14d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, -64(%rbp,%r14,8)
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_os_strcmp
	movq	-64(%rbp,%r14,8), %rcx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	8(%rcx), %rax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	incl	%r15d
	leaq	-64(%rbp), %rdi
	callq	_ARRAY_SIZE
	movq	%r12, %rbx
	cmpl	%eax, %r15d
	jb	LBB0_3
	jmp	LBB0_11
LBB0_9:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_printf
	jmp	LBB0_12
LBB0_1:
	movq	%rbx, %r12
LBB0_11:
	movq	-64(%rbp), %rdi
	movq	-56(%rbp), %rdx
	movq	%r12, %rsi
	callq	_wpa_supplicant_ctrl_iface_dup_network
	movl	%eax, %r13d
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CTRL_IFACE: Could not find iface=%s"

	.no_dead_strip	_wpas_global_ctrl_iface_dup_network
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_global_ctrl_iface_dup_network
_wpas_global_ctrl_iface_dup_network:    ; @wpas_global_ctrl_iface_dup_network
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x22, sp, #8
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_9
; %bb.1:
	mov	w23, #0
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x0, x19
	mov	w1, #32
	bl	_os_strchr
	cbz	x0, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x0
	strb	wzr, [x0]
	ldr	x8, [x20]
	str	x8, [x22, w23, uxtw #3]
	cbz	x8, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w24, w23
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x8]
	mov	x0, x19
	bl	_os_strcmp
	ldr	x8, [x22, x24, lsl #3]
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x8, [x8, #8]
	str	x8, [x22, x24, lsl #3]
	cbnz	x8, LBB0_5
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	x8, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x21, #1
	add	w23, w23, #1
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	cmp	w23, w0
	b.lo	LBB0_2
LBB0_9:
	ldp	x0, x2, [sp, #8]
	mov	x1, x19
	bl	_wpa_supplicant_ctrl_iface_dup_network
	b	LBB0_12
LBB0_10:
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_wpa_printf
LBB0_11:
	mov	w0, #-1
LBB0_12:
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	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
	add	sp, sp, #96
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CTRL_IFACE: Could not find iface=%s"

	.no_dead_strip	_wpas_global_ctrl_iface_dup_network
.subsections_via_symbols
