	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_opa_smi_get_fwd_port           ## -- Begin function opa_smi_get_fwd_port
	.p2align	4, 0x90
_opa_smi_get_fwd_port:                  ## @opa_smi_get_fwd_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_opa_get_smp_direction
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	8(%rbx,%rcx,8), %rcx
	xorl	%edx, %edx
	negl	%eax
	sbbq	%rdx, %rdx
	movslq	(%rbx), %rax
	orq	$1, %rdx
	addq	%rax, %rdx
	movl	(%rcx,%rdx,4), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_opa_smi_get_fwd_port           ; -- Begin function opa_smi_get_fwd_port
	.p2align	2
_opa_smi_get_fwd_port:                  ; @opa_smi_get_fwd_port
	.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
	mov	x19, x0
	bl	_opa_get_smp_direction
	ldr	w8, [x19]
	sub	w9, w8, #1
	cmp	w0, #0
	mov	w10, #16
	mov	w11, #8
	csel	x10, x11, x10, eq
	ldr	x10, [x19, x10]
	csinc	w8, w9, w8, ne
	ldr	w0, [x10, w8, sxtw #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
