	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bms_add_range                  ## -- Begin function bms_add_range
	.p2align	4, 0x90
_bms_add_range:                         ## @bms_add_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
	movq	%rdi, %rbx
	cmpl	%esi, %edx
	jl	LBB0_13
## %bb.1:
	movl	%edx, %r15d
	movl	%esi, %r12d
	testl	%esi, %esi
	jns	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_3:
	movl	%r15d, %edi
	callq	_WORDNUM
	movl	%eax, %r14d
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	movslq	(%rbx), %r13
	cmpl	%r13d, %r14d
	jl	LBB0_8
## %bb.6:
	leal	1(%r14), %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_BITMAPSET_SIZE
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_repalloc
	movq	%rax, %rbx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movq	8(%rbx), %rax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rax,%r13,4)
	incq	%r13
	movslq	(%rbx), %rcx
	cmpq	%rcx, %r13
	jl	LBB0_7
	jmp	LBB0_8
LBB0_4:
	leal	1(%r14), %r13d
	movl	%r13d, %edi
	callq	_BITMAPSET_SIZE
	movl	%eax, %edi
	callq	_palloc0
	movq	%rax, %rbx
	movl	%r13d, (%rax)
LBB0_8:
	movl	%r12d, %edi
	callq	_WORDNUM
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	_BITNUM
	movl	%eax, %r12d
	movl	%r15d, %edi
	callq	_BITNUM
	movl	$-1, %eax
	movl	%r12d, %ecx
	shll	%cl, %eax
	movq	8(%rbx), %r15
	cmpl	%r14d, %r13d
	jne	LBB0_10
## %bb.9:
	movslq	%r14d, %rcx
	orl	%eax, (%r15,%rcx,4)
	jmp	LBB0_13
LBB0_10:
	movslq	%r13d, %rcx
	orl	%eax, (%r15,%rcx,4)
	leal	1(%r13), %eax
	cmpl	%r14d, %eax
	jge	LBB0_12
## %bb.11:
	cltq
	leaq	(%r15,%rax,4), %rdi
	movl	%r14d, %eax
	subl	%r13d, %eax
	addl	$-2, %eax
	leaq	4(,%rax,4), %rdx
	movl	$255, %esi
	callq	_memset
LBB0_12:
	movslq	%r14d, %rax
	movl	$-1, (%r15,%rax,4)
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"negative bitmapset member not allowed"

	.comm	_BITS_PER_BITMAPWORD,4,2        ## @BITS_PER_BITMAPWORD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bms_add_range                  ; -- Begin function bms_add_range
	.p2align	2
_bms_add_range:                         ; @bms_add_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, x0
	cmp	w2, w1
	b.lt	LBB0_13
; %bb.1:
	mov	x21, x2
	mov	x22, x1
	tbz	w1, #31, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_3:
	mov	x0, x21
	bl	_WORDNUM
	mov	x20, x0
	cbz	x19, LBB0_7
; %bb.4:
	ldrsw	x24, [x19]
	cmp	w20, w24
	b.lt	LBB0_8
; %bb.5:
	add	w23, w20, #1
	mov	x0, x23
	bl	_BITMAPSET_SIZE
	mov	x1, x0
	mov	x0, x19
	bl	_repalloc
	mov	x19, x0
	str	w23, [x0]
	ldr	x8, [x0, #8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [x8, x24, lsl #2]
	add	x24, x24, #1
	ldrsw	x9, [x19]
	cmp	x24, x9
	b.lt	LBB0_6
	b	LBB0_8
LBB0_7:
	add	w23, w20, #1
	mov	x0, x23
	bl	_BITMAPSET_SIZE
	bl	_palloc0
	mov	x19, x0
	str	w23, [x0]
LBB0_8:
	mov	x0, x22
	bl	_WORDNUM
	mov	x23, x0
	mov	x0, x22
	bl	_BITNUM
	mov	x22, x0
	mov	x0, x21
	bl	_BITNUM
	mov	w8, #-1
	lsl	w8, w8, w22
	ldr	x21, [x19, #8]
	cmp	w23, w20
	b.ne	LBB0_10
; %bb.9:
	sbfiz	x9, x20, #2, #32
	ldr	w10, [x21, x9]
	orr	w8, w10, w8
	str	w8, [x21, x9]
	b	LBB0_13
LBB0_10:
	sbfiz	x9, x23, #2, #32
	ldr	w10, [x21, x9]
	orr	w8, w10, w8
	str	w8, [x21, x9]
	add	w8, w23, #1
	cmp	w8, w20
	b.ge	LBB0_12
; %bb.11:
	add	x0, x21, w8, sxtw #2
	sub	w8, w20, w23
	sub	w8, w8, #2
	lsl	x8, x8, #2
	add	x2, x8, #4
	mov	w1, #255
	bl	_memset
LBB0_12:
	mov	w8, #-1
	str	w8, [x21, w20, sxtw #2]
LBB0_13:
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"negative bitmapset member not allowed"

	.comm	_BITS_PER_BITMAPWORD,4,2        ; @BITS_PER_BITMAPWORD
.subsections_via_symbols
