	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_bin_omf_get_vaddr_sym        ## -- Begin function r_bin_omf_get_vaddr_sym
	.p2align	4, 0x90
_r_bin_omf_get_vaddr_sym:               ## @r_bin_omf_get_vaddr_sym
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movslq	(%rsi), %rcx
	cmpl	(%rdi), %ecx
	jge	LBB0_5
## %bb.2:
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.3:
	movq	-8(%rax,%rcx,8), %rcx
	movq	8(%rsi), %rax
	addq	(%rcx), %rax
	movq	_OMF_BASE_ADDR@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	popq	%rbp
	retq
LBB0_5:
	movl	16(%rsi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid segment index for symbol %s\n"

	.comm	_OMF_BASE_ADDR,8,3              ## @OMF_BASE_ADDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_bin_omf_get_vaddr_sym        ; -- Begin function r_bin_omf_get_vaddr_sym
	.p2align	2
_r_bin_omf_get_vaddr_sym:               ; @r_bin_omf_get_vaddr_sym
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w9, [x1]
	ldr	w10, [x0]
	cmp	w9, w10
	b.ge	LBB0_4
; %bb.2:
	cbz	w9, LBB0_5
; %bb.3:
	sub	w9, w9, #1
	ldr	x8, [x8, w9, sxtw #3]
	ldr	x8, [x8]
	ldr	x9, [x1, #8]
Lloh0:
	adrp	x10, _OMF_BASE_ADDR@GOTPAGE
Lloh1:
	ldr	x10, [x10, _OMF_BASE_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x0, x8, x10
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w1, [x1, #16]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
LBB0_5:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid segment index for symbol %s\n"

	.comm	_OMF_BASE_ADDR,8,3              ; @OMF_BASE_ADDR
.subsections_via_symbols
