	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function proc_SSID_on_close
_proc_SSID_on_close:                    ## @proc_SSID_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	callq	_PDE_DATA
	movslq	8(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_14
## %bb.1:
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r12
	movl	%r15d, %ebx
	addq	%r12, %r15
	movb	$10, (%r15)
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	testl	%ebx, %ebx
	jle	LBB0_13
## %bb.2:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	movb	(%r12), %al
	cmpb	$10, %al
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx
	movq	%r14, %r13
	shlq	$4, %r13
	movq	8(%rcx,%r13), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %eax
	leaq	1(%rdx), %rbx
	movl	%eax, (%rcx,%rdx,4)
	movzbl	1(%r12,%rdx), %eax
	cmpb	$10, %al
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpq	$31, %rdx
	movq	%rbx, %rdx
	jb	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_cpu_to_le16
	movq	-48(%rbp), %rcx
	movq	%rax, (%rcx,%r13)
	addq	%rbx, %r12
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$10, (%r12)
	leaq	1(%r12), %r12
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$1, %r14
	ja	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	cmpq	%r15, %r12
	jb	LBB0_3
	jmp	LBB0_12
LBB0_4:
	testl	%r14d, %r14d
	je	LBB0_13
LBB0_12:
	movl	$16, %edi
	callq	_cpu_to_le16
	movq	%rax, -56(%rbp)
LBB0_13:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_disable_MAC
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_writeSsidRid
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_enable_MAC
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_proc_SSID_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_SSID_on_close
_proc_SSID_on_close:                    ; @proc_SSID_on_close
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x21, [x1]
	bl	_PDE_DATA
	ldrsw	x20, [x21, #8]
	cbz	w20, LBB0_22
; %bb.1:
	ldr	x19, [x0]
	ldr	x23, [x21]
	add	x21, x23, x20
	mov	w8, #10
	strb	w8, [x21]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	cmp	w20, #1
	b.lt	LBB0_21
; %bb.2:
	ldrb	w22, [x23]
	cmp	w22, #10
	b.eq	LBB0_21
; %bb.3:
	mov	x20, #0
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #8]
	mov	x9, x22
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w9, w9
	add	x10, x23, x20
	str	w9, [x8, x20, lsl #2]
	ldrb	w9, [x10, #1]
	cmp	w9, #10
	ccmp	x20, #31, #2, ne
	add	x20, x20, #1
	b.lo	LBB0_4
; %bb.5:
	mov	x0, x20
	bl	_cpu_to_le16
	ldr	x8, [sp, #8]
	str	x0, [x8]
	add	x20, x23, x20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20], #1
	cmp	w8, #10
	b.ne	LBB0_6
; %bb.7:
	cmp	x20, x21
	b.hs	LBB0_20
; %bb.8:
	ldrb	w8, [x20]
	cmp	w8, #10
	b.eq	LBB0_15
; %bb.9:
	mov	x0, #0
	ldr	x9, [sp, #8]
	ldr	x9, [x9, #24]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w8, w8
	str	w8, [x9, x0, lsl #2]
	ldrb	w8, [x20, #1]!
	cmp	w8, #10
	ccmp	x0, #31, #2, ne
	add	x0, x0, #1
	b.lo	LBB0_10
; %bb.11:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_cpu_to_le16
	ldr	x8, [sp, #8]
	str	x0, [x8, #16]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20], #1
	cmp	w8, #10
	b.ne	LBB0_12
; %bb.13:
	cmp	x20, x21
	b.hs	LBB0_20
; %bb.14:
	ldrb	w8, [x20]
	cmp	w8, #10
	b.ne	LBB0_16
LBB0_15:
	cmp	w22, #10
	b.ne	LBB0_20
	b	LBB0_21
LBB0_16:
	mov	x0, #0
	ldr	x9, [sp, #8]
	ldr	x9, [x9, #40]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w8, w8
	str	w8, [x9, x0, lsl #2]
	ldrb	w8, [x20, #1]!
	cmp	w8, #10
	ccmp	x0, #31, #2, ne
	add	x0, x0, #1
	b.lo	LBB0_17
; %bb.18:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_cpu_to_le16
	ldr	x8, [sp, #8]
	str	x0, [x8, #32]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20], #1
	cmp	w8, #10
	b.ne	LBB0_19
LBB0_20:
	mov	w0, #16
	bl	_cpu_to_le16
	str	x0, [sp]
LBB0_21:
	mov	x0, x19
	mov	w1, #1
	bl	_disable_MAC
	mov	x1, sp
	mov	x0, x19
	mov	w2, #1
	bl	_writeSsidRid
	mov	x0, x19
	mov	w1, #1
	bl	_enable_MAC
LBB0_22:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_proc_SSID_on_close
.subsections_via_symbols
