	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vema_get_port
_vema_get_port:                         ## @vema_get_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpl	%esi, (%rdi)
	movslq	%esi, %rcx
	leaq	(%rdi,%rcx,4), %rcx
	cmovgeq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vema_get_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vema_get_port
_vema_get_port:                         ; @vema_get_port
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w9, w1, #1
	add	x9, x0, w9, sxtw #2
	add	x9, x9, #4
	cmp	w8, w1
	csel	x0, xzr, x9, lt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vema_get_port
.subsections_via_symbols
