	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_prov_disc_resp_cb
_wpas_prov_disc_resp_cb:                ## @wpas_prov_disc_resp_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	(%rdi), %rax
	xorl	%r14d, %r14d
	cmpq	$0, 8(%rax)
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rax), %r15d
	movl	$0, (%rax)
	movq	$0, 8(%rax)
	callq	_wpas_p2p_get_go_group
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	callq	_wpas_p2p_get_persistent_go
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	(%rax), %rcx
	movq	_WPAS_MODE_P2P_GO@GOTPCREL(%rip), %rdx
	movl	$0, %r10d
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	movq	_P2P_MAX_INITIAL_CONN_WAIT_GO_REINVOKE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
LBB0_5:
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%r10
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_wpas_p2p_group_add_persistent
	addq	$64, %rsp
	movl	$1, %r14d
	jmp	LBB0_7
LBB0_6:
	movl	$1, %r14d
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_wpas_p2p_group_add
	addq	$16, %rsp
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPAS_MODE_P2P_GO,8,3           ## @WPAS_MODE_P2P_GO
	.comm	_P2P_MAX_INITIAL_CONN_WAIT_GO_REINVOKE,4,2 ## @P2P_MAX_INITIAL_CONN_WAIT_GO_REINVOKE
	.no_dead_strip	_wpas_prov_disc_resp_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_prov_disc_resp_cb
_wpas_prov_disc_resp_cb:                ; @wpas_prov_disc_resp_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	ldr	x8, [x0]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w20, [x8]
	str	wzr, [x8]
	str	xzr, [x8, #8]
	bl	_wpas_p2p_get_go_group
	mov	w21, #0
	cbnz	x0, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_wpas_p2p_get_persistent_go
	cbz	x0, LBB0_5
; %bb.3:
	mov	x1, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _WPAS_MODE_P2P_GO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WPAS_MODE_P2P_GO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _P2P_MAX_INITIAL_CONN_WAIT_GO_REINVOKE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _P2P_MAX_INITIAL_CONN_WAIT_GO_REINVOKE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w8, w10, wzr, eq
	stp	xzr, xzr, [sp]
	stp	w8, wzr, [sp, #16]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_wpas_p2p_group_add_persistent
	mov	w21, #1
	b	LBB0_6
LBB0_4:
	mov	w21, #0
	b	LBB0_6
LBB0_5:
	mov	w21, #1
	mov	x0, x19
	mov	w1, #1
	mov	x2, x20
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_wpas_p2p_group_add
LBB0_6:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WPAS_MODE_P2P_GO,8,3           ; @WPAS_MODE_P2P_GO
	.comm	_P2P_MAX_INITIAL_CONN_WAIT_GO_REINVOKE,4,2 ; @P2P_MAX_INITIAL_CONN_WAIT_GO_REINVOKE
	.no_dead_strip	_wpas_prov_disc_resp_cb
.subsections_via_symbols
