	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_entries_from_section
_get_entries_from_section:              ## @get_entries_from_section
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r14
	testq	%rsi, %rsi
	setne	%al
	testq	%rdi, %rdi
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	xorl	%esi, %esi
	callq	_r_return_val_if_fail
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_r_list_newf
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	(%r14), %rbx
	movl	20(%r13), %esi
	movq	_R_BUF_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_r_buf_seek
	movq	%rbx, %rdi
	callq	_r_buf_tell
	movq	(%r13), %r14
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rax), %r15
	movq	%rbx, %rdi
	callq	_r_buf_size
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %r15
	jle	LBB0_2
LBB0_9:
	movl	16(%r13), %esi
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
	jmp	LBB0_10
LBB0_2:
	movq	%rbx, %rdi
	callq	_r_buf_tell
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	jge	LBB0_10
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	%r14, %rax
	decq	%rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$-1, %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_r_buf_tell
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	jge	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	incq	%r14
	cmpq	8(%r13), %r14
	jge	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r15
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_r_list_append
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	jmp	LBB0_8
LBB0_10:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_BUF_SET,4,2                  ## @R_BUF_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[wasm] error: beach reading entries for section %s\n"

	.no_dead_strip	_get_entries_from_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_entries_from_section
_get_entries_from_section:              ; @get_entries_from_section
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x23, x0
	cmp	x0, #0
	ccmp	x1, #0, #4, ne
	cset	w0, ne
	mov	x1, #0
	bl	_r_return_val_if_fail
	mov	x0, x19
	bl	_r_list_newf
	mov	x22, x0
	cbz	x0, LBB0_10
; %bb.1:
	ldr	x23, [x23]
	ldr	w1, [x20, #20]
Lloh0:
	adrp	x8, _R_BUF_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_BUF_SET@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x23
	bl	_r_buf_seek
	mov	x0, x23
	bl	_r_buf_tell
	ldr	x8, [x20]
	add	x26, x8, x0
	mov	x0, x23
	bl	_r_buf_size
	cmp	x26, x0
	b.le	LBB0_3
LBB0_2:
	ldr	w1, [x20, #16]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
	b	LBB0_10
LBB0_3:
	mov	x0, x23
	bl	_r_buf_tell
	cmp	x0, x26
	b.ge	LBB0_10
; %bb.4:
	sub	x24, x26, #1
	mov	x27, #-1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_r_buf_tell
	cmp	x0, x26
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x27, x27, #1
	cmp	x27, x8
	b.ge	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	mov	x1, x24
	blr	x21
	cbz	x0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	mov	x0, x22
	mov	x1, x25
	bl	_r_list_append
	cbnz	w0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	blr	x19
	b	LBB0_5
LBB0_10:
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_R_BUF_SET,4,2                  ; @R_BUF_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[wasm] error: beach reading entries for section %s\n"

	.no_dead_strip	_get_entries_from_section
.subsections_via_symbols
