	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_connection_failed         ## -- Begin function wpas_connection_failed
	.p2align	4, 0x90
_wpas_connection_failed:                ## @wpas_connection_failed
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_wpas_connect_work_done
	movq	_wpa_supplicant_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	cmpq	$0, 48(%rbx)
	je	LBB0_2
## %bb.1:
	movq	$0, 48(%rbx)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_4
LBB0_2:
	cmpq	$0, 40(%rbx)
	je	LBB0_5
## %bb.3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_4:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_dbg                        ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_wpa_blacklist_add
	movl	%eax, %r15d
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.6:
	cmpq	$0, 32(%rbx)
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_get_bss_freqs_in_ess
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %r12
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_wpa_dbg
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_wpa_blacklist_add
	movq	(%rbx), %rdi
	callq	_os_free
	movq	%r12, (%rbx)
LBB0_9:
	movl	24(%rbx), %r14d
	addl	%r15d, %r14d
	cmpl	$4, %r14d
	jl	LBB0_12
## %bb.10:
	cmpq	$0, 16(%rbx)
	je	LBB0_12
## %bb.11:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_wpa_printf
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_wpas_auth_failed
LBB0_12:
	leal	-1(%r14), %eax
	movl	$10000, %r15d                   ## imm = 0x2710
	cmpl	$3, %eax
	ja	LBB0_14
## %bb.13:
	cltq
	leaq	L_switch.table.wpas_connection_failed(%rip), %rcx
	movl	(%rcx,%rax,4), %r15d
LBB0_14:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_wpa_dbg
	movq	$0, 8(%rbx)
	movzwl	%r15w, %eax
	shrl	$3, %eax
	imull	$8389, %eax, %esi               ## imm = 0x20C5
	shrl	$20, %esi
	imull	$1000, %esi, %eax               ## imm = 0x3E8
	subl	%eax, %r15d
	movzwl	%r15w, %eax
	imull	$1000, %eax, %edx               ## imm = 0x3E8
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_supplicant_req_scan        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_wpa_supplicant_timeout,4,2     ## @wpa_supplicant_timeout
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignore connection failure due to local request to disconnect"

L_.str.1:                               ## @.str.1
	.asciz	"Ignore connection failure indication since interface has been put into disconnected state"

L_.str.2:                               ## @.str.2
	.asciz	"Another BSS in this ESS has been seen; try it next"

L_.str.3:                               ## @.str.3
	.asciz	"Continuous association failures - consider temporary network disabling"

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

L_.str.5:                               ## @.str.5
	.asciz	"Blacklist count %d --> request scan in %d ms"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.wpas_connection_failed
L_switch.table.wpas_connection_failed:
	.long	100                             ## 0x64
	.long	500                             ## 0x1f4
	.long	1000                            ## 0x3e8
	.long	5000                            ## 0x1388

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_connection_failed         ; -- Begin function wpas_connection_failed
	.p2align	2
_wpas_connection_failed:                ; @wpas_connection_failed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	bl	_wpas_connect_work_done
Lloh0:
	adrp	x8, _wpa_supplicant_timeout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wpa_supplicant_timeout@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_2
; %bb.1:
	str	xzr, [x19, #48]
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_wpa_dbg
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_wpa_blacklist_add
	mov	x21, x0
	cmp	w0, #1
	b.ne	LBB0_9
; %bb.6:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_get_bss_freqs_in_ess
	cbz	x0, LBB0_9
; %bb.8:
	mov	x22, x0
Lloh13:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_wpa_dbg
	mov	x0, x19
	mov	x1, x20
	bl	_wpa_blacklist_add
	ldr	x0, [x19]
	bl	_os_free
	str	x22, [x19]
LBB0_9:
	ldr	w8, [x19, #24]
	add	w20, w21, w8
	cmp	w20, #4
	b.lt	LBB0_12
; %bb.10:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_12
; %bb.11:
Lloh18:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_wpas_auth_failed
LBB0_12:
	sub	w8, w20, #1
	cmp	w8, #3
	b.hi	LBB0_14
; %bb.13:
Lloh25:
	adrp	x9, l_switch.table.wpas_connection_failed@PAGE
Lloh26:
	add	x9, x9, l_switch.table.wpas_connection_failed@PAGEOFF
	ldr	w21, [x9, w8, sxtw #2]
	b	LBB0_15
LBB0_14:
	mov	w21, #10000
LBB0_15:
Lloh27:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	stp	x20, x21, [sp]
Lloh30:
	adrp	x2, l_.str.5@PAGE
Lloh31:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_wpa_dbg
	str	xzr, [x19, #8]
	ubfx	w8, w21, #3, #13
	mov	w9, #8389
	mul	w8, w8, w9
	lsr	w1, w8, #20
	mov	w8, #1000
	msub	w9, w1, w8, w21
	and	w9, w9, #0xffff
	mul	w2, w9, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_wpa_supplicant_req_scan
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_wpa_supplicant_timeout,4,2     ; @wpa_supplicant_timeout
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignore connection failure due to local request to disconnect"

l_.str.1:                               ; @.str.1
	.asciz	"Ignore connection failure indication since interface has been put into disconnected state"

l_.str.2:                               ; @.str.2
	.asciz	"Another BSS in this ESS has been seen; try it next"

l_.str.3:                               ; @.str.3
	.asciz	"Continuous association failures - consider temporary network disabling"

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

l_.str.5:                               ; @.str.5
	.asciz	"Blacklist count %d --> request scan in %d ms"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.wpas_connection_failed
l_switch.table.wpas_connection_failed:
	.long	100                             ; 0x64
	.long	500                             ; 0x1f4
	.long	1000                            ; 0x3e8
	.long	5000                            ; 0x1388

.subsections_via_symbols
