	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_wps_start_pbc             ## -- Begin function wpas_wps_start_pbc
	.p2align	4, 0x90
_wpas_wps_start_pbc:                    ## @wpas_wps_start_pbc
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_wpas_clear_wps
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	callq	_wpas_wps_add_network
	movl	$-1, %r12d
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movl	$1, (%rax)
	movl	%r14d, 4(%rax)
	testl	%r14d, %r14d
	jne	LBB0_3
## %bb.2:
	movl	$2, 8(%rbx)
LBB0_3:
	testl	%r13d, %r13d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rdx
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_os_snprintf
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_wpa_config_set_quoted
	testq	%rax, %rax
	js	LBB0_9
## %bb.4:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, 16(%rbx)
LBB0_6:
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.7:
	movl	$1, 12(%rbx)
LBB0_8:
	movq	_WPS_EV_PBC_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_wpa_supplicant_wps_event
	movq	_WPS_PBC_WALK_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_wpas_wps_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_eloop_register_timeout
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_wpas_wps_reassoc
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pbc=1%s"

L_.str.1:                               ## @.str.1
	.asciz	" multi_ap=1"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"phase1"

	.comm	_WPS_EV_PBC_ACTIVE,4,2          ## @WPS_EV_PBC_ACTIVE
	.comm	_WPS_PBC_WALK_TIME,4,2          ## @WPS_PBC_WALK_TIME
	.comm	_wpas_wps_timeout,4,2           ## @wpas_wps_timeout
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_wps_start_pbc             ; -- Begin function wpas_wps_start_pbc
	.p2align	2
_wpas_wps_start_pbc:                    ; @wpas_wps_start_pbc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_wpas_clear_wps
	mov	x0, x20
	mov	w1, #0
	mov	x2, #0
	mov	x3, x19
	bl	_wpas_wps_add_network
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
	mov	w8, #1
	stp	w8, w23, [x0]
	cbnz	w23, LBB0_3
; %bb.2:
	mov	w8, #2
	str	w8, [x21, #8]
LBB0_3:
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w22, #0
	csel	x3, x9, x8, eq
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #32
	bl	_os_snprintf
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	mov	x0, x21
	bl	_wpa_config_set_quoted
	tbnz	x0, #63, LBB0_9
; %bb.4:
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.5:
	str	x8, [x21, #16]
LBB0_6:
	cbz	w22, LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x21, #12]
LBB0_8:
Lloh11:
	adrp	x8, _WPS_EV_PBC_ACTIVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WPS_EV_PBC_ACTIVE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, #0
	bl	_wpa_supplicant_wps_event
Lloh14:
	adrp	x8, _WPS_PBC_WALK_TIME@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WPS_PBC_WALK_TIME@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _wpas_wps_timeout@GOTPAGE
Lloh18:
	ldr	x8, [x8, _wpas_wps_timeout@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	w1, #0
	mov	x3, x20
	mov	x4, #0
	bl	_eloop_register_timeout
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	w3, #0
	bl	_wpas_wps_reassoc
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldr	x8, [sp, #40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pbc=1%s"

l_.str.1:                               ; @.str.1
	.asciz	" multi_ap=1"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"phase1"

	.comm	_WPS_EV_PBC_ACTIVE,4,2          ; @WPS_EV_PBC_ACTIVE
	.comm	_WPS_PBC_WALK_TIME,4,2          ; @WPS_PBC_WALK_TIME
	.comm	_wpas_wps_timeout,4,2           ; @wpas_wps_timeout
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
.subsections_via_symbols
