	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_supplicant_ctrl_iface_enable_network
_wpa_supplicant_ctrl_iface_enable_network: ## @wpa_supplicant_ctrl_iface_enable_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
	pushq	%rax
	.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, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, %r12d
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	16(%r14), %edi
	movl	%r12d, %esi
	callq	_wpa_config_get_network
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	cmpl	$2, (%rax)
	jne	LBB0_7
## %bb.6:
	movl	(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %eax
	jmp	LBB0_10
LBB0_1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wpa_supplicant_enable_network
	jmp	LBB0_9
LBB0_4:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %eax
	jmp	LBB0_10
LBB0_7:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_os_strstr
	testq	%rax, %rax
	je	LBB0_2
## %bb.8:
	movl	$0, (%rbx)
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"all"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"CTRL_IFACE: ENABLE_NETWORK all"

L_.str.2:                               ## @.str.2
	.asciz	"CTRL_IFACE: ENABLE_NETWORK id=%d"

L_.str.3:                               ## @.str.3
	.asciz	"CTRL_IFACE: Could not find network id=%d"

L_.str.4:                               ## @.str.4
	.asciz	"CTRL_IFACE: Cannot use ENABLE_NETWORK with persistent P2P group"

L_.str.5:                               ## @.str.5
	.asciz	" no-connect"

	.no_dead_strip	_wpa_supplicant_ctrl_iface_enable_network
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_supplicant_ctrl_iface_enable_network
_wpa_supplicant_ctrl_iface_enable_network: ; @wpa_supplicant_ctrl_iface_enable_network
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_os_strcmp
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_atoi
	mov	x22, x0
Lloh2:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
	str	x22, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x19, #16]
	mov	x1, x22
	bl	_wpa_config_get_network
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	ldr	w8, [x0]
	cmp	w8, #2
	b.ne	LBB0_8
; %bb.3:
	ldr	w0, [x23]
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x21, #0
LBB0_5:
	stp	xzr, xzr, [x19]
	mov	x0, x19
	mov	x1, x21
	bl	_wpa_supplicant_enable_network
	mov	w0, #0
	b	LBB0_10
LBB0_6:
	ldr	w0, [x23]
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	str	x22, [sp]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_7:
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_10
LBB0_8:
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_os_strstr
	cbz	x0, LBB0_5
; %bb.9:
	mov	w0, #0
	str	wzr, [x21]
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"all"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"CTRL_IFACE: ENABLE_NETWORK all"

l_.str.2:                               ; @.str.2
	.asciz	"CTRL_IFACE: ENABLE_NETWORK id=%d"

l_.str.3:                               ; @.str.3
	.asciz	"CTRL_IFACE: Could not find network id=%d"

l_.str.4:                               ; @.str.4
	.asciz	"CTRL_IFACE: Cannot use ENABLE_NETWORK with persistent P2P group"

l_.str.5:                               ; @.str.5
	.asciz	" no-connect"

	.no_dead_strip	_wpa_supplicant_ctrl_iface_enable_network
.subsections_via_symbols
