	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function proc_APList_on_close
_proc_APList_on_close:                  ## @proc_APList_on_close
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %r14
	callq	_PDE_DATA
	cmpl	$0, (%r14)
	je	LBB0_7
## %bb.1:
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	$16, %edi
	callq	_cpu_to_le16
	movl	%eax, 8(%rbx)
	cmpl	$18, (%r14)
	jl	LBB0_6
## %bb.2:
	movq	8(%r14), %rdi
	movq	(%rbx), %rax
	movl	(%rax), %esi
	callq	_mac_pton
	cmpl	$36, (%r14)
	jl	LBB0_6
## %bb.3:
	movq	8(%r14), %rdi
	addq	$18, %rdi
	movq	(%rbx), %rax
	movl	4(%rax), %esi
	callq	_mac_pton
	cmpl	$54, (%r14)
	jl	LBB0_6
## %bb.4:
	movq	8(%r14), %rdi
	addq	$36, %rdi
	movq	(%rbx), %rax
	movl	8(%rax), %esi
	callq	_mac_pton
	cmpl	$72, (%r14)
	jl	LBB0_6
## %bb.5:
	movq	8(%r14), %rdi
	addq	$54, %rdi
	movq	(%rbx), %rax
	movl	12(%rax), %esi
	callq	_mac_pton
LBB0_6:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_disable_MAC
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_writeAPListRid
	movq	%rbx, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_enable_MAC                     ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_proc_APList_on_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function proc_APList_on_close
_proc_APList_on_close:                  ; @proc_APList_on_close
	.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
	ldr	x20, [x1]
	bl	_PDE_DATA
	ldr	w8, [x20]
	cbz	w8, LBB0_7
; %bb.1:
	ldr	x19, [x0]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	w0, #16
	bl	_cpu_to_le16
	str	w0, [x19, #8]
	ldr	w8, [x20]
	cmp	w8, #18
	b.lt	LBB0_6
; %bb.2:
	ldr	x0, [x20, #8]
	ldr	x8, [x19]
	ldr	w1, [x8]
	bl	_mac_pton
	ldr	w8, [x20]
	cmp	w8, #36
	b.lt	LBB0_6
; %bb.3:
	ldr	x8, [x20, #8]
	add	x0, x8, #18
	ldr	x8, [x19]
	ldr	w1, [x8, #4]
	bl	_mac_pton
	ldr	w8, [x20]
	cmp	w8, #54
	b.lt	LBB0_6
; %bb.4:
	ldr	x8, [x20, #8]
	add	x0, x8, #36
	ldr	x8, [x19]
	ldr	w1, [x8, #8]
	bl	_mac_pton
	ldr	w8, [x20]
	cmp	w8, #72
	b.lt	LBB0_6
; %bb.5:
	ldr	x8, [x20, #8]
	add	x0, x8, #54
	ldr	x8, [x19]
	ldr	w1, [x8, #12]
	bl	_mac_pton
LBB0_6:
	mov	x0, x19
	mov	w1, #1
	bl	_disable_MAC
	mov	x0, x19
	mov	x1, x19
	mov	w2, #1
	bl	_writeAPListRid
	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	_enable_MAC
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_proc_APList_on_close
.subsections_via_symbols
