	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmz_unmap_zone                 ## -- Begin function dmz_unmap_zone
	.p2align	4, 0x90
_dmz_unmap_zone:                        ## @dmz_unmap_zone
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %r14d
	movq	_DMZ_MAP_UNMAPPED@GOTPCREL(%rip), %r12
	cmpl	(%r12), %r14d
	jne	LBB0_1
## %bb.7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_DMZ_BUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rsi
	callq	_test_and_clear_bit
	movq	8(%rbx), %rsi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_dmz_id
	movl	%eax, %edx
	movq	8(%rbx), %rax
	movq	$0, (%rax)
	movq	$0, 8(%rbx)
	movl	(%r12), %ecx
	jmp	LBB0_6
LBB0_3:
	movq	%rsi, %rdi
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	8(%rbx), %rax
	movq	$0, (%rax)
	movq	$0, 8(%rbx)
LBB0_5:
	movl	(%r12), %ecx
	movl	%ecx, %edx
LBB0_6:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_dmz_set_chunk_mapping
	movl	(%r12), %eax
	movl	%eax, (%rbx)
	addq	$4, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_list_del_init                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMZ_MAP_UNMAPPED,4,2           ## @DMZ_MAP_UNMAPPED
	.comm	_DMZ_BUF,4,2                    ## @DMZ_BUF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dmz_unmap_zone                 ; -- Begin function dmz_unmap_zone
	.p2align	2
_dmz_unmap_zone:                        ; @dmz_unmap_zone
	.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
	ldr	w20, [x1]
Lloh0:
	adrp	x22, _DMZ_MAP_UNMAPPED@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DMZ_MAP_UNMAPPED@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w20, w8
	b.ne	LBB0_2
; %bb.1:
	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
	ret
LBB0_2:
	mov	x19, x1
	mov	x21, x0
Lloh2:
	adrp	x8, _DMZ_BUF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DMZ_BUF@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x1, #16
	bl	_test_and_clear_bit
	ldr	x1, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_dmz_id
	mov	x2, x0
	ldr	x8, [x19, #8]
	str	xzr, [x8]
	str	xzr, [x19, #8]
	ldr	w3, [x22]
	b	LBB0_7
LBB0_4:
	mov	x0, x1
	bl	_WARN_ON
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x19, #8]
	str	xzr, [x8]
	str	xzr, [x19, #8]
LBB0_6:
	ldr	w3, [x22]
	mov	x2, x3
LBB0_7:
	mov	x0, x21
	mov	x1, x20
	bl	_dmz_set_chunk_mapping
	ldr	w8, [x22]
	str	w8, [x19], #4
	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	_list_del_init
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DMZ_MAP_UNMAPPED,4,2           ; @DMZ_MAP_UNMAPPED
	.comm	_DMZ_BUF,4,2                    ; @DMZ_BUF
.subsections_via_symbols
