	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_define_stringtable             ## -- Begin function define_stringtable
	.p2align	4, 0x90
_define_stringtable:                    ## @define_stringtable
	.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	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	%esi, %edx
	sarl	$4, %edx
	incl	%edx
	movq	_RT_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rdi), %r8d
	movq	_resources@GOTPCREL(%rip), %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_define_standard_resource
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_RES_TYPE_UNINITIALIZED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_RES_TYPE_STRINGTABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movl	$8, %edi
	callq	_res_alloc
	movq	%rax, 8(%r15)
	movq	(%rax), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movups	%xmm0, 16(%rax)
	movups	%xmm0, 32(%rax)
	movups	%xmm0, 48(%rax)
	movups	%xmm0, 64(%rax)
	movups	%xmm0, 80(%rax)
	movups	%xmm0, 96(%rax)
	movups	%xmm0, 112(%rax)
	movups	%xmm0, 128(%rax)
	movups	%xmm0, 144(%rax)
	movups	%xmm0, 160(%rax)
	movups	%xmm0, 176(%rax)
	movups	%xmm0, 192(%rax)
	movups	%xmm0, 208(%rax)
	movups	%xmm0, 224(%rax)
	movups	%xmm0, 240(%rax)
	movl	(%r12), %eax
	movl	%eax, 16(%r15)
LBB0_2:
	movq	%r14, %rdi
	callq	_unichar_len
	movq	8(%r15), %rcx
	movq	(%rcx), %rcx
	andl	$15, %ebx
	shlq	$4, %rbx
	movq	%rax, 8(%rcx,%rbx)
	movq	%r14, %rdi
	callq	_unichar_dup
	movq	8(%r15), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_resources,4,2                  ## @resources
	.comm	_RT_STRING,4,2                  ## @RT_STRING
	.comm	_RES_TYPE_UNINITIALIZED,8,3     ## @RES_TYPE_UNINITIALIZED
	.comm	_RES_TYPE_STRINGTABLE,8,3       ## @RES_TYPE_STRINGTABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_define_stringtable             ; -- Begin function define_stringtable
	.p2align	2
_define_stringtable:                    ; @define_stringtable
	.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, x2
	mov	x20, x1
	mov	x22, x0
	asr	w8, w1, #4
	add	w2, w8, #1
Lloh0:
	adrp	x8, _RT_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RT_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w4, [x0]
Lloh3:
	adrp	x0, _resources@GOTPAGE
Lloh4:
	ldr	x0, [x0, _resources@GOTPAGEOFF]
	mov	x3, #0
	mov	w5, #1
	bl	_define_standard_resource
	mov	x21, x0
	ldr	x8, [x0]
Lloh5:
	adrp	x9, _RES_TYPE_UNINITIALIZED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RES_TYPE_UNINITIALIZED@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _RES_TYPE_STRINGTABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RES_TYPE_STRINGTABLE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x21]
	mov	w0, #8
	bl	_res_alloc
	str	x0, [x21, #8]
	ldr	x8, [x0]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8, #224]
	stp	q0, q0, [x8, #192]
	stp	q0, q0, [x8, #160]
	stp	q0, q0, [x8, #128]
	stp	q0, q0, [x8, #96]
	stp	q0, q0, [x8, #64]
	stp	q0, q0, [x8, #32]
	stp	q0, q0, [x8]
	ldr	w8, [x22]
	str	w8, [x21, #16]
LBB0_2:
	mov	x0, x19
	bl	_unichar_len
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	and	w9, w20, #0xf
	lsl	x20, x9, #4
	add	x8, x8, x20
	str	x0, [x8, #8]
	mov	x0, x19
	bl	_unichar_dup
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	str	x0, [x8, x20]
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_resources,4,2                  ; @resources
	.comm	_RT_STRING,4,2                  ; @RT_STRING
	.comm	_RES_TYPE_UNINITIALIZED,8,3     ; @RES_TYPE_UNINITIALIZED
	.comm	_RES_TYPE_STRINGTABLE,8,3       ; @RES_TYPE_STRINGTABLE
.subsections_via_symbols
