	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sb_build
_sb_build:                              ## @sb_build
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_sb_max_power_two@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%esi, (%rax)
	setg	%dil
	callq	_assert
	movq	_free_list@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movslq	%ebx, %rbx
	movq	(%rcx,%rbx,8), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	$1, %r12d
	movl	%ebx, %ecx
	shll	%cl, %r12d
	leal	16(%r12), %edi
	callq	_xmalloc
	movq	(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdx
	movq	%rdx, 8(%rax)
	movl	%r12d, (%rax)
	movq	%rax, (%rcx,%rbx,8)
	movq	_string_count@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	(%rcx,%rbx,4)
	movq	(%r15), %rcx
LBB0_2:
	movq	8(%rax), %rdx
	movq	%rdx, (%rcx,%rbx,8)
	movl	4(%rax), %ecx
	movl	%ecx, 24(%r14)
	movl	%ebx, (%r14)
	movq	$0, 16(%r14)
	movq	%rax, 8(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sb_max_power_two,4,2           ## @sb_max_power_two
	.comm	_free_list,8,3                  ## @free_list
	.comm	_string_count,8,3               ## @string_count
	.no_dead_strip	_sb_build
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sb_build
_sb_build:                              ; @sb_build
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _sb_max_power_two@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sb_max_power_two@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	cset	w0, gt
	bl	_assert
Lloh3:
	adrp	x22, _free_list@GOTPAGE
Lloh4:
	ldr	x22, [x22, _free_list@GOTPAGEOFF]
	ldr	x8, [x22]
	sxtw	x21, w20
	ldr	x0, [x8, w20, sxtw #3]
	cbnz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	lsl	w23, w8, w20
	add	w0, w23, #16
	bl	_xmalloc
	ldr	x8, [x22]
	lsl	x9, x21, #3
	ldr	x10, [x8, x9]
	str	x10, [x0, #8]
	str	w23, [x0]
	str	x0, [x8, x9]
Lloh5:
	adrp	x8, _string_count@GOTPAGE
Lloh6:
	ldr	x8, [x8, _string_count@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	lsl	x9, x21, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	ldr	x8, [x22]
LBB0_2:
	ldr	x9, [x0, #8]
	str	x9, [x8, x21, lsl #3]
	ldr	w8, [x0, #4]
	str	w8, [x19, #24]
	str	w20, [x19]
	stp	x0, xzr, [x19, #8]
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_sb_max_power_two,4,2           ; @sb_max_power_two
	.comm	_free_list,8,3                  ; @free_list
	.comm	_string_count,8,3               ; @string_count
	.no_dead_strip	_sb_build
.subsections_via_symbols
