	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_registrar_button_pushed    ## -- Begin function wps_registrar_button_pushed
	.p2align	4, 0x90
_wps_registrar_button_pushed:           ## @wps_registrar_button_pushed
	.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, %rbx
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	$0, 16(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movl	12(%rbx), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_os_memcpy
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_wps_registrar_add_authorized_mac
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_wps_registrar_selected_registrar_changed
	movl	8(%rbx), %edi
	callq	_wps_pbc_active_event
	movq	_wps_registrar_set_selected_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movq	_wps_registrar_pbc_timeout@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movq	_WPS_PBC_WALK_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	xorl	%esi, %esi
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_eloop_register_timeout
	jmp	LBB0_6
LBB0_1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wps_registrar_pbc_overlap
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	8(%rbx), %edi
	callq	_wps_pbc_overlap_event
	movl	$-2, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	$0, 16(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movl	12(%rbx), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_os_memset
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS: PBC overlap - do not start PBC mode"

L_.str.1:                               ## @.str.1
	.asciz	"WPS: Button pushed - PBC mode started"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.2:                               ## @.str.2
	.asciz	"\377\377\377\377\377\377"

	.comm	_wps_registrar_set_selected_timeout,4,2 ## @wps_registrar_set_selected_timeout
	.comm	_wps_registrar_pbc_timeout,4,2  ## @wps_registrar_pbc_timeout
	.comm	_WPS_PBC_WALK_TIME,4,2          ## @WPS_PBC_WALK_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_registrar_button_pushed    ; -- Begin function wps_registrar_button_pushed
	.p2align	2
_wps_registrar_button_pushed:           ; @wps_registrar_button_pushed
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbz	x1, LBB0_3
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	str	xzr, [x19, #16]
	movi.2s	v0, #1
	str	d0, [x19]
	ldr	w0, [x19, #12]
Lloh5:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_os_memcpy
LBB0_2:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_wps_registrar_add_authorized_mac
	mov	x0, x19
	mov	w1, #0
	bl	_wps_registrar_selected_registrar_changed
	ldr	w0, [x19, #8]
	bl	_wps_pbc_active_event
Lloh10:
	adrp	x8, _wps_registrar_set_selected_timeout@GOTPAGE
Lloh11:
	ldr	x8, [x8, _wps_registrar_set_selected_timeout@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
Lloh13:
	adrp	x20, _wps_registrar_pbc_timeout@GOTPAGE
Lloh14:
	ldr	x20, [x20, _wps_registrar_pbc_timeout@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
Lloh15:
	adrp	x8, _WPS_PBC_WALK_TIME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WPS_PBC_WALK_TIME@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w2, [x20]
	mov	w1, #0
	mov	x3, x19
	mov	x4, #0
	bl	_eloop_register_timeout
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	mov	x2, #0
	bl	_wps_registrar_pbc_overlap
	mov	x8, x0
Lloh18:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x9]
	cbz	x8, LBB0_6
; %bb.4:
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x19, #8]
	bl	_wps_pbc_overlap_event
	mov	w0, #-2
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	str	xzr, [x19, #16]
	movi.2s	v0, #1
	str	d0, [x19]
	ldr	w0, [x19, #12]
Lloh25:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_os_memset
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS: PBC overlap - do not start PBC mode"

l_.str.1:                               ; @.str.1
	.asciz	"WPS: Button pushed - PBC mode started"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.2:                               ; @.str.2
	.asciz	"\377\377\377\377\377\377"

	.comm	_wps_registrar_set_selected_timeout,4,2 ; @wps_registrar_set_selected_timeout
	.comm	_wps_registrar_pbc_timeout,4,2  ; @wps_registrar_pbc_timeout
	.comm	_WPS_PBC_WALK_TIME,4,2          ; @WPS_PBC_WALK_TIME
.subsections_via_symbols
