	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_str                        ## -- Begin function get_str
	.p2align	4, 0x90
_get_str:                               ## @get_str
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, %r15d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	leaq	-44(%rbp), %rdx
	callq	_get_field
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movl	-44(%rbp), %edi
	cmpl	%r15d, %edi
	jge	LBB0_3
## %bb.2:
	movl	16(%rbp), %ecx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_fprintf
	jmp	LBB0_6
LBB0_3:
	movq	%rax, %rbx
	incl	%edi
	callq	_malloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	-44(%rbp), %edx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	movq	(%r14), %rax
	movslq	-44(%rbp), %rcx
	movb	$0, (%rax,%rcx)
	xorl	%r13d, %r13d
LBB0_6:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%d too short %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"malloc()"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_str                        ; -- Begin function get_str
	.p2align	2
_get_str:                               ; @get_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x6
	mov	x22, x5
	mov	x24, x4
	mov	x21, x3
	mov	x19, x2
	add	x2, sp, #12
	bl	_get_field
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [sp, #12]
	cmp	w8, w24
	b.ge	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x20
	mov	x4, x21
	bl	_fprintf
LBB0_3:
	mov	w0, #1
	b	LBB0_6
LBB0_4:
	mov	x23, x0
	add	w0, w8, #1
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w2, [sp, #12]
	mov	x1, x23
	bl	_memcpy
	mov	w0, #0
	ldr	x8, [x19]
	ldrsw	x9, [sp, #12]
	strb	wzr, [x8, x9]
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	mov	w0, #1
	b	LBB0_6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%d too short %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"malloc()"

.subsections_via_symbols
