	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_deinit_wpa             ## -- Begin function hostapd_deinit_wpa
	.p2align	4, 0x90
_hostapd_deinit_wpa:                    ## @hostapd_deinit_wpa
	.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
	callq	_ieee80211_tkip_countermeasures_deinit
	movq	%rbx, %rdi
	callq	_rsn_preauth_iface_deinit
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	callq	_wpa_deinit
	movq	$0, 24(%rbx)
	cmpq	$0, 16(%rbx)
	je	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_hostapd_set_privacy
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
LBB0_4:
	cmpq	$0, 16(%rbx)
	je	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_hostapd_set_generic_elem
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
LBB0_7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ieee802_1x_deinit              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not disable PrivacyInvoked for interface %s"

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

L_.str.2:                               ## @.str.2
	.asciz	"Could not remove generic information element from interface %s"

	.comm	_ELOOP_ALL_CTX,4,2              ## @ELOOP_ALL_CTX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_deinit_wpa             ; -- Begin function hostapd_deinit_wpa
	.p2align	2
_hostapd_deinit_wpa:                    ; @hostapd_deinit_wpa
	.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
	bl	_ieee80211_tkip_countermeasures_deinit
	mov	x0, x19
	bl	_rsn_preauth_iface_deinit
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_7
; %bb.1:
	bl	_wpa_deinit
	str	xzr, [x19, #24]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	bl	_hostapd_set_privacy
Lloh0:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x20]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
LBB0_4:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.5:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_hostapd_set_generic_elem
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x20]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ieee802_1x_deinit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not disable PrivacyInvoked for interface %s"

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

l_.str.2:                               ; @.str.2
	.asciz	"Could not remove generic information element from interface %s"

	.comm	_ELOOP_ALL_CTX,4,2              ; @ELOOP_ALL_CTX
.subsections_via_symbols
