	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_disable_network ## -- Begin function wpa_supplicant_disable_network
	.p2align	4, 0x90
_wpa_supplicant_disable_network:        ## @wpa_supplicant_disable_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.13:
	movq	%rsi, %rbx
	movl	(%rsi), %eax
	cmpl	$2, %eax
	je	LBB0_20
## %bb.14:
	cmpq	%rbx, 24(%r14)
	jne	LBB0_18
## %bb.15:
	movq	(%r14), %rax
	movq	_WPA_AUTHENTICATING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_17
## %bb.16:
	movl	$1, 8(%r14)
LBB0_17:
	movq	_WLAN_REASON_DEAUTH_LEAVING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wpa_supplicant_deauthenticate
	movl	(%rbx), %eax
LBB0_18:
	movl	$1, (%rbx)
	cmpl	$1, %eax
	je	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wpas_notify_network_enabled_changed
	cmpq	$0, 16(%r14)
	je	LBB0_20
## %bb.21:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	%r14, %rdi
	callq	_wpa_supplicant_cancel_sched_scan
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wpa_supplicant_req_scan        ## TAILCALL
LBB0_1:
	cmpq	$0, 16(%r14)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_wpa_supplicant_cancel_sched_scan
LBB0_3:
	movq	32(%r14), %rax
	movq	(%rax), %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rbx
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %eax
	cmpl	$2, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, (%rbx)
	cmpl	$1, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wpas_notify_network_enabled_changed
	jmp	LBB0_8
LBB0_9:
	cmpq	$0, 24(%r14)
	je	LBB0_20
## %bb.10:
	movq	(%r14), %rax
	movq	_WPA_AUTHENTICATING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_12
## %bb.11:
	movl	$1, 8(%r14)
LBB0_12:
	movq	_WLAN_REASON_DEAUTH_LEAVING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wpa_supplicant_deauthenticate  ## TAILCALL
LBB0_20:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_AUTHENTICATING,8,3         ## @WPA_AUTHENTICATING
	.comm	_WLAN_REASON_DEAUTH_LEAVING,4,2 ## @WLAN_REASON_DEAUTH_LEAVING
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Stop ongoing sched_scan to remove network from filters"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_disable_network ; -- Begin function wpa_supplicant_disable_network
	.p2align	2
_wpa_supplicant_disable_network:        ; @wpa_supplicant_disable_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	x19, x0
	cbz	x1, LBB0_9
; %bb.1:
	mov	x20, x1
	ldr	w8, [x1]
	cmp	w8, #2
	b.eq	LBB0_21
; %bb.2:
	ldr	x9, [x19, #24]
	cmp	x9, x20
	b.ne	LBB0_6
; %bb.3:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _WPA_AUTHENTICATING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WPA_AUTHENTICATING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_5:
Lloh3:
	adrp	x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpa_supplicant_deauthenticate
	ldr	w8, [x20]
LBB0_6:
	mov	w9, #1
	str	w9, [x20]
	cmp	w8, #1
	b.eq	LBB0_21
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_wpas_notify_network_enabled_changed
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_21
; %bb.8:
Lloh6:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	bl	_wpa_supplicant_cancel_sched_scan
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	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
	b	_wpa_supplicant_req_scan
LBB0_9:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_wpa_supplicant_cancel_sched_scan
LBB0_11:
	ldr	x8, [x19, #32]
	ldr	x20, [x8]
	cbz	x20, LBB0_17
; %bb.12:
	mov	w21, #1
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_17
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	w8, #2
	b.eq	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	str	w21, [x20]
	cmp	w8, #1
	b.eq	LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_wpas_notify_network_enabled_changed
	b	LBB0_13
LBB0_17:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_21
; %bb.18:
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _WPA_AUTHENTICATING@GOTPAGE
Lloh12:
	ldr	x9, [x9, _WPA_AUTHENTICATING@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_20
; %bb.19:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_20:
Lloh14:
	adrp	x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_wpa_supplicant_deauthenticate
LBB0_21:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_AUTHENTICATING,8,3         ; @WPA_AUTHENTICATING
	.comm	_WLAN_REASON_DEAUTH_LEAVING,4,2 ; @WLAN_REASON_DEAUTH_LEAVING
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Stop ongoing sched_scan to remove network from filters"

.subsections_via_symbols
