	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_dynstr
_init_dynstr:                           ## @init_dynstr
	.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
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.1:
	movq	40(%rdi), %r13
	testq	%r13, %r13
	je	LBB0_18
## %bb.2:
	movq	(%rdi), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	je	LBB0_18
## %bb.3:
	movl	52(%rdi), %r14d
	testl	%r14d, %r14d
	jle	LBB0_18
## %bb.4:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r15
	movq	_SHT_STRTAB@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	shlq	$5, %r14
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$32, %rbx
	cmpq	%rbx, %r14
	je	LBB0_17
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx), %rdi
	cmpq	%r15, %rdi
	ja	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r12, 8(%r13,%rbx)
	jne	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	-56(%rbp), %rdi                 ## 8-byte Folded Reload
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_16
## %bb.8:
	movq	16(%r13,%rbx), %rdi
	incq	%rdi
	movl	$1, %esi
	callq	_calloc
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	24(%r14), %rdx
	movq	40(%r14), %rcx
	movq	24(%rcx,%rbx), %rsi
	cmpq	%rdx, %rsi
	jg	LBB0_17
## %bb.11:
	testq	%rsi, %rsi
	js	LBB0_17
## %bb.12:
	movq	16(%rcx,%rbx), %rcx
	leaq	(%rcx,%rsi), %rdi
	cmpq	%rdx, %rdi
	jg	LBB0_17
## %bb.13:
	movl	48(%r14), %edi
	movq	%rax, %rdx
	callq	_r_buf_read_at
	testl	%eax, %eax
	jle	LBB0_14
## %bb.15:
	movq	40(%r14), %rax
	movq	16(%rax,%rbx), %rax
	movq	%rax, 32(%r14)
	movl	$1, %eax
	jmp	LBB0_18
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	callq	_bprintf
LBB0_17:
	xorl	%eax, %eax
LBB0_18:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	16(%r14), %rdi
	callq	_R_FREE
	movq	$0, 32(%r14)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_SHT_STRTAB,8,3                 ## @SHT_STRTAB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".dynstr"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot allocate memory for dynamic strings\n"

	.no_dead_strip	_init_dynstr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_dynstr
_init_dynstr:                           ; @init_dynstr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x0, LBB0_17
; %bb.1:
	mov	x19, x0
	ldr	x22, [x0, #40]
	cbz	x22, LBB0_16
; %bb.2:
	ldr	x23, [x19]
	cbz	x23, LBB0_16
; %bb.3:
	ldr	w8, [x19, #52]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.4:
	mov	x21, #0
	ldr	x24, [x19, #8]
Lloh0:
	adrp	x9, _SHT_STRTAB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SHT_STRTAB@GOTPAGEOFF]
Lloh2:
	ldr	x25, [x9]
	lsl	x26, x8, #5
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #32
	cmp	x26, x21
	b.eq	LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, x21]
	cmp	x8, x24
	b.hi	LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x22, x21
	ldr	x9, [x9, #8]
	cmp	x9, x25
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x23, x8
	mov	x1, x20
	bl	_strcmp
	cbnz	w0, LBB0_5
; %bb.9:
	add	x8, x22, x21
	ldr	x8, [x8, #16]
	add	x0, x8, #1
	mov	w1, #1
	bl	_calloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_15
; %bb.10:
	ldr	x8, [x19, #40]
	add	x8, x8, x21
	ldr	x1, [x8, #24]
	ldr	x9, [x19, #24]
	cmp	x1, x9
	b.gt	LBB0_16
; %bb.11:
	mov	x2, x0
	mov	w0, #0
	tbnz	x1, #63, LBB0_17
; %bb.12:
	ldr	x3, [x8, #16]
	add	x8, x3, x1
	cmp	x8, x9
	b.gt	LBB0_17
; %bb.13:
	ldr	w0, [x19, #48]
	bl	_r_buf_read_at
	cmp	w0, #0
	b.le	LBB0_18
; %bb.14:
	ldr	x8, [x19, #40]
	add	x8, x8, x21
	ldr	x8, [x8, #16]
	str	x8, [x19, #32]
	mov	w0, #1
	b	LBB0_17
LBB0_15:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_bprintf
LBB0_16:
	mov	w0, #0
LBB0_17:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_18:
	ldr	x0, [x19, #16]
	bl	_R_FREE
	mov	w0, #0
	str	xzr, [x19, #32]
	b	LBB0_17
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SHT_STRTAB,8,3                 ; @SHT_STRTAB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".dynstr"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot allocate memory for dynamic strings\n"

	.no_dead_strip	_init_dynstr
.subsections_via_symbols
