	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mrb_str_pool                   ## -- Begin function mrb_str_pool
	.p2align	4, 0x90
_mrb_str_pool:                          ## @mrb_str_pool
	.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
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_mrb_str_ptr
	movq	%rax, %r14
	movl	$48, %esi
	movq	%r15, %rdi
	callq	_mrb_malloc
	movq	%rax, %rbx
	movq	_MRB_TT_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movl	(%r15), %eax
	movl	%eax, 40(%rbx)
	movq	%r14, %rdi
	callq	_RSTR_NOFREE_P
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MRB_STR_NOFREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	8(%r14), %rax
	movq	%rax, 8(%rbx)
	movq	16(%r14), %rax
	movq	%rax, 16(%rbx)
	movq	$0, 24(%rbx)
	jmp	LBB0_12
LBB0_2:
	movq	$0, 32(%rbx)
	movq	%r14, %rdi
	callq	_RSTR_EMBED_P
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%r14), %r12
	movq	%r14, %rdi
	callq	_RSTR_EMBED_LEN
	movq	%rax, %r14
	jmp	LBB0_5
LBB0_4:
	movq	8(%r14), %r12
	movq	16(%r14), %r14
LBB0_5:
	movq	_RSTRING_EMBED_LEN_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jae	LBB0_9
## %bb.6:
	movq	%rbx, %rdi
	callq	_RSTR_SET_EMBED_FLAG
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_RSTR_SET_EMBED_LEN
	testq	%r12, %r12
	je	LBB0_8
## %bb.7:
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_memcpy
LBB0_8:
	movq	(%rbx), %rax
	jmp	LBB0_11
LBB0_9:
	leaq	1(%r14), %rsi
	movq	%r15, %rdi
	callq	_mrb_malloc
	movq	%rax, 8(%rbx)
	movq	%r14, 16(%rbx)
	movq	%r14, 24(%rbx)
	testq	%r12, %r12
	je	LBB0_11
## %bb.10:
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	movq	8(%rbx), %rax
LBB0_11:
	movb	$0, (%rax,%r14)
LBB0_12:
	movq	%rbx, %rdi
	callq	_RSTR_SET_POOL_FLAG
	movq	%rbx, %rdi
	callq	_MRB_SET_FROZEN_FLAG
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mrb_obj_value                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MRB_TT_STRING,4,2              ## @MRB_TT_STRING
	.comm	_MRB_STR_NOFREE,8,3             ## @MRB_STR_NOFREE
	.comm	_RSTRING_EMBED_LEN_MAX,8,3      ## @RSTRING_EMBED_LEN_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mrb_str_pool                   ; -- Begin function mrb_str_pool
	.p2align	2
_mrb_str_pool:                          ; @mrb_str_pool
	.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	x21, x0
	mov	x0, x1
	bl	_mrb_str_ptr
	mov	x20, x0
	mov	x0, x21
	mov	w1, #48
	bl	_mrb_malloc
	mov	x19, x0
Lloh0:
	adrp	x8, _MRB_TT_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MRB_TT_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x21]
	stp	w9, w8, [x0, #40]
	mov	x0, x20
	bl	_RSTR_NOFREE_P
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MRB_STR_NOFREE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MRB_STR_NOFREE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldp	x9, x10, [x20, #8]
	stp	x9, x10, [x19, #8]
	stp	xzr, x8, [x19, #24]
	b	LBB0_12
LBB0_2:
	str	xzr, [x19, #32]
	mov	x0, x20
	bl	_RSTR_EMBED_P
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x22, [x20]
	mov	x0, x20
	bl	_RSTR_EMBED_LEN
	mov	x20, x0
	b	LBB0_5
LBB0_4:
	ldp	x22, x20, [x20, #8]
LBB0_5:
Lloh6:
	adrp	x8, _RSTRING_EMBED_LEN_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RSTRING_EMBED_LEN_MAX@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x20, x8
	b.hs	LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_RSTR_SET_EMBED_FLAG
	mov	x0, x19
	mov	x1, x20
	bl	_RSTR_SET_EMBED_LEN
	cbz	x22, LBB0_8
; %bb.7:
	ldr	x0, [x19]
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
LBB0_8:
	ldr	x8, [x19]
	strb	wzr, [x8, x20]
	b	LBB0_12
LBB0_9:
	add	x1, x20, #1
	mov	x0, x21
	bl	_mrb_malloc
	stp	x0, x20, [x19, #8]
	str	x20, [x19, #24]
	cbz	x22, LBB0_11
; %bb.10:
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
	ldr	x0, [x19, #8]
LBB0_11:
	strb	wzr, [x0, x20]
LBB0_12:
	mov	x0, x19
	bl	_RSTR_SET_POOL_FLAG
	mov	x0, x19
	bl	_MRB_SET_FROZEN_FLAG
	mov	x0, x19
	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
	b	_mrb_obj_value
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MRB_TT_STRING,4,2              ; @MRB_TT_STRING
	.comm	_MRB_STR_NOFREE,8,3             ; @MRB_STR_NOFREE
	.comm	_RSTRING_EMBED_LEN_MAX,8,3      ; @RSTRING_EMBED_LEN_MAX
.subsections_via_symbols
