	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_in_progress           ## -- Begin function wpas_p2p_in_progress
	.p2align	4, 0x90
_wpas_p2p_in_progress:                  ## @wpas_p2p_in_progress
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rcx
	xorl	%eax, %eax
	cmpq	$0, 24(%rcx)
	je	LBB0_1
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	16(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.2:
	callq	_p2p_in_progress
	testl	%eax, %eax
	jne	LBB0_11
## %bb.3:
	movq	(%rbx), %rcx
	movq	8(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	cmpq	%rbx, %rax
	je	LBB0_6
## %bb.5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	8(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_wpa_dbg
LBB0_10:
	movl	$1, %eax
	jmp	LBB0_11
LBB0_6:
	cmpq	$0, (%rcx)
	movl	$0, %eax
	je	LBB0_11
## %bb.7:
	leaq	-24(%rbp), %r14
	movq	%r14, %rdi
	callq	_os_get_reltime
	movq	(%rbx), %rsi
	movq	_P2P_MAX_INITIAL_CONN_WAIT_GO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_os_reltime_expired
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%rbx), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_9:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_wpa_dbg
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P2P: Another interface (%s) in group formation"

	.comm	_P2P_MAX_INITIAL_CONN_WAIT_GO,4,2 ## @P2P_MAX_INITIAL_CONN_WAIT_GO
L_.str.1:                               ## @.str.1
	.asciz	"P2P: Waiting for initial client connection during group formation"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_in_progress           ; -- Begin function wpas_p2p_in_progress
	.p2align	2
_wpas_p2p_in_progress:                  ; @wpas_p2p_in_progress
	.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	x8, [x0]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_3:
	mov	x19, x0
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_2
; %bb.4:
	bl	_p2p_in_progress
	cbnz	w0, LBB0_2
; %bb.5:
	ldr	x9, [x19]
	ldr	x8, [x9, #8]
	cmp	x8, #0
	ccmp	x8, x19, #4, ne
	b.ne	LBB0_9
; %bb.6:
	ldr	x8, [x9]
	cbz	x8, LBB0_1
; %bb.7:
	add	x0, sp, #8
	bl	_os_get_reltime
	ldr	x1, [x19]
Lloh0:
	adrp	x8, _P2P_MAX_INITIAL_CONN_WAIT_GO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P2P_MAX_INITIAL_CONN_WAIT_GO@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	bl	_os_reltime_expired
	cbz	x0, LBB0_10
; %bb.8:
	mov	w0, #0
	ldr	x8, [x19]
	str	xzr, [x8]
	b	LBB0_2
LBB0_9:
Lloh3:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	ldr	w8, [x8, #8]
	str	x8, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_11
LBB0_10:
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_11:
	mov	x0, x19
	bl	_wpa_dbg
	mov	w0, #1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P2P: Another interface (%s) in group formation"

	.comm	_P2P_MAX_INITIAL_CONN_WAIT_GO,4,2 ; @P2P_MAX_INITIAL_CONN_WAIT_GO
l_.str.1:                               ; @.str.1
	.asciz	"P2P: Waiting for initial client connection during group formation"

.subsections_via_symbols
