	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function allocset
_allocset:                              ## @allocset
	.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, %r13
	movq	8(%rdi), %rax
	movslq	20(%rax), %r15
	leal	1(%r15), %ecx
	movl	%ecx, 20(%rax)
	movslq	16(%rax), %r14
	movl	(%rdi), %ebx
	cmpl	%ebx, %r15d
	jge	LBB0_1
LBB0_27:
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_33
## %bb.28:
	movq	(%rax), %r8
	testq	%r8, %r8
	je	LBB0_33
## %bb.29:
	leaq	(%r15,%r15,4), %rbx
	leaq	(%rdi,%rbx,8), %rsi
	movq	_CHAR_BIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r15, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_30
## %bb.31:
	movq	%r15, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %rcx
	jmp	LBB0_32
LBB0_1:
	movq	_CHAR_BIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addl	%ecx, %ebx
	movl	%ebx, (%r13)
	movslq	%ebx, %r12
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movabsq	$-3689348814741910323, %rdx     ## imm = 0xCCCCCCCCCCCCCCCD
	mulq	%rdx
	shrq	$5, %rdx
	cmpq	%r12, %rdx
	jb	LBB0_33
## %bb.2:
	movq	%r12, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_3
## %bb.4:
	movq	%r12, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_5
LBB0_3:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_5:
	xorl	%edi, %edi
	testq	%rdx, %rdx
	sete	%dil
	callq	_assert
	movq	_CHAR_BIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r12, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_6
## %bb.7:
	movq	%r12, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %rbx
	jmp	LBB0_8
LBB0_6:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %ebx
LBB0_8:
	movq	8(%r13), %rax
	movq	8(%rax), %rdi
	shlq	$3, %r12
	leaq	(%r12,%r12,4), %rsi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_33
## %bb.9:
	imulq	%r14, %rbx
	movq	8(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	(%rcx), %rdi
	movq	%rbx, %rsi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_33
## %bb.10:
	movq	%rax, %rdi
	movq	8(%r13), %rax
	movq	%rdi, (%rax)
	testl	%r15d, %r15d
	jle	LBB0_26
## %bb.11:
	movq	%rbx, %r11
	movl	%r15d, %r9d
	movq	_CHAR_BIT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	8(%rax), %r8
	cmpl	$1, %r9d
	jne	LBB0_13
## %bb.12:
	xorl	%ecx, %ecx
LBB0_21:
	testb	$1, %r9b
	movq	%r11, %rbx
	je	LBB0_26
## %bb.22:
	movq	%rcx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_23
## %bb.24:
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_25
LBB0_33:
	movq	8(%r13), %rax
	movq	8(%rax), %rdi
	callq	_free
	movq	8(%r13), %rax
	movq	$0, 8(%rax)
	movq	(%rax), %rdi
	callq	_free
	movq	8(%r13), %rax
	movq	$0, (%rax)
	movq	_REG_ESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SETERROR
	xorl	%esi, %esi
	jmp	LBB0_34
LBB0_30:
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_32:
	imulq	%r14, %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%r8,%rax,8), %rax
	movq	%rax, 32(%rdi,%rbx,8)
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %eax
	movl	%eax, (%rsi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rdi,%rbx,8)
	movq	$0, 24(%rdi,%rbx,8)
LBB0_34:
	movq	%rsi, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	%r9d, %r10d
	andl	$-2, %r10d
	leaq	72(%r8), %rbx
	xorl	%ecx, %ecx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	xorl	%edx, %edx
	divq	%rsi
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=1
	imulq	%r14, %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rdi,%rax,8), %rax
	movq	%rax, (%rbx)
	addq	$2, %rcx
	addq	$80, %rbx
	cmpq	%rcx, %r10
	je	LBB0_21
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	imulq	%r14, %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rdi,%rax,8), %rax
	movq	%rax, -40(%rbx)
	leaq	1(%rcx), %rax
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_20
LBB0_23:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_25:
	imulq	%r14, %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rdi,%rax,8), %rax
	leaq	(%rcx,%rcx,4), %rcx
	movq	%rax, 32(%r8,%rcx,8)
LBB0_26:
	subq	%r14, %rbx
	addq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_memset
	movq	8(%r13), %rax
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_CHAR_BIT,8,3                   ## @CHAR_BIT
	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
	.comm	_REG_ESPACE,4,2                 ## @REG_ESPACE
	.no_dead_strip	_allocset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function allocset
_allocset:                              ; @allocset
	.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	x19, x0
	ldr	x8, [x0, #8]
	ldp	w20, w23, [x8, #16]
                                        ; kill: def $w20 killed $w20 def $x20
	sxtw	x20, w20
	sxtw	x22, w23
	add	w9, w23, #1
	str	w9, [x8, #20]
	ldr	w9, [x0]
	cmp	w23, w9
	b.ge	LBB0_4
; %bb.1:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_16
LBB0_2:
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.3:
	mov	w10, #40
	madd	x0, x22, x10, x9
Lloh0:
	adrp	x9, _CHAR_BIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHAR_BIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	udiv	x11, x22, x9
	mul	x12, x11, x20
	msub	w9, w11, w9, w22
	mov	w11, #1
	lsl	w9, w11, w9
	str	w9, [x0]
	madd	x8, x12, x10, x8
	stp	xzr, x8, [x0, #24]
	stp	xzr, xzr, [x0, #8]
	b	LBB0_17
LBB0_4:
Lloh3:
	adrp	x24, _CHAR_BIT@GOTPAGE
Lloh4:
	ldr	x24, [x24, _CHAR_BIT@GOTPAGEOFF]
	ldr	x8, [x24]
	add	w9, w9, w8
	str	w9, [x19]
	sxtw	x21, w9
Lloh5:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh7:
	ldrsw	x9, [x9]
	mov	x10, #-3689348814741910324
	movk	x10, #52429
	umulh	x9, x9, x10
	cmp	x21, x9, lsr #5
	b.hi	LBB0_16
; %bb.5:
	udiv	x9, x21, x8
	msub	x8, x9, x8, x21
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x25, [x24]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
	add	x8, x21, x21, lsl #2
	lsl	x1, x8, #3
	bl	_realloc
	cbz	x0, LBB0_16
; %bb.6:
	udiv	x8, x21, x25
	mul	x21, x8, x20
	ldr	x8, [x19, #8]
	str	x0, [x8, #8]
	ldr	x0, [x8]
	mov	x1, x21
	bl	_realloc
	cbz	x0, LBB0_16
; %bb.7:
	ldr	x9, [x19, #8]
	str	x0, [x9]
	cmp	w22, #1
	b.lt	LBB0_15
; %bb.8:
	ldr	x8, [x24]
	ldr	x10, [x9, #8]
	cmp	w23, #4
	b.hs	LBB0_10
; %bb.9:
	mov	x9, #0
	b	LBB0_13
LBB0_10:
	mov	x11, #0
	and	x9, x23, #0xfffffffc
	add	x12, x10, #112
	mov	w13, #40
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x14, x11, #1
	add	x15, x11, #2
	add	x16, x11, #3
	udiv	x17, x11, x8
	udiv	x14, x14, x8
	udiv	x15, x15, x8
	mul	x17, x17, x20
	mul	x14, x14, x20
	mul	x15, x15, x20
	udiv	x16, x16, x8
	mul	x16, x16, x20
	madd	x17, x17, x13, x0
	madd	x14, x14, x13, x0
	madd	x15, x15, x13, x0
	madd	x16, x16, x13, x0
	stur	x17, [x12, #-80]
	stur	x14, [x12, #-40]
	str	x15, [x12]
	str	x16, [x12, #40]
	add	x11, x11, #4
	add	x12, x12, #160
	cmp	x9, x11
	b.ne	LBB0_11
; %bb.12:
	cmp	x9, x23
	b.eq	LBB0_15
LBB0_13:
	mov	w11, #40
	madd	x10, x9, x11, x10
	add	x10, x10, #32
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	udiv	x12, x9, x8
	mul	x12, x12, x20
	madd	x12, x12, x11, x0
	str	x12, [x10], #40
	add	x9, x9, #1
	cmp	x23, x9
	b.ne	LBB0_14
LBB0_15:
	sub	x8, x21, x20
	add	x0, x0, x8
	mov	w1, #0
	mov	x2, x20
	bl	_memset
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_2
LBB0_16:
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
	bl	_free
	ldr	x8, [x19, #8]
	str	xzr, [x8, #8]
	ldr	x0, [x8]
	bl	_free
	ldr	x8, [x19, #8]
	str	xzr, [x8]
Lloh8:
	adrp	x8, _REG_ESPACE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REG_ESPACE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_SETERROR
	mov	x0, #0
LBB0_17:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CHAR_BIT,8,3                   ; @CHAR_BIT
	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
	.comm	_REG_ESPACE,4,2                 ; @REG_ESPACE
	.no_dead_strip	_allocset
.subsections_via_symbols
