	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_priv_interface_deinit
_wpa_priv_interface_deinit:             ## @wpa_priv_interface_deinit
	.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, %r15
	movq	56(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	48(%r15), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	callq	*%rax
LBB0_3:
	movq	40(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	movq	48(%r15), %rax
	callq	*(%rax)
LBB0_5:
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	js	LBB0_7
## %bb.6:
	callq	_eloop_unregister_read_sock
	movq	(%r15), %rdi
	callq	_close
	movq	8(%r15), %rdi
	callq	_unlink
LBB0_7:
	movq	_WPA_PRIV_MAX_L2@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.8:
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_l2_packet_deinit
	movl	(%r14), %eax
	jmp	LBB0_11
LBB0_12:
	movq	24(%r15), %rdi
	callq	_os_free
	movq	16(%r15), %rdi
	callq	_os_free
	movq	8(%r15), %rdi
	callq	_os_free
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_os_free                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_PRIV_MAX_L2,4,2            ## @WPA_PRIV_MAX_L2
	.no_dead_strip	_wpa_priv_interface_deinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_priv_interface_deinit
_wpa_priv_interface_deinit:             ; @wpa_priv_interface_deinit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x0, [x0, #56]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x19, #48]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_3
; %bb.2:
	blr	x8
LBB0_3:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x19, #48]
	ldr	x8, [x8]
	blr	x8
LBB0_5:
	ldr	x0, [x19]
	tbnz	x0, #63, LBB0_7
; %bb.6:
	bl	_eloop_unregister_read_sock
	ldr	x0, [x19]
	bl	_close
	ldr	x0, [x19, #8]
	bl	_unlink
LBB0_7:
Lloh0:
	adrp	x20, _WPA_PRIV_MAX_L2@GOTPAGE
Lloh1:
	ldr	x20, [x20, _WPA_PRIV_MAX_L2@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.8:
	mov	x21, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #32]
	ldr	x0, [x9, x21, lsl #3]
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	bl	_l2_packet_deinit
	ldr	w8, [x20]
	b	LBB0_9
LBB0_12:
	ldr	x0, [x19, #24]
	bl	_os_free
	ldr	x0, [x19, #16]
	bl	_os_free
	ldr	x0, [x19, #8]
	bl	_os_free
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_os_free
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_PRIV_MAX_L2,4,2            ; @WPA_PRIV_MAX_L2
	.no_dead_strip	_wpa_priv_interface_deinit
.subsections_via_symbols
