	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unmap_switcher
_unmap_switcher:                        ## @unmap_switcher
	.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	_switcher_vma@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_vunmap
	movq	_TOTAL_SWITCHER_PAGES@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_switcher_page@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	xorl	%esi, %esi
	callq	___free_pages
	incq	%rbx
	movl	(%r14), %eax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	movq	_switcher_page@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_switcher_vma,8,3               ## @switcher_vma
	.comm	_TOTAL_SWITCHER_PAGES,4,2       ## @TOTAL_SWITCHER_PAGES
	.comm	_switcher_page,8,3              ## @switcher_page
	.no_dead_strip	_unmap_switcher
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unmap_switcher
_unmap_switcher:                        ; @unmap_switcher
	.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
Lloh0:
	adrp	x8, _switcher_vma@GOTPAGE
Lloh1:
	ldr	x8, [x8, _switcher_vma@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_vunmap
Lloh3:
	adrp	x19, _TOTAL_SWITCHER_PAGES@GOTPAGE
Lloh4:
	ldr	x19, [x19, _TOTAL_SWITCHER_PAGES@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh5:
	adrp	x20, _switcher_page@GOTPAGE
Lloh6:
	ldr	x20, [x20, _switcher_page@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x21, lsl #2]
	mov	w1, #0
	bl	___free_pages
	add	x21, x21, #1
	ldr	w8, [x19]
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_3:
	ldr	x0, [x20]
	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	_kfree
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_switcher_vma,8,3               ; @switcher_vma
	.comm	_TOTAL_SWITCHER_PAGES,4,2       ; @TOTAL_SWITCHER_PAGES
	.comm	_switcher_page,8,3              ; @switcher_page
	.no_dead_strip	_unmap_switcher
.subsections_via_symbols
