	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2p_timeout_connect_listen
_p2p_timeout_connect_listen:            ## @p2p_timeout_connect_listen
	.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
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_dbg                        ## TAILCALL
LBB0_4:
	movq	_P2P_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_set_state                  ## TAILCALL
LBB0_2:
	cmpl	$120, (%rax)
	jl	LBB0_3
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_p2p_dbg
	movq	%rbx, %rdi
	movl	$-1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_go_neg_failed              ## TAILCALL
LBB0_3:
	movq	_P2P_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_p2p_set_state
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_p2p_connect_send               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Driver is still in Listen state; wait for it to complete"

L_.str.1:                               ## @.str.1
	.asciz	"Timeout on sending GO Negotiation Request without getting response"

	.comm	_P2P_CONNECT,4,2                ## @P2P_CONNECT
	.comm	_P2P_IDLE,4,2                   ## @P2P_IDLE
	.no_dead_strip	_p2p_timeout_connect_listen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p2p_timeout_connect_listen
_p2p_timeout_connect_listen:            ; @p2p_timeout_connect_listen
	.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
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_4
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_p2p_dbg
LBB0_3:
Lloh2:
	adrp	x8, _P2P_IDLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P2P_IDLE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_p2p_set_state
LBB0_4:
	ldr	w8, [x8]
	cmp	w8, #120
	b.lt	LBB0_6
; %bb.5:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
	mov	x0, x19
	mov	w1, #-1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_p2p_go_neg_failed
LBB0_6:
Lloh7:
	adrp	x8, _P2P_CONNECT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _P2P_CONNECT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_p2p_set_state
	ldr	x1, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_p2p_connect_send
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Driver is still in Listen state; wait for it to complete"

l_.str.1:                               ; @.str.1
	.asciz	"Timeout on sending GO Negotiation Request without getting response"

	.comm	_P2P_CONNECT,4,2                ; @P2P_CONNECT
	.comm	_P2P_IDLE,4,2                   ; @P2P_IDLE
	.no_dead_strip	_p2p_timeout_connect_listen
.subsections_via_symbols
