	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_string
_get_string:                            ## @get_string
	.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	%rdx, %r14
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %edi
	testl	%edi, %edi
	je	LBB0_2
## %bb.3:
	incl	%edi
	callq	_malloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%rax, %rdi
	callq	_memcpy
	movq	(%r14), %rax
	movslq	(%rbx), %rcx
	movb	$0, (%rax,%rcx)
	jmp	LBB0_6
LBB0_2:
	movq	$0, (%r14)
LBB0_6:
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	$0, (%r15)
	movq	_GSS_S_UNAVAILABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_UNAVAILABLE,8,3          ## @GSS_S_UNAVAILABLE
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.no_dead_strip	_get_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_string
_get_string:                            ; @get_string
	.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
	cbz	x1, LBB0_4
; %bb.1:
	mov	x20, x1
	ldr	w8, [x1]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x21, x0
	add	w0, w8, #1
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_7
; %bb.3:
	ldp	w2, w1, [x20]
	bl	_memcpy
	ldr	x8, [x19]
	ldrsw	x9, [x20]
	strb	wzr, [x8, x9]
	b	LBB0_5
LBB0_4:
	str	xzr, [x19]
LBB0_5:
Lloh0:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
LBB0_6:
	ldr	x0, [x8]
	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
LBB0_7:
	str	xzr, [x21]
Lloh2:
	adrp	x8, _GSS_S_UNAVAILABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSS_S_UNAVAILABLE@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_UNAVAILABLE,8,3          ; @GSS_S_UNAVAILABLE
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.no_dead_strip	_get_string
.subsections_via_symbols
