	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_deinit_wps             ## -- Begin function hostapd_deinit_wps
	.p2align	4, 0x90
_hostapd_deinit_wps:                    ## @hostapd_deinit_wps
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_hostapd_wps_reenable_ap_pin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movq	_hostapd_wps_ap_pin_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movq	_wps_reload_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	4(%rax), %edi
	callq	_wps_registrar_deinit
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_wps_free_pending_msgs
	movq	(%rbx), %rdi
	callq	_hostapd_free_wps
	movq	$0, (%rbx)
LBB0_2:
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_hostapd_wps_clear_ies          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hostapd_wps_reenable_ap_pin,4,2 ## @hostapd_wps_reenable_ap_pin
	.comm	_hostapd_wps_ap_pin_timeout,4,2 ## @hostapd_wps_ap_pin_timeout
	.comm	_wps_reload_config,4,2          ## @wps_reload_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_deinit_wps             ; -- Begin function hostapd_deinit_wps
	.p2align	2
_hostapd_deinit_wps:                    ; @hostapd_deinit_wps
	.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
Lloh0:
	adrp	x8, _hostapd_wps_reenable_ap_pin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hostapd_wps_reenable_ap_pin@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
Lloh3:
	adrp	x8, _hostapd_wps_ap_pin_timeout@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hostapd_wps_ap_pin_timeout@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
Lloh6:
	adrp	x8, _wps_reload_config@GOTPAGE
Lloh7:
	ldr	x8, [x8, _wps_reload_config@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x1, [x19, #8]
	mov	x2, #0
	bl	_eloop_cancel_timeout
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x8, #4]
	bl	_wps_registrar_deinit
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_wps_free_pending_msgs
	ldr	x0, [x19]
	bl	_hostapd_free_wps
	str	xzr, [x19]
LBB0_2:
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hostapd_wps_clear_ies
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_hostapd_wps_reenable_ap_pin,4,2 ; @hostapd_wps_reenable_ap_pin
	.comm	_hostapd_wps_ap_pin_timeout,4,2 ; @hostapd_wps_ap_pin_timeout
	.comm	_wps_reload_config,4,2          ; @wps_reload_config
.subsections_via_symbols
