	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_go_neg_failed              ## -- Begin function p2p_go_neg_failed
	.p2align	4, 0x90
_p2p_go_neg_failed:                     ## @p2p_go_neg_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	_p2p_go_neg_wait_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movq	(%r12), %rax
	movq	_P2P_SEARCH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_p2p_clear_timeout
	movq	_P2P_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_p2p_set_state
LBB0_3:
	movq	_P2P_DEV_PEER_WAITING_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 28(%rbx)
	movq	_WPS_NOT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	8(%rbx), %rdi
	callq	_wpabuf_free
	movq	$0, 8(%rbx)
	movq	$0, 16(%r12)
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_os_memset
	movl	%r14d, -48(%rbp)
	movl	-40(%rbp), %edi
	movl	4(%rbx), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_os_memcpy
	movl	-44(%rbp), %edi
	movl	(%rbx), %esi
	movl	(%r14), %edx
	callq	_os_memcpy
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	*8(%rax)
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_p2p_go_neg_wait_timeout,4,2    ## @p2p_go_neg_wait_timeout
	.comm	_P2P_SEARCH,8,3                 ## @P2P_SEARCH
	.comm	_P2P_IDLE,4,2                   ## @P2P_IDLE
	.comm	_P2P_DEV_PEER_WAITING_RESPONSE,4,2 ## @P2P_DEV_PEER_WAITING_RESPONSE
	.comm	_WPS_NOT_READY,4,2              ## @WPS_NOT_READY
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_go_neg_failed              ; -- Begin function p2p_go_neg_failed
	.p2align	2
_p2p_go_neg_failed:                     ; @p2p_go_neg_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
	ldr	x21, [x0, #16]
	cbz	x21, LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _p2p_go_neg_wait_timeout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _p2p_go_neg_wait_timeout@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _P2P_SEARCH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _P2P_SEARCH@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_p2p_clear_timeout
Lloh6:
	adrp	x8, _P2P_IDLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _P2P_IDLE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_p2p_set_state
LBB0_3:
Lloh9:
	adrp	x8, _P2P_DEV_PEER_WAITING_RESPONSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _P2P_DEV_PEER_WAITING_RESPONSE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x21, #28]
Lloh12:
	adrp	x10, _WPS_NOT_READY@GOTPAGE
Lloh13:
	ldr	x10, [x10, _WPS_NOT_READY@GOTPAGEOFF]
	bic	w8, w9, w8
Lloh14:
	ldr	w9, [x10]
	stp	w9, w8, [x21, #24]
	str	xzr, [x21, #16]
	ldr	x0, [x21, #8]
	bl	_wpabuf_free
	str	xzr, [x21, #8]
	str	xzr, [x19, #16]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_os_memset
	str	w20, [sp]
	ldr	w0, [sp, #8]
	ldr	w1, [x21, #4]
Lloh15:
	adrp	x20, _ETH_ALEN@GOTPAGE
Lloh16:
	ldr	x20, [x20, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_os_memcpy
	ldr	w0, [sp, #4]
	ldr	w1, [x21]
	ldr	w2, [x20]
	bl	_os_memcpy
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	mov	x1, sp
	blr	x9
LBB0_4:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_p2p_go_neg_wait_timeout,4,2    ; @p2p_go_neg_wait_timeout
	.comm	_P2P_SEARCH,8,3                 ; @P2P_SEARCH
	.comm	_P2P_IDLE,4,2                   ; @P2P_IDLE
	.comm	_P2P_DEV_PEER_WAITING_RESPONSE,4,2 ; @P2P_DEV_PEER_WAITING_RESPONSE
	.comm	_WPS_NOT_READY,4,2              ; @WPS_NOT_READY
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
.subsections_via_symbols
