	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_obsavestring                   ## -- Begin function obsavestring
	.p2align	4, 0x90
_obsavestring:                          ## @obsavestring
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	leal	1(%r14), %esi
	movq	%rdx, %rdi
	callq	_obstack_alloc
	movslq	%r14d, %r8
	testl	%r8d, %r8d
	je	LBB0_24
## %bb.1:
	cmpl	$8, %r14d
	jb	LBB0_2
## %bb.3:
	movq	%rax, %rcx
	movq	%rax, %rdx
	subq	%r15, %rdx
	movq	%r15, %rdi
	cmpq	$32, %rdx
	jb	LBB0_19
## %bb.4:
	cmpl	$32, %r14d
	jae	LBB0_9
## %bb.5:
	xorl	%esi, %esi
	jmp	LBB0_6
LBB0_2:
	movq	%r15, %rdi
	movq	%rax, %rcx
	jmp	LBB0_19
LBB0_9:
	movq	%r8, %rsi
	andq	$-32, %rsi
	leaq	-32(%rsi), %rdx
	movq	%rdx, %rdi
	shrq	$5, %rdi
	incq	%rdi
	movl	%edi, %r9d
	andl	$3, %r9d
	cmpq	$96, %rdx
	jae	LBB0_11
## %bb.10:
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_11:
	andq	$-4, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	(%r15,%rdx), %xmm0
	movups	16(%r15,%rdx), %xmm1
	movups	%xmm0, (%rax,%rdx)
	movups	%xmm1, 16(%rax,%rdx)
	movups	32(%r15,%rdx), %xmm0
	movups	48(%r15,%rdx), %xmm1
	movups	%xmm0, 32(%rax,%rdx)
	movups	%xmm1, 48(%rax,%rdx)
	movups	64(%r15,%rdx), %xmm0
	movups	80(%r15,%rdx), %xmm1
	movups	%xmm0, 64(%rax,%rdx)
	movups	%xmm1, 80(%rax,%rdx)
	movups	96(%r15,%rdx), %xmm0
	movups	112(%r15,%rdx), %xmm1
	movups	%xmm0, 96(%rax,%rdx)
	movups	%xmm1, 112(%rax,%rdx)
	subq	$-128, %rdx
	addq	$-4, %rdi
	jne	LBB0_12
LBB0_13:
	testq	%r9, %r9
	je	LBB0_16
## %bb.14:
	leaq	(%rcx,%rdx), %rdi
	addq	$16, %rdi
	addq	%r15, %rdx
	addq	$16, %rdx
	shlq	$5, %r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdx,%rbx), %xmm0
	movups	(%rdx,%rbx), %xmm1
	movups	%xmm0, -16(%rdi,%rbx)
	movups	%xmm1, (%rdi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_15
LBB0_16:
	cmpq	%r8, %rsi
	je	LBB0_24
## %bb.17:
	testb	$24, %r8b
	je	LBB0_18
LBB0_6:
	movq	%r8, %rdx
	andq	$-8, %rdx
	leaq	(%r15,%rdx), %rdi
	addq	%rdx, %rcx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rsi), %rbx
	movq	%rbx, (%rax,%rsi)
	addq	$8, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_7
## %bb.8:
	cmpq	%r8, %rdx
	jne	LBB0_19
	jmp	LBB0_24
LBB0_18:
	addq	%rsi, %rcx
	addq	%r15, %rsi
	movq	%rsi, %rdi
LBB0_19:
	addq	%r8, %r15
	movl	%r15d, %esi
	subl	%edi, %esi
	movq	%rdi, %rdx
	notq	%rdx
	addq	%r15, %rdx
	andq	$7, %rsi
	je	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %ebx
	incq	%rdi
	movb	%bl, (%rcx)
	incq	%rcx
	decq	%rsi
	jne	LBB0_20
LBB0_21:
	cmpq	$7, %rdx
	jb	LBB0_24
## %bb.22:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rdx), %ebx
	movb	%bl, (%rcx,%rdx)
	movzbl	1(%rdi,%rdx), %ebx
	movb	%bl, 1(%rcx,%rdx)
	movzbl	2(%rdi,%rdx), %ebx
	movb	%bl, 2(%rcx,%rdx)
	movzbl	3(%rdi,%rdx), %ebx
	movb	%bl, 3(%rcx,%rdx)
	movzbl	4(%rdi,%rdx), %ebx
	movb	%bl, 4(%rcx,%rdx)
	movzbl	5(%rdi,%rdx), %ebx
	movb	%bl, 5(%rcx,%rdx)
	movzbl	6(%rdi,%rdx), %ebx
	movb	%bl, 6(%rcx,%rdx)
	movzbl	7(%rdi,%rdx), %ebx
	movb	%bl, 7(%rcx,%rdx)
	leaq	(%rdi,%rdx), %rsi
	addq	$8, %rsi
	addq	$8, %rdx
	cmpq	%r15, %rsi
	jne	LBB0_23
LBB0_24:
	movb	$0, (%rax,%r8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_obsavestring                   ; -- Begin function obsavestring
	.p2align	2
_obsavestring:                          ; @obsavestring
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	add	w1, w1, #1
	mov	x0, x2
	bl	_obstack_alloc
	sxtw	x8, w20
	cbz	w20, LBB0_16
; %bb.1:
	cmp	w20, #8
	b.lo	LBB0_5
; %bb.2:
	sub	x11, x0, x19
	mov	x9, x19
	mov	x10, x0
	cmp	x11, #64
	b.lo	LBB0_14
; %bb.3:
	cmp	w20, #64
	b.hs	LBB0_6
; %bb.4:
	mov	x11, #0
	b	LBB0_10
LBB0_5:
	mov	x9, x19
	mov	x10, x0
	b	LBB0_14
LBB0_6:
	and	x11, x8, #0xffffffffffffffc0
	add	x9, x19, #32
	add	x10, x0, #32
	mov	x12, x11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x12, x12, #64
	b.ne	LBB0_7
; %bb.8:
	cmp	x11, x8
	b.eq	LBB0_16
; %bb.9:
	tst	x8, #0x38
	b.eq	LBB0_13
LBB0_10:
	and	x12, x8, #0xfffffffffffffff8
	add	x9, x19, x12
	add	x10, x0, x12
	add	x13, x0, x11
	add	x14, x19, x11
	sub	x11, x11, x12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x14], #8
	str	d0, [x13], #8
	adds	x11, x11, #8
	b.ne	LBB0_11
; %bb.12:
	cmp	x12, x8
	b.ne	LBB0_14
	b	LBB0_16
LBB0_13:
	add	x10, x0, x11
	add	x9, x19, x11
LBB0_14:
	add	x11, x19, x8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x9], #1
	strb	w12, [x10], #1
	cmp	x9, x11
	b.ne	LBB0_15
LBB0_16:
	strb	wzr, [x0, x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
