	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_supplicant_ctrl_iface_update_network
_wpa_supplicant_ctrl_iface_update_network: ## @wpa_supplicant_ctrl_iface_update_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	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	xorl	%ecx, %ecx
	callq	_wpa_config_set
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	cmpl	$1, %eax
	je	LBB0_17
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movl	16(%r15), %edi
	movq	%r12, %rsi
	callq	_wpa_sm_pmksa_cache_flush
	movq	8(%r15), %rax
	cmpq	%r12, %rax
	je	LBB0_8
## %bb.7:
	testq	%rax, %rax
	jne	LBB0_9
LBB0_8:
	movl	4(%r15), %edi
	callq	_eapol_sm_invalidate_cached_session
LBB0_9:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:
	cmpb	$34, (%r13)
	jne	LBB0_12
## %bb.11:
	cmpq	$0, 8(%r12)
	jne	LBB0_14
LBB0_12:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_13
LBB0_15:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movl	(%r15), %edi
	callq	_wpa_config_update_prio_list
	jmp	LBB0_17
LBB0_1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_printf
	movl	$-1, %r14d
	jmp	LBB0_17
LBB0_13:
	cmpq	$0, (%r12)
	je	LBB0_15
LBB0_14:
	movq	%r12, %rdi
	callq	_wpa_config_update_psk
LBB0_17:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CTRL_IFACE: Failed to set network variable '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"bssid"

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

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

L_.str.4:                               ## @.str.4
	.asciz	"psk"

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

	.no_dead_strip	_wpa_supplicant_ctrl_iface_update_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_update_network
_wpa_supplicant_ctrl_iface_update_network: ; @wpa_supplicant_ctrl_iface_update_network
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	mov	w3, #0
	bl	_wpa_config_set
	tbnz	w0, #31, LBB0_14
; %bb.1:
	cmp	w0, #1
	b.eq	LBB0_17
; %bb.2:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_os_strcmp
	cbz	x0, LBB0_8
; %bb.3:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_os_strcmp
	cbz	x0, LBB0_8
; %bb.4:
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_os_strcmp
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w0, [x20, #16]
	mov	x1, x21
	bl	_wpa_sm_pmksa_cache_flush
	ldr	x8, [x20, #8]
	cmp	x8, x21
	b.eq	LBB0_7
; %bb.6:
	cbnz	x8, LBB0_8
LBB0_7:
	ldr	w0, [x20, #4]
	bl	_eapol_sm_invalidate_cached_session
LBB0_8:
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_os_strcmp
	cbnz	x0, LBB0_11
; %bb.9:
	ldrb	w8, [x22]
	cmp	w8, #34
	b.ne	LBB0_11
; %bb.10:
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_16
LBB0_11:
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_os_strcmp
	cbz	x0, LBB0_15
LBB0_12:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_os_strcmp
	cbnz	x0, LBB0_17
; %bb.13:
	ldr	w0, [x20]
	bl	_wpa_config_update_prio_list
	b	LBB0_17
LBB0_14:
Lloh12:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_18
LBB0_15:
	ldr	x8, [x21]
	cbz	x8, LBB0_12
LBB0_16:
	mov	x0, x21
	bl	_wpa_config_update_psk
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CTRL_IFACE: Failed to set network variable '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"bssid"

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

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

l_.str.4:                               ; @.str.4
	.asciz	"psk"

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

	.no_dead_strip	_wpa_supplicant_ctrl_iface_update_network
.subsections_via_symbols
