	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_attnums_array            ## -- Begin function build_attnums_array
	.p2align	4, 0x90
_build_attnums_array:                   ## @build_attnums_array
	.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	%rsi, %rbx
	movq	%rdi, %r15
	callq	_bms_num_members
	movl	%eax, %r12d
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movl	%r12d, (%rbx)
LBB0_2:
	leal	(,%r12,8), %edi
	callq	_palloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_bms_next_member
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movl	%eax, %ebx
	movslq	%r12d, %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_AttrNumberIsForUserDefinedAttr
	movl	%eax, %edi
	callq	_Assert
	xorl	%edi, %edi
	movq	_MaxAttrNumber@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	setle	%dil
	callq	_Assert
	movl	%ebx, %eax
	leaq	1(%r13), %r14
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r13,8)
	xorl	%edi, %edi
	cmpq	%r12, %r13
	setl	%dil
	callq	_Assert
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_bms_next_member
	movl	%eax, %ebx
	movq	%r14, %r13
	testl	%eax, %eax
	jns	LBB0_4
LBB0_5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MaxAttrNumber,4,2              ## @MaxAttrNumber
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_attnums_array            ; -- Begin function build_attnums_array
	.p2align	2
_build_attnums_array:                   ; @build_attnums_array
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_bms_num_members
	mov	x22, x0
	cbz	x20, LBB0_2
; %bb.1:
	str	w22, [x20]
LBB0_2:
	lsl	w0, w22, #3
	bl	_palloc
	mov	x20, x0
	mov	x0, x19
	mov	w1, #-1
	bl	_bms_next_member
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	x21, x0
	mov	x24, #0
	sxtw	x22, w22
Lloh0:
	adrp	x23, _MaxAttrNumber@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MaxAttrNumber@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_AttrNumberIsForUserDefinedAttr
	bl	_Assert
	ldr	w8, [x23]
	cmp	w21, w8
	cset	w0, le
	bl	_Assert
	mov	w8, w21
	add	x25, x24, #1
	str	x8, [x20, x24, lsl #3]
	cmp	x24, x22
	cset	w0, lt
	bl	_Assert
	mov	x0, x19
	mov	x1, x21
	bl	_bms_next_member
	mov	x21, x0
	mov	x24, x25
	tbz	w0, #31, LBB0_4
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MaxAttrNumber,4,2              ; @MaxAttrNumber
.subsections_via_symbols
