	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___nfp_port_get_eth_port        ## -- Begin function __nfp_port_get_eth_port
	.p2align	4, 0x90
___nfp_port_get_eth_port:               ## @__nfp_port_get_eth_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	(%rdi), %rax
	movq	_NFP_PORT_PHYS_PORT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	8(%rdi), %rax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_PORT_PHYS_PORT,8,3         ## @NFP_PORT_PHYS_PORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___nfp_port_get_eth_port        ; -- Begin function __nfp_port_get_eth_port
	.p2align	2
___nfp_port_get_eth_port:               ; @__nfp_port_get_eth_port
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NFP_PORT_PHYS_PORT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFP_PORT_PHYS_PORT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x0, [x0, #8]
LBB0_3:
	ret
LBB0_4:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_PORT_PHYS_PORT,8,3         ; @NFP_PORT_PHYS_PORT
.subsections_via_symbols
