	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_bin_wasm_get_entrypoint      ## -- Begin function r_bin_wasm_get_entrypoint
	.p2align	4, 0x90
_r_bin_wasm_get_entrypoint:             ## @r_bin_wasm_get_entrypoint
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_15
## %bb.2:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_16
## %bb.3:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	xorl	%r14d, %r14d
LBB0_5:
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_13
## %bb.6:
	movl	(%rax), %esi
	callq	_r_list_get_n
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_r_list_free
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.7:
	movslq	(%rbx), %rax
	jmp	LBB0_16
LBB0_10:
	movq	_R_BIN_WASM_SECTION_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_r_bin_wasm_get_sections_by_id
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_r_list_first
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_r_bin_wasm_get_start
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_5
LBB0_13:
	movq	%r14, %rdi
	callq	_r_list_free
LBB0_15:
	xorl	%eax, %eax
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_BIN_WASM_SECTION_START,4,2   ## @R_BIN_WASM_SECTION_START
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_bin_wasm_get_entrypoint      ; -- Begin function r_bin_wasm_get_entrypoint
	.p2align	2
_r_bin_wasm_get_entrypoint:             ; @r_bin_wasm_get_entrypoint
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_12
; %bb.2:
	ldr	x0, [x19, #24]
	cbnz	x0, LBB0_13
; %bb.3:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_8
; %bb.4:
	mov	x20, #0
LBB0_5:
	ldr	w8, [x19]
	cbz	w8, LBB0_11
; %bb.6:
	ldr	w1, [x0]
	mov	x0, x8
	bl	_r_list_get_n
	mov	x19, x0
	mov	x0, x20
	bl	_r_list_free
	cbz	x19, LBB0_12
; %bb.7:
	ldrsw	x0, [x19]
	b	LBB0_13
LBB0_8:
Lloh0:
	adrp	x9, _R_BIN_WASM_SECTION_START@GOTPAGE
Lloh1:
	ldr	x9, [x9, _R_BIN_WASM_SECTION_START@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_r_bin_wasm_get_sections_by_id
	cbz	x0, LBB0_13
; %bb.9:
	mov	x20, x0
	bl	_r_list_first
	cbz	x0, LBB0_11
; %bb.10:
	mov	x1, x0
	mov	x0, x19
	bl	_r_bin_wasm_get_start
	str	x0, [x19, #8]
	cbnz	x0, LBB0_5
LBB0_11:
	mov	x0, x20
	bl	_r_list_free
LBB0_12:
	mov	x0, #0
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_R_BIN_WASM_SECTION_START,4,2   ; @R_BIN_WASM_SECTION_START
.subsections_via_symbols
