	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_p2p_start_go_neg
_wpas_p2p_start_go_neg:                 ## @wpas_p2p_start_go_neg
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	24(%rbp), %rbx
	movl	16(%rbp), %eax
	xorl	%r15d, %r15d
	movl	$0, %r12d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	24(%r14), %rcx
	cmpq	$0, (%rcx)
	movl	$2, %r12d
	cmovel	%eax, %r12d
LBB0_2:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	cmpq	$0, 16(%r14)
	movl	$100, %eax
	movl	$255, %esi
	cmovel	%eax, %esi
	movl	$20, %edx
	callq	_p2p_set_config_timeout
	movq	8(%r14), %rax
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	movq	8(%rbx), %r11
	movl	(%rbx), %r15d
	jmp	LBB0_5
LBB0_3:
	xorl	%r11d, %r11d
LBB0_5:
	movl	32(%rbp), %r10d
	movl	(%rax), %edi
	movl	4(%r14), %eax
	movq	_WPS_NFC@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpl	%r13d, (%rcx)
	jne	LBB0_7
## %bb.6:
	movl	(%r14), %ebx
LBB0_7:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rbx
	pushq	%r10
	pushq	%rax
	pushq	%r15
	pushq	%r11
	pushq	%r12
	callq	_p2p_connect
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPS_NFC,4,2                    ## @WPS_NFC
	.no_dead_strip	_wpas_p2p_start_go_neg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_p2p_start_go_neg
_wpas_p2p_start_go_neg:                 ; @wpas_p2p_start_go_neg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x26, x7
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x25, x0
	cbz	w6, LBB0_2
; %bb.1:
	ldr	x8, [x25, #24]
	ldr	x8, [x8]
	cmp	x8, #0
	mov	w8, #2
	csel	w24, w6, w8, eq
	b	LBB0_3
LBB0_2:
	mov	w24, #0
LBB0_3:
	ldp	x8, x9, [x25, #8]
	ldr	w0, [x8]
	cmp	x9, #0
	mov	w8, #255
	mov	w9, #100
	csel	w1, w9, w8, eq
	mov	w2, #20
	bl	_p2p_set_config_timeout
	ldr	x8, [x25, #8]
	ldr	w0, [x8]
	cbz	x26, LBB0_5
; %bb.4:
	ldr	x7, [x26, #8]
	ldr	w8, [x26]
	b	LBB0_6
LBB0_5:
	mov	x7, #0
	mov	w8, #0
LBB0_6:
	ldr	w9, [x29, #16]
	ldr	w10, [x25, #4]
Lloh0:
	adrp	x11, _WPS_NFC@GOTPAGE
Lloh1:
	ldr	x11, [x11, _WPS_NFC@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	cmp	w11, w22
	b.ne	LBB0_8
; %bb.7:
	ldr	w11, [x25]
	b	LBB0_9
LBB0_8:
	mov	w11, #0
LBB0_9:
	stp	w9, w11, [sp, #8]
	stp	w8, w10, [sp]
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	mov	x6, x24
	bl	_p2p_connect
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WPS_NFC,4,2                    ; @WPS_NFC
	.no_dead_strip	_wpas_p2p_start_go_neg
.subsections_via_symbols
