	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parseSegments
_parseSegments:                         ## @parseSegments
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r12
	movl	%edx, %edi
	movl	$32, %esi
	callq	_calloc
	movq	%rax, %r13
	movl	%ebx, %ecx
	shll	$5, %ecx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_r_buf_read_at
	movq	_r_bin_section_free@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_r_list_newf
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	testl	%ebx, %ebx
	jle	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	leaq	64(%r13), %rdi
	callq	_r_read_le32
	movl	%eax, %r12d
	leaq	96(%r13), %rdi
	callq	_r_read_le32
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	$16, %esi
	callq	_r_str_nlen
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_r_str_ndup
	movq	%rax, %r15
	addl	%r12d, %ebx
	movq	%rax, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	$1, %ecx
	callq	_newSection
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_free
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	callq	_r_list_append
	subq	$-128, %r13
	decl	%ebx
	jne	LBB0_2
LBB0_3:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_r_bin_section_free,8,3         ## @r_bin_section_free
	.no_dead_strip	_parseSegments
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parseSegments
_parseSegments:                         ; @parseSegments
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x2
	mov	w1, #32
	bl	_calloc
	mov	x20, x0
	lsl	w3, w19, #5
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_r_buf_read_at
Lloh0:
	adrp	x8, _r_bin_section_free@GOTPAGE
Lloh1:
	ldr	x8, [x8, _r_bin_section_free@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_r_list_newf
	mov	x21, x0
	cmp	x0, #0
	ccmp	w19, #1, #8, ne
	b.lt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x20, #64
	bl	_r_read_le32
	mov	x22, x0
	add	x0, x20, #96
	bl	_r_read_le32
	mov	x23, x0
	mov	x0, x20
	mov	w1, #16
	bl	_r_str_nlen
	mov	x1, x0
	mov	x0, x20
	bl	_r_str_ndup
	mov	x24, x0
	add	w2, w23, w22
	mov	x1, x22
	mov	w3, #1
	bl	_newSection
	mov	x22, x0
	mov	x0, x24
	bl	_free
	mov	x0, x21
	mov	x1, x22
	bl	_r_list_append
	add	x20, x20, #128
	subs	w19, w19, #1
	b.ne	LBB0_1
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_r_bin_section_free,8,3         ; @r_bin_section_free
	.no_dead_strip	_parseSegments
.subsections_via_symbols
