	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2p_go_neg_resp_failure_cb
_p2p_go_neg_resp_failure_cb:            ## @p2p_go_neg_resp_failure_cb
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_p2p_dbg
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %rsi
	movq	_P2P_SC_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_9
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_p2p_get_device
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	(%rax), %rcx
	movq	_P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	movq	_P2P_DEV_PEER_WAITING_RESPONSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%rax)
LBB0_6:
	movq	(%r15), %rax
	movq	_P2P_SEARCH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.7:
	movq	_P2P_SD_DURING_FIND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_p2p_continue_find              ## TAILCALL
LBB0_9:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_p2p_go_neg_failed              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GO Negotiation Response (failure) TX callback: success=%d"

	.comm	_P2P_SC_SUCCESS,8,3             ## @P2P_SC_SUCCESS
	.comm	_P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE,8,3 ## @P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE
	.comm	_P2P_DEV_PEER_WAITING_RESPONSE,4,2 ## @P2P_DEV_PEER_WAITING_RESPONSE
	.comm	_P2P_SEARCH,8,3                 ## @P2P_SEARCH
	.comm	_P2P_SD_DURING_FIND,8,3         ## @P2P_SD_DURING_FIND
	.no_dead_strip	_p2p_go_neg_resp_failure_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p2p_go_neg_resp_failure_cb
_p2p_go_neg_resp_failure_cb:            ; @p2p_go_neg_resp_failure_cb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_p2p_dbg
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x1, [x8]
Lloh2:
	adrp	x8, _P2P_SC_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P2P_SC_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_9
LBB0_2:
	cbz	w21, LBB0_6
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_p2p_get_device
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x0]
Lloh5:
	adrp	x9, _P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _P2P_DEV_PEER_WAITING_RESPONSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _P2P_DEV_PEER_WAITING_RESPONSE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x0, #8]
	orr	w8, w9, w8
	str	w8, [x0, #8]
LBB0_6:
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _P2P_SEARCH@GOTPAGE
Lloh12:
	ldr	x9, [x9, _P2P_SEARCH@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _P2P_SD_DURING_FIND@GOTPAGE
Lloh15:
	ldr	x10, [x10, _P2P_SD_DURING_FIND@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_p2p_continue_find
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_p2p_go_neg_failed
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GO Negotiation Response (failure) TX callback: success=%d"

	.comm	_P2P_SC_SUCCESS,8,3             ; @P2P_SC_SUCCESS
	.comm	_P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE,8,3 ; @P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE
	.comm	_P2P_DEV_PEER_WAITING_RESPONSE,4,2 ; @P2P_DEV_PEER_WAITING_RESPONSE
	.comm	_P2P_SEARCH,8,3                 ; @P2P_SEARCH
	.comm	_P2P_SD_DURING_FIND,8,3         ; @P2P_SD_DURING_FIND
	.no_dead_strip	_p2p_go_neg_resp_failure_cb
.subsections_via_symbols
