	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_bin_wasm_get_custom_names    ## -- Begin function r_bin_wasm_get_custom_names
	.p2align	4, 0x90
_r_bin_wasm_get_custom_names:           ## @r_bin_wasm_get_custom_names
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setne	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	xorl	%esi, %esi
	callq	_r_return_val_if_fail
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rbx), %rdi
	movq	_R_BIN_WASM_SECTION_CUSTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_r_bin_wasm_get_sections_by_id
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_r_list_first
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %r15
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_9
LBB0_7:
	movq	%r14, %rdi
	callq	_r_list_free
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r_list_new                     ## TAILCALL
LBB0_9:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_r_bin_wasm_get_custom_name_entries
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_r_list_free
	movq	(%rbx), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_R_BIN_WASM_SECTION_CUSTOM,4,2  ## @R_BIN_WASM_SECTION_CUSTOM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_bin_wasm_get_custom_names    ; -- Begin function r_bin_wasm_get_custom_names
	.p2align	2
_r_bin_wasm_get_custom_names:           ; @r_bin_wasm_get_custom_names
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
LBB0_2:
	mov	x1, #0
	bl	_r_return_val_if_fail
	ldr	x0, [x19]
	cbz	x0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x8, _R_BIN_WASM_SECTION_CUSTOM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_BIN_WASM_SECTION_CUSTOM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_r_bin_wasm_get_sections_by_id
	cbz	x0, LBB0_8
; %bb.5:
	mov	x20, x0
	bl	_r_list_first
	cbz	x0, LBB0_7
; %bb.6:
	mov	x21, x0
	ldr	w0, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	x0, LBB0_9
LBB0_7:
	mov	x0, x20
	bl	_r_list_free
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_r_list_new
LBB0_9:
	mov	x0, x19
	mov	x1, x21
	bl	_r_bin_wasm_get_custom_name_entries
	str	x0, [x19]
	mov	x0, x20
	bl	_r_list_free
	ldr	x0, [x19]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_R_BIN_WASM_SECTION_CUSTOM,4,2  ; @R_BIN_WASM_SECTION_CUSTOM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

.subsections_via_symbols
