	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_aux_history_data
_alloc_aux_history_data:                ## @alloc_aux_history_data
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$65536, %esi                    ## imm = 0x10000
	setb	%dil
	callq	_assert
	leal	3(%rbx), %r15d
	movl	%r15d, %edi
	callq	_malloc
	movq	%rax, %r12
	leaq	2(%rax), %r13
	movw	%bx, (%rax)
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movslq	%ebx, %rax
	movb	$0, 2(%r12,%rax)
	movq	_alloc_history_strings@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_alloc_history_strings_size@GOTPCREL(%rip), %rax
	addl	%r15d, (%rax)
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_alloc_history_strings,4,2      ## @alloc_history_strings
	.comm	_alloc_history_strings_size,4,2 ## @alloc_history_strings_size
	.no_dead_strip	_alloc_aux_history_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_aux_history_data
_alloc_aux_history_data:                ; @alloc_aux_history_data
	.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, x1
	mov	x20, x0
	cmp	w1, #16, lsl #12                ; =65536
	cset	w0, lo
	bl	_assert
	add	w21, w19, #3
	mov	x0, x21
	bl	_malloc
	mov	x22, x0
	strh	w19, [x22], #2
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	strb	wzr, [x22, w19, sxtw]
Lloh0:
	adrp	x8, _alloc_history_strings@GOTPAGE
Lloh1:
	ldr	x8, [x8, _alloc_history_strings@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x8, _alloc_history_strings_size@GOTPAGE
Lloh3:
	ldr	x8, [x8, _alloc_history_strings_size@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w21
	str	w9, [x8]
	mov	x0, x22
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_alloc_history_strings,4,2      ; @alloc_history_strings
	.comm	_alloc_history_strings_size,4,2 ; @alloc_history_strings_size
	.no_dead_strip	_alloc_aux_history_data
.subsections_via_symbols
