	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2p_go_neg_conf_cb
_p2p_go_neg_conf_cb:                    ## @p2p_go_neg_conf_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_p2p_dbg
	movq	_P2P_SEND_ACTION_FAILED@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_1
## %bb.11:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	*8(%rax)
	movq	%r15, %rdi
	movl	$-1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_p2p_go_neg_failed              ## TAILCALL
LBB0_1:
	movq	16(%r15), %r14
	movq	_P2P_SEND_ACTION_NO_ACK@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_9
## %bb.2:
	testq	%r14, %r14
	je	LBB0_8
## %bb.3:
	cmpq	$0, 8(%r14)
	je	LBB0_8
## %bb.4:
	movq	(%r14), %rdx
	movq	_P2P_GO_NEG_CNF_MAX_RETRY_COUNT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jg	LBB0_8
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_p2p_dbg
	movq	_P2P_PENDING_GO_NEG_CONFIRM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movl	20(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%r14), %ebx
	movq	(%r15), %rax
	movl	16(%rax), %r13d
	movq	8(%r14), %rdi
	callq	_wpabuf_head
	movl	%eax, %r12d
	movq	8(%r14), %rdi
	callq	_wpabuf_len
                                        ## kill: def $eax killed $eax def $rax
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movl	%r12d, %r9d
	pushq	$0
	pushq	%rax
	callq	_p2p_send_action
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_7
## %bb.6:
	incq	(%r14)
	jmp	LBB0_10
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_p2p_dbg
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_p2p_dbg
LBB0_9:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	*8(%rax)
	testq	%r14, %r14
	je	LBB0_10
## %bb.12:
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_p2p_go_complete                ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GO Negotiation Confirm TX callback: result=%d"

	.comm	_P2P_SEND_ACTION_FAILED,4,2     ## @P2P_SEND_ACTION_FAILED
	.comm	_P2P_SEND_ACTION_NO_ACK,4,2     ## @P2P_SEND_ACTION_NO_ACK
	.comm	_P2P_GO_NEG_CNF_MAX_RETRY_COUNT,8,3 ## @P2P_GO_NEG_CNF_MAX_RETRY_COUNT
L_.str.1:                               ## @.str.1
	.asciz	"GO Negotiation Confirm retry %d"

	.comm	_P2P_PENDING_GO_NEG_CONFIRM,4,2 ## @P2P_PENDING_GO_NEG_CONFIRM
L_.str.2:                               ## @.str.2
	.asciz	"Failed to re-send Action frame"

L_.str.3:                               ## @.str.3
	.asciz	"Assume GO Negotiation Confirm TX was actually received by the peer even though Ack was not reported"

	.no_dead_strip	_p2p_go_neg_conf_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_conf_cb
_p2p_go_neg_conf_cb:                    ; @p2p_go_neg_conf_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	str	x21, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_p2p_dbg
Lloh2:
	adrp	x8, _P2P_SEND_ACTION_FAILED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P2P_SEND_ACTION_FAILED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	blr	x9
	mov	x0, x19
	mov	w1, #-1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_p2p_go_neg_failed
LBB0_2:
	ldr	x20, [x19, #16]
Lloh5:
	adrp	x8, _P2P_SEND_ACTION_NO_ACK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _P2P_SEND_ACTION_NO_ACK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_10
; %bb.3:
	cbz	x20, LBB0_9
; %bb.4:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_9
; %bb.5:
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _P2P_GO_NEG_CNF_MAX_RETRY_COUNT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _P2P_GO_NEG_CNF_MAX_RETRY_COUNT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_9
; %bb.6:
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
Lloh13:
	adrp	x8, _P2P_PENDING_GO_NEG_CONFIRM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _P2P_PENDING_GO_NEG_CONFIRM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldp	w22, w21, [x20, #16]
	ldr	x8, [x19]
	ldr	w23, [x8, #16]
	ldr	x0, [x20, #8]
	bl	_wpabuf_head
	mov	x24, x0
	ldr	x0, [x20, #8]
	bl	_wpabuf_len
	mov	x6, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x22
	mov	x5, x24
	mov	w7, #0
	bl	_p2p_send_action
	tbnz	x0, #63, LBB0_8
; %bb.7:
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	b	LBB0_12
LBB0_8:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
LBB0_9:
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_p2p_dbg
LBB0_10:
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	blr	x9
	cbz	x20, LBB0_12
; %bb.11:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_p2p_go_complete
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GO Negotiation Confirm TX callback: result=%d"

	.comm	_P2P_SEND_ACTION_FAILED,4,2     ; @P2P_SEND_ACTION_FAILED
	.comm	_P2P_SEND_ACTION_NO_ACK,4,2     ; @P2P_SEND_ACTION_NO_ACK
	.comm	_P2P_GO_NEG_CNF_MAX_RETRY_COUNT,8,3 ; @P2P_GO_NEG_CNF_MAX_RETRY_COUNT
l_.str.1:                               ; @.str.1
	.asciz	"GO Negotiation Confirm retry %d"

	.comm	_P2P_PENDING_GO_NEG_CONFIRM,4,2 ; @P2P_PENDING_GO_NEG_CONFIRM
l_.str.2:                               ; @.str.2
	.asciz	"Failed to re-send Action frame"

l_.str.3:                               ; @.str.3
	.asciz	"Assume GO Negotiation Confirm TX was actually received by the peer even though Ack was not reported"

	.no_dead_strip	_p2p_go_neg_conf_cb
.subsections_via_symbols
