	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bitmap_free_range
_bitmap_free_range:                     ## @bitmap_free_range
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r12
	movl	(%rdi), %r15d
	decl	%r15d
	andl	%esi, %r15d
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movl	%r15d, %ebx
	movl	%r14d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	20(%r12), %esi
	movl	%ebx, %edi
	callq	_mlx5_clear_bit
	incl	%ebx
	decl	%r13d
	jne	LBB0_2
LBB0_3:
	movl	16(%r12), %edi
	movl	%r15d, %esi
	callq	_min
	movl	%eax, 16(%r12)
	movl	(%r12), %eax
	addl	4(%r12), %eax
	andl	8(%r12), %eax
	movl	%eax, 4(%r12)
	addl	%r14d, 12(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bitmap_free_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bitmap_free_range
_bitmap_free_range:                     ; @bitmap_free_range
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x0
	ldr	w8, [x0]
	sub	w8, w8, #1
	and	w21, w8, w1
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, x21
	mov	x23, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20, #20]
	mov	x0, x22
	bl	_mlx5_clear_bit
	add	w22, w22, #1
	subs	w23, w23, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	w0, [x20, #16]
	mov	x1, x21
	bl	_min
	ldp	w9, w8, [x20]
	ldp	w10, w11, [x20, #8]
	add	w8, w9, w8
	and	w8, w8, w10
	str	w8, [x20, #4]
	add	w8, w11, w19
	stp	w8, w0, [x20, #12]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bitmap_free_range
.subsections_via_symbols
