	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wps_pwd_auth_fail
_wps_pwd_auth_fail:                     ## @wps_pwd_auth_fail
	.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
	cmpl	$0, (%rsi)
	je	LBB0_14
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_14
## %bb.2:
	cmpq	$0, 24(%rbx)
	je	LBB0_14
## %bb.3:
	movl	(%rbx), %edx
	movl	4(%rbx), %ecx
	incl	%edx
	movl	%edx, (%rbx)
	incl	%ecx
	movl	%ecx, 4(%rbx)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	cmpl	$3, (%rbx)
	jl	LBB0_14
## %bb.4:
	movl	32(%rbx), %edi
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WPS_EVENT_AP_SETUP_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_wpa_msg
	movq	24(%rbx), %rax
	movl	$1, (%rax)
	movl	4(%rax), %edi
	callq	_wps_registrar_update_ie
	movq	16(%rbx), %rax
	cmpl	$0, (%rax)
	jne	LBB0_14
## %bb.5:
	cmpl	$10, 4(%rbx)
	jl	LBB0_7
## %bb.6:
	movq	_hostapd_wps_reenable_ap_pin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_14
LBB0_7:
	movl	8(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_8
## %bb.9:
	cmpl	$31535999, %edx                 ## imm = 0x1E1337F
	jg	LBB0_13
## %bb.10:
	imull	$-1431655765, (%rbx), %eax      ## imm = 0xAAAAAAAB
	addl	$715827882, %eax                ## imm = 0x2AAAAAAA
	cmpl	$1431655764, %eax               ## imm = 0x55555554
	ja	LBB0_13
## %bb.11:
	addl	%edx, %edx
	jmp	LBB0_12
LBB0_8:
	movl	$60, %edx
LBB0_12:
	movl	%edx, 8(%rbx)
LBB0_13:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_hostapd_wps_reenable_ap_pin@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movl	8(%rbx), %edi
	movl	(%r14), %edx
	xorl	%esi, %esi
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_eloop_register_timeout
LBB0_14:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS: AP PIN authentication failure number %u (%u consecutive)"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.comm	_WPS_EVENT_AP_SETUP_LOCKED,4,2  ## @WPS_EVENT_AP_SETUP_LOCKED
	.comm	_hostapd_wps_reenable_ap_pin,4,2 ## @hostapd_wps_reenable_ap_pin
L_.str.1:                               ## @.str.1
	.asciz	"WPS: AP PIN disabled indefinitely"

L_.str.2:                               ## @.str.2
	.asciz	"WPS: Disable AP PIN for %u seconds"

	.no_dead_strip	_wps_pwd_auth_fail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wps_pwd_auth_fail
_wps_pwd_auth_fail:                     ; @wps_pwd_auth_fail
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	w8, [x1]
	cbz	w8, LBB0_14
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_14
; %bb.2:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_14
; %bb.3:
	ldp	w8, w9, [x19]
	add	w8, w8, #1
	add	w9, w9, #1
	stp	w8, w9, [x19]
Lloh0:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x20]
	stp	x8, x9, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [x19]
	cmp	w8, #3
	b.lt	LBB0_14
; %bb.4:
	ldr	w0, [x19, #32]
Lloh4:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _WPS_EVENT_AP_SETUP_LOCKED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WPS_EVENT_AP_SETUP_LOCKED@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	bl	_wpa_msg
	ldr	x8, [x19, #24]
	mov	w9, #1
	str	w9, [x8]
	ldr	w0, [x8, #4]
	bl	_wps_registrar_update_ie
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	cbnz	w8, LBB0_14
; %bb.5:
	ldr	w8, [x19, #4]
	cmp	w8, #10
	b.lt	LBB0_7
; %bb.6:
Lloh10:
	adrp	x8, _hostapd_wps_reenable_ap_pin@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hostapd_wps_reenable_ap_pin@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
	ldr	w0, [x20]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	b	LBB0_14
LBB0_7:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_11
; %bb.8:
	mov	w9, #13183
	movk	w9, #481, lsl #16
	cmp	w8, w9
	b.gt	LBB0_13
; %bb.9:
	ldr	w9, [x19]
	mov	w10, #43691
	movk	w10, #43690, lsl #16
	mov	w11, #43690
	movk	w11, #10922, lsl #16
	madd	w9, w9, w10, w11
	mov	w10, #21844
	movk	w10, #21845, lsl #16
	cmp	w9, w10
	b.hi	LBB0_13
; %bb.10:
	lsl	w8, w8, #1
	b	LBB0_12
LBB0_11:
	mov	w8, #60
LBB0_12:
	str	w8, [x19, #8]
LBB0_13:
	ldr	w0, [x20]
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
Lloh17:
	adrp	x20, _hostapd_wps_reenable_ap_pin@GOTPAGE
Lloh18:
	ldr	x20, [x20, _hostapd_wps_reenable_ap_pin@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
	ldr	w0, [x19, #8]
	ldr	w2, [x20]
	mov	w1, #0
	mov	x3, x19
	mov	x4, #0
	bl	_eloop_register_timeout
LBB0_14:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS: AP PIN authentication failure number %u (%u consecutive)"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.comm	_WPS_EVENT_AP_SETUP_LOCKED,4,2  ; @WPS_EVENT_AP_SETUP_LOCKED
	.comm	_hostapd_wps_reenable_ap_pin,4,2 ; @hostapd_wps_reenable_ap_pin
l_.str.1:                               ; @.str.1
	.asciz	"WPS: AP PIN disabled indefinitely"

l_.str.2:                               ; @.str.2
	.asciz	"WPS: Disable AP PIN for %u seconds"

	.no_dead_strip	_wps_pwd_auth_fail
.subsections_via_symbols
