	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_clear_wps
_wpas_clear_wps:                        ## @wpas_clear_wps
	.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	%rdi, %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rdi)
	movq	24(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_wpas_wps_reenable_networks
	movq	_wpas_wps_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movq	_wpas_wps_clear_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movq	8(%r14), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.1:
	movq	_WPA_KEY_MGMT_WPS@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %r12
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rbx
	testq	%r12, %r12
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	24(%r14), %rbx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, (%r14)
	movq	_WLAN_REASON_DEAUTH_LEAVING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wpa_supplicant_deauthenticate
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %r15d
	movq	8(%rbx), %r12
	testl	%r15d, %r15d
	js	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rbx, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	20(%r14), %edi
	xorl	%esi, %esi
	callq	_wpa_sm_set_config
	movl	16(%r14), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_eapol_sm_notify_config
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wpas_notify_network_removed
	movq	8(%r14), %rdi
	movl	%r15d, %esi
	callq	_wpa_config_remove_network
	jmp	LBB0_10
LBB0_11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpas_wps_clear_ap_info         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_wpas_wps_timeout,4,2           ## @wpas_wps_timeout
	.comm	_wpas_wps_clear_timeout,4,2     ## @wpas_wps_clear_timeout
	.comm	_WPA_KEY_MGMT_WPS,4,2           ## @WPA_KEY_MGMT_WPS
	.comm	_WLAN_REASON_DEAUTH_LEAVING,4,2 ## @WLAN_REASON_DEAUTH_LEAVING
	.no_dead_strip	_wpas_clear_wps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_clear_wps
_wpas_clear_wps:                        ; @wpas_clear_wps
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	stp	xzr, xzr, [x0, #32]
	ldr	x22, [x0, #24]
	bl	_wpas_wps_reenable_networks
Lloh0:
	adrp	x8, _wpas_wps_timeout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wpas_wps_timeout@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
Lloh3:
	adrp	x8, _wpas_wps_clear_timeout@GOTPAGE
Lloh4:
	ldr	x8, [x8, _wpas_wps_clear_timeout@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
	ldr	x8, [x19, #8]
	ldr	x20, [x8]
	cbz	x20, LBB0_11
; %bb.1:
Lloh6:
	adrp	x23, _WPA_KEY_MGMT_WPS@GOTPAGE
Lloh7:
	ldr	x23, [x23, _WPA_KEY_MGMT_WPS@GOTPAGEOFF]
	mov	w24, #1
Lloh8:
	adrp	x25, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGE
Lloh9:
	ldr	x25, [x25, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x26, [x20, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x26
	cbz	x26, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #24]
	cmp	x20, x8
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w24, [x19]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_wpa_supplicant_deauthenticate
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w21, [x20, #4]
	ldr	x26, [x20, #8]
	tbnz	w21, #31, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x22, x20
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #20]
	mov	x1, #0
	bl	_wpa_sm_set_config
	ldr	w0, [x19, #16]
	mov	x1, #0
	mov	x2, #0
	bl	_eapol_sm_notify_config
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_wpas_notify_network_removed
	ldr	x0, [x19, #8]
	mov	x1, x21
	bl	_wpa_config_remove_network
	b	LBB0_3
LBB0_11:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_wpas_wps_clear_ap_info
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_wpas_wps_timeout,4,2           ; @wpas_wps_timeout
	.comm	_wpas_wps_clear_timeout,4,2     ; @wpas_wps_clear_timeout
	.comm	_WPA_KEY_MGMT_WPS,4,2           ; @WPA_KEY_MGMT_WPS
	.comm	_WLAN_REASON_DEAUTH_LEAVING,4,2 ; @WLAN_REASON_DEAUTH_LEAVING
	.no_dead_strip	_wpas_clear_wps
.subsections_via_symbols
