	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __arm_v7s_unmap
___arm_v7s_unmap:                       ## @__arm_v7s_unmap
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r15d
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ARM_V7S_CONT_PAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edi
	callq	_ARM_V7S_LVL_SHIFT
	movq	%r13, %rbx
	movl	%eax, %ecx
	shrq	%cl, %rbx
	xorl	%edi, %edi
	cmpl	$3, %r15d
	setge	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_27
## %bb.3:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	leaq	4(%r12), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	%r15d, %esi
	callq	_ARM_V7S_LVL_IDX
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	cltq
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r15
	cmpl	$2, %ebx
	movl	$1, %r13d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmovgel	%ebx, %r13d
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	callq	_READ_ONCE
	movl	%eax, (%r12,%rbx,4)
	movl	%eax, %edi
	callq	_ARM_V7S_PTE_IS_VALID
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_1
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_5
## %bb.7:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$1, %ebx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jg	LBB0_11
## %bb.8:
	movl	(%r12), %ebx
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_arm_v7s_pte_is_cont
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	-104(%rbp), %edx                ## 4-byte Reload
	movl	%r13d, %ecx
	movq	%r15, %r8
	callq	_arm_v7s_split_cont
	movl	%eax, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	movq	%r12, %rdi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
LBB0_10:
	movl	%ebx, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testl	%ebx, %ebx
	je	LBB0_21
LBB0_11:
	movl	%r13d, %edi
	callq	_ARM_V7S_BLOCK_SIZE
	movq	%rax, %r13
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	callq	___arm_v7s_set_pte
	testl	%ebx, %ebx
	jle	LBB0_20
## %bb.12:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movl	%ebx, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
	movl	-116(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %edi
	callq	_ARM_V7S_BLOCK_SIZE
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_io_pgtable_tlb_flush_walk
	movl	%ebx, %edi
	movl	%r12d, %esi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_iopte_deref
	movq	%rax, %rdi
	movl	%r13d, %esi
	movq	%r14, %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	___arm_v7s_free_table
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	addq	%r13, %r14
	incq	%r15
	cmpq	%r15, -104(%rbp)                ## 8-byte Folded Reload
	je	LBB0_20
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%r15,4), %ebx
	movl	%ebx, %edi
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_ARM_V7S_PTE_IS_TABLE
	testq	%rax, %rax
	jne	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_IO_PGTABLE_QUIRK_NON_STRICT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	testl	%eax, (%rdi)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%eax, %eax
	callq	_smp_wmb
	jmp	LBB0_14
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_io_pgtable_tlb_add_page
	jmp	LBB0_14
LBB0_20:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_2
LBB0_21:
	cmpl	$1, %r13d
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, %ebx
	jne	LBB0_23
## %bb.22:
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_ARM_V7S_PTE_IS_TABLE
	testq	%rax, %rax
	je	LBB0_25
LBB0_23:
	movl	%ebx, %edi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_iopte_deref
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_27
## %bb.24:
	incl	%ebx
	movq	%r15, %rdi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movl	%ebx, %r8d
	movq	%rax, %r9
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___arm_v7s_unmap                ## TAILCALL
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_27
## %bb.26:
	movq	%r14, %rdx
	movq	%r12, %rcx
	movl	%ebx, %r8d
	movq	%r15, %r9
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_arm_v7s_split_blk_unmap        ## TAILCALL
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ARM_V7S_CONT_PAGES,4,2         ## @ARM_V7S_CONT_PAGES
	.comm	_IO_PGTABLE_QUIRK_NON_STRICT,4,2 ## @IO_PGTABLE_QUIRK_NON_STRICT
	.no_dead_strip	___arm_v7s_unmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __arm_v7s_unmap
___arm_v7s_unmap:                       ; @__arm_v7s_unmap
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x25, x5
	mov	x23, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _ARM_V7S_CONT_PAGES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARM_V7S_CONT_PAGES@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x28, x9, x8
	mov	sp, x28
	mov	x0, x4
	bl	_ARM_V7S_LVL_SHIFT
	mov	x26, x0
	cmp	w23, #2
	cset	w0, gt
	bl	_WARN_ON
	cbz	x0, LBB0_4
LBB0_1:
	mov	x19, #0
LBB0_2:
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.3:
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	stur	x21, [x29, #-96]                ; 8-byte Folded Spill
	add	x24, x22, #4
	lsr	x26, x19, x26
	mov	x0, x20
	mov	x1, x23
	bl	_ARM_V7S_LVL_IDX
	mov	x21, #0
	stur	w0, [x29, #-100]                ; 4-byte Folded Spill
	add	x25, x25, w0, sxtw #2
	cmp	w26, #1
	csinc	w8, w26, wzr, gt
	lsl	x27, x8, #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25, x21]
	bl	_READ_ONCE
	str	w0, [x28, x21]
	bl	_ARM_V7S_PTE_IS_VALID
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #4
	cmp	x27, x21
	b.ne	LBB0_5
; %bb.7:
	cmp	w26, #1
	b.gt	LBB0_11
; %bb.8:
	ldr	w21, [x28]
	mov	x0, x21
	mov	x1, x23
	bl	_arm_v7s_pte_is_cont
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x22
	bl	_spin_lock_irqsave
	mov	x0, x22
	mov	x1, x20
	ldur	w2, [x29, #-100]                ; 4-byte Folded Reload
	mov	x3, x23
	mov	x4, x25
	bl	_arm_v7s_split_cont
	mov	x21, x0
	str	w0, [x28]
	mov	x0, x22
	bl	_spin_unlock_irqrestore
LBB0_10:
	cbz	w26, LBB0_19
LBB0_11:
	mov	x0, x23
	bl	_ARM_V7S_BLOCK_SIZE
	mov	x27, x0
	mov	x0, x25
	mov	w1, #0
	mov	x2, x26
	mov	x3, x24
	bl	___arm_v7s_set_pte
	cmp	w26, #1
	b.lt	LBB0_2
; %bb.12:
	add	w25, w23, #1
	and	x21, x26, #0xffffffff
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x25
	bl	_ARM_V7S_BLOCK_SIZE
	mov	x3, x0
	mov	x0, x24
	mov	x1, x20
	mov	x2, x27
	bl	_io_pgtable_tlb_flush_walk
	mov	x0, x26
	mov	x1, x23
	mov	x2, x22
	bl	_iopte_deref
	mov	x1, x25
	mov	x2, x22
	bl	___arm_v7s_free_table
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x20, x20, x27
	add	x28, x28, #4
	subs	x21, x21, #1
	b.eq	LBB0_2
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w26, [x28]
	mov	x0, x26
	mov	x1, x23
	bl	_ARM_V7S_PTE_IS_TABLE
	cbnz	x0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w8, [x24]
Lloh11:
	adrp	x9, _IO_PGTABLE_QUIRK_NON_STRICT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IO_PGTABLE_QUIRK_NON_STRICT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	bl	_smp_wmb
	b	LBB0_14
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x24
	ldur	x1, [x29, #-96]                 ; 8-byte Folded Reload
	mov	x2, x20
	mov	x3, x27
	bl	_io_pgtable_tlb_add_page
	b	LBB0_14
LBB0_19:
	cmp	w23, #1
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x21
	mov	w1, #1
	bl	_ARM_V7S_PTE_IS_TABLE
	cbz	x0, LBB0_23
LBB0_21:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_iopte_deref
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	ldur	x1, [x29, #-96]                 ; 8-byte Folded Reload
	b.ne	LBB0_25
; %bb.22:
	mov	x5, x0
	add	w4, w23, #1
	mov	x0, x22
	mov	x2, x20
	mov	x3, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	___arm_v7s_unmap
LBB0_23:
	ldur	x8, [x29, #-88]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	ldur	x1, [x29, #-96]                 ; 8-byte Folded Reload
	b.ne	LBB0_25
; %bb.24:
	mov	x0, x22
	mov	x2, x20
	mov	x3, x19
	mov	x4, x21
	mov	x5, x25
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_arm_v7s_split_blk_unmap
LBB0_25:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM_V7S_CONT_PAGES,4,2         ; @ARM_V7S_CONT_PAGES
	.comm	_IO_PGTABLE_QUIRK_NON_STRICT,4,2 ; @IO_PGTABLE_QUIRK_NON_STRICT
	.no_dead_strip	___arm_v7s_unmap
.subsections_via_symbols
