	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_bin_te_get_sections          ## -- Begin function r_bin_te_get_sections
	.p2align	4, 0x90
_r_bin_te_get_sections:                 ## @r_bin_te_get_sections
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	8(%rdi), %r13
	movl	(%rax), %r14d
	leal	1(%r14), %edi
	movl	$40, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.6:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	addq	$32, %rbx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	shlq	$5, %r14
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	28(%r13,%r14), %esi
	movq	_TE_IMAGE_SIZEOF_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	(%r13,%r14), %r15
	movq	%r12, %rdi
	callq	_r_bin_te_get_stripped_delta
	subq	%rax, %r15
	movq	%r15, -8(%rbx)
	movl	24(%r13,%r14), %eax
	movl	%eax, -12(%rbx)
	movl	20(%r13,%r14), %eax
	movl	%eax, -16(%rbx)
	movq	8(%r13,%r14), %r15
	movq	%r12, %rdi
	callq	_r_bin_te_get_stripped_delta
	subq	%rax, %r15
	movq	%r15, -24(%rbx)
	movl	16(%r13,%r14), %eax
	movl	%eax, -28(%rbx)
	movl	$0, -32(%rbx)
	addq	$40, %rbx
	addq	$32, %r14
	cmpq	%r14, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_7
## %bb.8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_4:
	xorl	%ecx, %ecx
LBB0_9:
	leaq	(%rcx,%rcx,4), %rcx
	movl	$1, (%rax,%rcx,8)
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc (sections)"

	.comm	_TE_IMAGE_SIZEOF_NAME,4,2       ## @TE_IMAGE_SIZEOF_NAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_bin_te_get_sections          ; -- Begin function r_bin_te_get_sections
	.p2align	2
_r_bin_te_get_sections:                 ; @r_bin_te_get_sections
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldp	x8, x24, [x0]
	ldr	w21, [x8]
	add	w0, w21, #1
	mov	w1, #40
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.2:
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x22, #0
	add	x8, x21, x21, lsl #2
	lsl	x23, x8, #3
	add	x24, x24, #16
Lloh0:
	adrp	x25, _TE_IMAGE_SIZEOF_NAME@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TE_IMAGE_SIZEOF_NAME@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x26, x19, x22
	ldr	w0, [x26, #32]
	ldr	w1, [x24, #12]
	ldr	w2, [x25]
	bl	_memcpy
	ldur	x27, [x24, #-16]
	mov	x0, x20
	bl	_r_bin_te_get_stripped_delta
	sub	x8, x27, x0
	str	x8, [x26, #24]
	ldur	d0, [x24, #4]
	str	d0, [x26, #16]
	ldur	x27, [x24, #-8]
	mov	x0, x20
	bl	_r_bin_te_get_stripped_delta
	sub	x8, x27, x0
	str	x8, [x26, #8]
	ldr	w8, [x24], #32
	stp	wzr, w8, [x26]
	add	x22, x22, #40
	cmp	x23, x22
	b.ne	LBB0_4
	b	LBB0_7
LBB0_5:
	mov	x19, #0
	b	LBB0_8
LBB0_6:
	mov	x21, #0
LBB0_7:
	mov	w8, #40
	mul	x8, x21, x8
	mov	w9, #1
	str	w9, [x19, x8]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc (sections)"

	.comm	_TE_IMAGE_SIZEOF_NAME,4,2       ; @TE_IMAGE_SIZEOF_NAME
.subsections_via_symbols
