	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_bin_omf_get_entry            ## -- Begin function r_bin_omf_get_entry
	.p2align	4, 0x90
_r_bin_omf_get_entry:                   ## @r_bin_omf_get_entry
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rdi, %r12
	cmpq	$0, (%rdi)
	je	LBB0_13
## %bb.2:
	movq	%rsi, %r14
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	cmpq	(%r12), %r13
	jae	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	16(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movl	16(%rax), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movslq	(%rax), %rcx
	leal	-1(%rcx), %edx
	cmpl	8(%r12), %edx
	jg	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rdx
	movq	-8(%rdx,%rcx,8), %rcx
	movq	8(%rax), %rax
	movq	(%rcx), %rdx
	addq	%rax, %rdx
	movq	_OMF_BASE_ADDR@GOTPCREL(%rip), %rsi
	addq	(%rsi), %rdx
	movq	%rdx, (%r14)
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addq	(%rcx), %rbx
	cmpq	%rbx, %rax
	jb	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	24(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_8
	jmp	LBB0_11
LBB0_9:
	subq	8(%rcx), %rax
	addq	16(%rcx), %rax
	movq	%rax, 8(%r14)
	movl	$1, %eax
	jmp	LBB0_13
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_eprintf
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_start"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid segment index for symbol _start\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_entry            ; -- Begin function r_bin_omf_get_entry
	.p2align	2
_r_bin_omf_get_entry:                   ; @r_bin_omf_get_entry
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_11
; %bb.2:
	mov	x19, x1
	mov	x22, #0
	mov	x23, #0
Lloh0:
	adrp	x24, _OMF_BASE_ADDR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _OMF_BASE_ADDR@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20]
	cmp	x23, x8
	b.hs	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w0, [x8, #16]
	mov	x1, x21
	bl	_strcmp
	cbnz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x23, lsl #3]
	ldrsw	x9, [x8]
	sub	x9, x9, #1
	ldr	w10, [x20, #8]
	cmp	w9, w10
	b.gt	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x20, #24]
	ldr	x9, [x10, x9, lsl #3]
	ldr	x8, [x8, #8]
	ldr	x10, [x24]
	ldp	x11, x9, [x9]
	add	x11, x8, x11
	add	x10, x11, x10
	str	x10, [x19]
	cbz	x9, LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x9]
	add	x22, x10, x22
	cmp	x8, x22
	b.lo	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [x9, #24]
	cbnz	x9, LBB0_7
	b	LBB0_3
LBB0_9:
	ldp	x10, x9, [x9, #8]
	sub	x8, x8, x10
	add	x8, x8, x9
	str	x8, [x19, #8]
	mov	w0, #1
	b	LBB0_12
LBB0_10:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_eprintf
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_start"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid segment index for symbol _start\n"

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