	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_qty
_alloc_qty:                             ## @alloc_qty
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_next_qty@GOTPCREL(%rip), %r8
	movslq	(%r8), %rbx
	leal	1(%rbx), %eax
	movl	%eax, (%r8)
	movq	_reg_qty@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %r15
	movl	%ebx, (%rax,%r15,4)
	movq	_reg_offset@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax,%r15,8)
	movq	_reg_next_in_qty@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$-1, (%rax,%r15,4)
	movq	_qty@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	shlq	$3, %rbx
	leaq	(%rbx,%rbx,4), %rbx
	movl	%r15d, (%rax,%rbx)
	movl	%edx, 4(%rax,%rbx)
	movl	%esi, 8(%rax,%rbx)
	movl	%ecx, 12(%rax,%rbx)
	movl	%r15d, %edi
	callq	_REG_N_CALLS_CROSSED
	movq	(%r14), %rcx
	movl	%eax, 36(%rcx,%rbx)
	movl	%r15d, %edi
	callq	_REG_N_THROWING_CALLS_CROSSED
	movq	(%r14), %rcx
	movl	%eax, 32(%rcx,%rbx)
	movl	%r15d, %edi
	callq	_reg_preferred_class
	movq	(%r14), %rcx
	movl	%eax, 28(%rcx,%rbx)
	movl	%r15d, %edi
	callq	_reg_alternate_class
	movq	(%r14), %rcx
	movl	%eax, 24(%rcx,%rbx)
	movl	%r15d, %edi
	callq	_REG_N_REFS
	movq	(%r14), %rcx
	movl	%eax, 20(%rcx,%rbx)
	movl	%r15d, %edi
	callq	_REG_FREQ
	movq	(%r14), %rcx
	movl	%eax, 16(%rcx,%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_next_qty,4,2                   ## @next_qty
	.comm	_reg_qty,8,3                    ## @reg_qty
	.comm	_reg_offset,8,3                 ## @reg_offset
	.comm	_reg_next_in_qty,8,3            ## @reg_next_in_qty
	.comm	_qty,8,3                        ## @qty
	.no_dead_strip	_alloc_qty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_qty
_alloc_qty:                             ; @alloc_qty
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _next_qty@GOTPAGE
Lloh1:
	ldr	x8, [x8, _next_qty@GOTPAGEOFF]
	ldrsw	x9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
Lloh2:
	adrp	x8, _reg_qty@GOTPAGE
Lloh3:
	ldr	x8, [x8, _reg_qty@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	sbfiz	x10, x19, #2, #32
	str	w9, [x8, x10]
Lloh5:
	adrp	x8, _reg_offset@GOTPAGE
Lloh6:
	ldr	x8, [x8, _reg_offset@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	xzr, [x8, w0, sxtw #3]
Lloh8:
	adrp	x8, _reg_next_in_qty@GOTPAGE
Lloh9:
	ldr	x8, [x8, _reg_next_in_qty@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	mov	w11, #-1
	str	w11, [x8, x10]
Lloh11:
	adrp	x20, _qty@GOTPAGE
Lloh12:
	ldr	x20, [x20, _qty@GOTPAGEOFF]
	ldr	x8, [x20]
	add	x9, x9, x9, lsl #2
	lsl	x21, x9, #3
	add	x8, x8, x21
	stp	w0, w2, [x8]
	stp	w1, w3, [x8, #8]
	bl	_REG_N_CALLS_CROSSED
	ldr	x8, [x20]
	add	x8, x8, x21
	str	w0, [x8, #36]
	mov	x0, x19
	bl	_REG_N_THROWING_CALLS_CROSSED
	ldr	x8, [x20]
	add	x8, x8, x21
	str	w0, [x8, #32]
	mov	x0, x19
	bl	_reg_preferred_class
	ldr	x8, [x20]
	add	x8, x8, x21
	str	w0, [x8, #28]
	mov	x0, x19
	bl	_reg_alternate_class
	ldr	x8, [x20]
	add	x8, x8, x21
	str	w0, [x8, #24]
	mov	x0, x19
	bl	_REG_N_REFS
	ldr	x8, [x20]
	add	x8, x8, x21
	str	w0, [x8, #20]
	mov	x0, x19
	bl	_REG_FREQ
	ldr	x8, [x20]
	add	x8, x8, x21
	str	w0, [x8, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_next_qty,4,2                   ; @next_qty
	.comm	_reg_qty,8,3                    ; @reg_qty
	.comm	_reg_offset,8,3                 ; @reg_offset
	.comm	_reg_next_in_qty,8,3            ; @reg_next_in_qty
	.comm	_qty,8,3                        ; @qty
	.no_dead_strip	_alloc_qty
.subsections_via_symbols
