	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmz_to_next_set_block
_dmz_to_next_set_block:                 ## @dmz_to_next_set_block
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	leal	(%r14,%r15), %eax
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	seta	%dil
	callq	_WARN_ON
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	je	LBB0_7
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_dmz_get_bitmap
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_DMZ_BLOCK_MASK_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	%r15d, %r13d
	movq	_DMZ_BLOCK_SIZE_BITS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	subl	%r13d, %esi
	movl	%r14d, %edi
	callq	_min
	movl	(%rbx), %esi
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_find_next_bit
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_find_next_zero_bit
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_dmz_release_mblock
	movl	%r14d, %eax
	subl	%r13d, %eax
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	addl	%eax, %ebx
	movq	_DMZ_BLOCK_SIZE_BITS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jb	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, %r15d
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	subl	%eax, %r14d
	jne	LBB0_1
LBB0_7:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r12, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMZ_BLOCK_MASK_BITS,4,2        ## @DMZ_BLOCK_MASK_BITS
	.comm	_DMZ_BLOCK_SIZE_BITS,4,2        ## @DMZ_BLOCK_SIZE_BITS
	.no_dead_strip	_dmz_to_next_set_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmz_to_next_set_block
_dmz_to_next_set_block:                 ; @dmz_to_next_set_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	w4, [sp, #12]                   ; 4-byte Folded Spill
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	add	w9, w3, w2
	cmp	w9, w8
	cset	w0, hi
	bl	_WARN_ON
	mov	w24, #0
	cbz	w20, LBB0_8
; %bb.1:
Lloh0:
	adrp	x19, _DMZ_BLOCK_SIZE_BITS@GOTPAGE
Lloh1:
	ldr	x19, [x19, _DMZ_BLOCK_SIZE_BITS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_dmz_get_bitmap
	mov	x25, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x28, [x25]
Lloh2:
	adrp	x8, _DMZ_BLOCK_MASK_BITS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DMZ_BLOCK_MASK_BITS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w27, w8, w21
	ldr	w8, [x19]
	sub	w1, w8, w27
	mov	x0, x20
	bl	_min
	mov	x26, x0
	ldr	w1, [x19]
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
	mov	x2, x27
	bl	_find_next_bit
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x28
	mov	x2, x27
	bl	_find_next_zero_bit
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, x0
	mov	x0, x23
	mov	x1, x25
	bl	_dmz_release_mblock
	sub	w8, w28, w27
	add	w24, w8, w24
	ldr	w8, [x19]
	cmp	w28, w8
	b.lo	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w21, w26, w21
	subs	w20, w20, w26
	b.ne	LBB0_2
LBB0_8:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_9:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_PTR_ERR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DMZ_BLOCK_MASK_BITS,4,2        ; @DMZ_BLOCK_MASK_BITS
	.comm	_DMZ_BLOCK_SIZE_BITS,4,2        ; @DMZ_BLOCK_SIZE_BITS
	.no_dead_strip	_dmz_to_next_set_block
.subsections_via_symbols
