	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2p_state_timeout
_p2p_state_timeout:                     ## @p2p_state_timeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_p2p_state_txt
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_p2p_dbg
	movq	$0, 40(%rbx)
	cmpq	$0, 32(%rbx)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_p2p_dbg
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	callq	*8(%rax)
LBB0_2:
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$12, %eax
	ja	LBB0_23
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_18:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_timeout_wait_peer_idle     ## TAILCALL
LBB0_17:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_timeout_wait_peer_connect  ## TAILCALL
LBB0_6:
	movl	16(%rbx), %eax
	movq	_P2P_PENDING_PD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_p2p_timeout_prov_disc_req
LBB0_8:
	movl	4(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_10
## %bb.9:
	cmpl	$0, 8(%rbx)
	je	LBB0_24
LBB0_10:
	movl	$0, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_search                     ## TAILCALL
LBB0_19:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_timeout_sd_during_find     ## TAILCALL
LBB0_20:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_timeout_prov_disc_during_find ## TAILCALL
LBB0_13:
	movl	16(%rbx), %eax
	movq	_P2P_PENDING_PD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_p2p_timeout_prov_disc_req
LBB0_15:
	cmpl	$0, 12(%rbx)
	je	LBB0_23
## %bb.16:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_p2p_dbg
	movl	$0, 12(%rbx)
	movq	%rbx, %rdi
	movl	$137, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_set_state                  ## TAILCALL
LBB0_22:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_timeout_invite_listen      ## TAILCALL
LBB0_21:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_timeout_invite             ## TAILCALL
LBB0_4:
	movl	16(%rbx), %eax
	movq	_P2P_PENDING_PD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_23
## %bb.5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_timeout_prov_disc_req      ## TAILCALL
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_12:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_timeout_connect_listen     ## TAILCALL
LBB0_11:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_timeout_connect            ## TAILCALL
LBB0_24:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_p2p_dbg
	movl	$1, 8(%rbx)
	movslq	4(%rbx), %rax
	imulq	$274877907, %rax, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rcx
	shrq	$63, %rcx
	sarq	$38, %rsi
	addl	%ecx, %esi
	imull	$1000, %esi, %ecx               ## imm = 0x3E8
	subl	%ecx, %eax
	imull	$1000, %eax, %edx               ## imm = 0x3E8
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_set_timeout                ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_17
	.long	L0_0_set_6
	.long	L0_0_set_19
	.long	L0_0_set_23
	.long	L0_0_set_20
	.long	L0_0_set_13
	.long	L0_0_set_22
	.long	L0_0_set_21
	.long	L0_0_set_4
	.long	L0_0_set_23
	.long	L0_0_set_12
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Timeout (state=%s)"

L_.str.1:                               ## @.str.1
	.asciz	"Driver is still in listen state - stop it"

	.comm	_P2P_PENDING_PD,4,2             ## @P2P_PENDING_PD
L_.str.2:                               ## @.str.2
	.asciz	"Delay search operation by %u ms"

L_.str.3:                               ## @.str.3
	.asciz	"Extended Listen Timing - Listen State completed"

	.no_dead_strip	_p2p_state_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p2p_state_timeout
_p2p_state_timeout:                     ; @p2p_state_timeout
	.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
	mov	x19, x0
	ldr	w0, [x0]
	bl	_p2p_state_txt
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
	str	xzr, [x19, #40]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
	ldr	x8, [x19, #24]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	blr	x9
LBB0_2:
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #12
	b.hi	LBB0_21
; %bb.3:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_timeout_wait_peer_idle
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_timeout_wait_peer_connect
LBB0_6:
	ldr	w8, [x19, #16]
Lloh6:
	adrp	x9, _P2P_PENDING_PD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _P2P_PENDING_PD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_p2p_timeout_prov_disc_req
LBB0_8:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_10
; %bb.9:
	ldr	w9, [x19, #8]
	cbz	w9, LBB0_24
LBB0_10:
	str	wzr, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_search
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_timeout_sd_during_find
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_timeout_prov_disc_during_find
LBB0_13:
	ldr	w8, [x19, #16]
Lloh9:
	adrp	x9, _P2P_PENDING_PD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _P2P_PENDING_PD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_p2p_timeout_prov_disc_req
LBB0_15:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_21
; %bb.16:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
	str	wzr, [x19, #12]
	mov	x0, x19
	mov	w1, #137
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_set_state
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_timeout_invite_listen
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_timeout_invite
LBB0_19:
	ldr	w8, [x19, #16]
Lloh14:
	adrp	x9, _P2P_PENDING_PD@GOTPAGE
Lloh15:
	ldr	x9, [x9, _P2P_PENDING_PD@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_timeout_prov_disc_req
LBB0_21:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_22:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_timeout_connect_listen
LBB0_23:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_timeout_connect
LBB0_24:
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
	mov	w8, #1
	str	w8, [x19, #8]
	ldr	w8, [x19, #4]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w1, w9, w10
	mov	w9, #1000
	msub	w8, w1, w9, w8
	mul	w2, w8, w9
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_p2p_set_timeout
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
	.byte	(LBB0_18-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_22-LBB0_4)>>2
	.byte	(LBB0_23-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Timeout (state=%s)"

l_.str.1:                               ; @.str.1
	.asciz	"Driver is still in listen state - stop it"

	.comm	_P2P_PENDING_PD,4,2             ; @P2P_PENDING_PD
l_.str.2:                               ; @.str.2
	.asciz	"Delay search operation by %u ms"

l_.str.3:                               ; @.str.3
	.asciz	"Extended Listen Timing - Listen State completed"

	.no_dead_strip	_p2p_state_timeout
.subsections_via_symbols
