	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_wps_reassoc
_wpas_wps_reassoc:                      ## @wpas_wps_reassoc
	.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, %rbx
	movq	(%rdi), %rax
	incq	%rax
	movl	$1, %edi
	cmovneq	%rax, %rdi
	movq	%rsi, %r14
	movq	%rdi, (%rbx)
	movq	$0, 8(%rbx)
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movl	$5, 8(%rbx)
LBB0_6:
	movl	%ecx, 16(%rbx)
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_wpas_wps_temp_disable
	movq	$0, 56(%rbx)
	movl	$1, 20(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 40(%rbx)
	movq	%rbx, %rdi
	callq	_wpa_supplicant_cancel_sched_scan
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wpa_supplicant_req_scan        ## TAILCALL
LBB0_2:
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	callq	_wpa_bss_get_bssid_latest
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.5:
	movl	$1, 12(%rbx)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wpas_wps_reassoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_wps_reassoc
_wpas_wps_reassoc:                      ; @wpas_wps_reassoc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	adds	x8, x8, #1
	csinc	x8, x8, xzr, lo
	stp	x8, xzr, [x0]
	cbz	w3, LBB0_4
; %bb.1:
	mov	w8, #5
	str	w8, [x19, #8]
LBB0_2:
	str	w3, [x19, #16]
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_wpas_wps_temp_disable
	str	xzr, [x19, #56]
	mov	w8, #1
	str	w8, [x19, #20]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #24]
	stur	q0, [x19, #40]
	mov	x0, x19
	bl	_wpa_supplicant_cancel_sched_scan
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wpa_supplicant_req_scan
LBB0_4:
	cbz	x2, LBB0_3
; %bb.5:
	mov	x0, x19
	mov	x1, x2
	bl	_wpa_bss_get_bssid_latest
	cbz	x0, LBB0_3
; %bb.6:
	ldr	w3, [x0]
	cmp	w3, #1
	b.lt	LBB0_3
; %bb.7:
	mov	w8, #1
	str	w8, [x19, #12]
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wpas_wps_reassoc
.subsections_via_symbols
