	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_p2p_move_go_no_csa
_wpas_p2p_move_go_no_csa:               ## @wpas_p2p_move_go_no_csa
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %r14
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_P2P_EVENT_REMOVE_AND_REFORM_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_wpa_msg_global
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_wpa_dbg
	movq	%rbx, %rdi
	callq	_wpa_supplicant_ap_deinit
	subq	$8, %rsp
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_wpas_p2p_init_go_params
	addq	$32, %rsp
	movl	(%r15), %esi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_wpa_dbg
LBB0_2:
	movq	_P2P_GROUP_REMOVAL_GO_LEAVE_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpas_p2p_group_delete
	jmp	LBB0_7
LBB0_3:
	movq	-40(%rbp), %rcx
	leaq	L_.str.2(%rip), %rdx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_wpa_dbg
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.4:
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	callq	_p2p_supported_freq_go
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	-40(%rbp), %r12
LBB0_6:
	movq	%r12, (%r14)
	movq	%r14, 16(%rbx)
	movl	$1, (%rbx)
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wpa_supplicant_req_scan
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	(%r15), %edi
	movq	-40(%rbp), %rdx
	leaq	L_.str.3(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.comm	_P2P_EVENT_REMOVE_AND_REFORM_GROUP,4,2 ## @P2P_EVENT_REMOVE_AND_REFORM_GROUP
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P2P: Move GO from freq=%d MHz"

L_.str.1:                               ## @.str.1
	.asciz	"P2P: Failed to reselect freq"

	.comm	_P2P_GROUP_REMOVAL_GO_LEAVE_CHANNEL,4,2 ## @P2P_GROUP_REMOVAL_GO_LEAVE_CHANNEL
L_.str.2:                               ## @.str.2
	.asciz	"P2P: New freq selected for the GO (%u MHz)"

L_.str.3:                               ## @.str.3
	.asciz	"P2P: Selected freq (%u MHz) is not valid for P2P"

	.no_dead_strip	_wpas_p2p_move_go_no_csa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_p2p_move_go_no_csa
_wpas_p2p_move_go_no_csa:               ; @wpas_p2p_move_go_no_csa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	x20, [x0, #32]
Lloh0:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _P2P_EVENT_REMOVE_AND_REFORM_GROUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _P2P_EVENT_REMOVE_AND_REFORM_GROUP@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_wpa_msg_global
Lloh6:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	x8, [x20]
	str	x8, [sp]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_wpa_dbg
	mov	x0, x19
	bl	_wpa_supplicant_ap_deinit
	str	xzr, [sp]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_wpas_p2p_init_go_params
	ldr	w1, [x21]
	cbz	x0, LBB0_3
; %bb.1:
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_wpa_dbg
LBB0_2:
Lloh12:
	adrp	x8, _P2P_GROUP_REMOVAL_GO_LEAVE_CHANNEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _P2P_GROUP_REMOVAL_GO_LEAVE_CHANNEL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpas_p2p_group_delete
	b	LBB0_8
LBB0_3:
	ldr	x8, [sp, #8]
	str	x8, [sp]
Lloh15:
	adrp	x2, l_.str.2@PAGE
Lloh16:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_wpa_dbg
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_6
; %bb.4:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	bl	_p2p_supported_freq_go
	cbz	w0, LBB0_9
; %bb.5:
	ldr	x8, [sp, #8]
	b	LBB0_7
LBB0_6:
	mov	x8, #0
LBB0_7:
	str	x8, [x20]
	mov	w8, #1
	str	w8, [x19]
	stp	xzr, x20, [x19, #8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_wpa_supplicant_req_scan
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	ldr	w0, [x21]
	ldr	x2, [sp, #8]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	b	LBB0_2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.comm	_P2P_EVENT_REMOVE_AND_REFORM_GROUP,4,2 ; @P2P_EVENT_REMOVE_AND_REFORM_GROUP
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P2P: Move GO from freq=%d MHz"

l_.str.1:                               ; @.str.1
	.asciz	"P2P: Failed to reselect freq"

	.comm	_P2P_GROUP_REMOVAL_GO_LEAVE_CHANNEL,4,2 ; @P2P_GROUP_REMOVAL_GO_LEAVE_CHANNEL
l_.str.2:                               ; @.str.2
	.asciz	"P2P: New freq selected for the GO (%u MHz)"

l_.str.3:                               ; @.str.3
	.asciz	"P2P: Selected freq (%u MHz) is not valid for P2P"

	.no_dead_strip	_wpas_p2p_move_go_no_csa
.subsections_via_symbols
