	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_regset_alloc                ## -- Begin function dt_regset_alloc
	.p2align	4, 0x90
_dt_regset_alloc:                       ## @dt_regset_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %r8
	movq	8(%rdi), %rdi
	decq	%r8
	movq	_BT_ULSHIFT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r8, %rdx
	shrq	%cl, %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rax,8), %rsi
	cmpq	$-1, %rsi
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
	cmpq	%rdx, %rax
	jbe	LBB0_1
	jmp	LBB0_9
LBB0_3:
	cmpq	%rax, %rdx
	jne	LBB0_5
## %bb.4:
	movq	_BT_ULMASK@GOTPCREL(%rip), %rdx
	andq	(%rdx), %r8
	jmp	LBB0_6
LBB0_5:
	movq	_BT_NBIPUL@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %r8
	decq	%r8
LBB0_6:
	movl	$1, %edx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rdx
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	addq	%rdx, %rdx
	cmpq	%r8, %rbx
	jbe	LBB0_7
LBB0_9:
	movq	_D_NOREG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_xyerror
	movl	$-1, %ebx
	jmp	LBB0_10
LBB0_11:
                                        ## kill: def $cl killed $cl killed $rcx
	shlq	%cl, %rax
	orl	%eax, %ebx
	movl	%ebx, %esi
	callq	_BT_SET
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BT_ULSHIFT,8,3                 ## @BT_ULSHIFT
	.comm	_BT_ULMASK,8,3                  ## @BT_ULMASK
	.comm	_BT_NBIPUL,4,2                  ## @BT_NBIPUL
	.comm	_D_NOREG,4,2                    ## @D_NOREG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Insufficient registers to generate code"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_regset_alloc                ; -- Begin function dt_regset_alloc
	.p2align	2
_dt_regset_alloc:                       ; @dt_regset_alloc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, #0
	ldp	x9, x0, [x0]
	sub	x11, x9, #1
Lloh0:
	adrp	x9, _BT_ULSHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BT_ULSHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsr	x12, x11, x9
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x0, x8, lsl #3]
	cmn	x10, #1
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x8, #1
	cmp	x8, x12
	b.ls	LBB0_1
	b	LBB0_9
LBB0_3:
	cmp	x12, x8
	b.ne	LBB0_5
; %bb.4:
Lloh3:
	adrp	x12, _BT_ULMASK@GOTPAGE
Lloh4:
	ldr	x12, [x12, _BT_ULMASK@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x12]
	and	x11, x12, x11
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x11, _BT_NBIPUL@GOTPAGE
Lloh7:
	ldr	x11, [x11, _BT_NBIPUL@GOTPAGEOFF]
Lloh8:
	ldrsw	x11, [x11]
	sub	x11, x11, #1
LBB0_6:
	mov	x12, #0
	mov	w13, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	tst	x13, x10
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x12, x12, #1
	lsl	x13, x13, #1
	cmp	x12, x11
	b.ls	LBB0_7
LBB0_9:
Lloh9:
	adrp	x8, _D_NOREG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _D_NOREG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_xyerror
	mov	w19, #-1
	b	LBB0_11
LBB0_10:
	lsl	x8, x8, x9
	orr	w19, w12, w8
	mov	x1, x19
	bl	_BT_SET
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BT_ULSHIFT,8,3                 ; @BT_ULSHIFT
	.comm	_BT_ULMASK,8,3                  ; @BT_ULMASK
	.comm	_BT_NBIPUL,4,2                  ; @BT_NBIPUL
	.comm	_D_NOREG,4,2                    ; @D_NOREG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Insufficient registers to generate code"

.subsections_via_symbols
