	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_wps_failed            ## -- Begin function wpas_p2p_wps_failed
	.p2align	4, 0x90
_wpas_p2p_wps_failed:                   ## @wpas_p2p_wps_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, 24(%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rcx
	movl	16(%rcx), %edi
	movl	(%rax), %esi
	callq	_p2p_clear_provisioning_info
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_wpas_notify_p2p_wps_failed
	movq	8(%rbx), %rax
	cmpq	%rbx, 8(%rax)
	je	LBB0_6
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	8(%rbx), %rax
	movl	$1, (%rax)
	movq	_wpas_p2p_group_formation_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	xorl	%edi, %edi
	movl	$50000, %esi                    ## imm = 0xC350
	xorl	%r8d, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_eloop_deplete_timeout          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P2P: Ignore WPS fail event - P2P provisioning not in progress"

L_.str.1:                               ## @.str.1
	.asciz	"P2P: WPS step failed during group formation - reject connection from timeout"

	.comm	_wpas_p2p_group_formation_timeout,4,2 ## @wpas_p2p_group_formation_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_wps_failed            ; -- Begin function wpas_p2p_wps_failed
	.p2align	2
_wpas_p2p_wps_failed:                   ; @wpas_p2p_wps_failed
	.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
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x9, [x19, #8]
	ldr	w0, [x9, #16]
	ldr	w1, [x8]
	bl	_p2p_clear_provisioning_info
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_wpas_notify_p2p_wps_failed
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cmp	x8, x19
	b.eq	LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wpa_printf
LBB0_6:
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19, #8]
	mov	w9, #1
	str	w9, [x8]
Lloh10:
	adrp	x8, _wpas_p2p_group_formation_timeout@GOTPAGE
Lloh11:
	ldr	x8, [x8, _wpas_p2p_group_formation_timeout@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	ldr	w3, [x19]
	mov	w0, #0
	mov	w1, #50000
	mov	x4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_eloop_deplete_timeout
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P2P: Ignore WPS fail event - P2P provisioning not in progress"

l_.str.1:                               ; @.str.1
	.asciz	"P2P: WPS step failed during group formation - reject connection from timeout"

	.comm	_wpas_p2p_group_formation_timeout,4,2 ; @wpas_p2p_group_formation_timeout
.subsections_via_symbols
