	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_flower_repr_get_type_and_port
_nfp_flower_repr_get_type_and_port:     ## @nfp_flower_repr_get_type_and_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	_NFP_FLOWER_CMSG_PORT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FIELD_GET
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.3:
	movq	_NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_FIELD_GET
	movl	%eax, (%r14)
	movq	_NFP_REPR_TYPE_PHYS_PORT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_NFP_FLOWER_CMSG_PORT_VNIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_FIELD_GET
	movl	%eax, (%r14)
	movq	_NFP_FLOWER_CMSG_PORT_VNIC_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_FIELD_GET
	movq	_NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.6:
	movq	_NFP_REPR_TYPE_PF@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	___NFP_REPR_TYPE_MAX@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_NFP_REPR_TYPE_VF@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_FLOWER_CMSG_PORT_TYPE,4,2  ## @NFP_FLOWER_CMSG_PORT_TYPE
	.comm	_NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM,4,2 ## @NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM
	.comm	_NFP_REPR_TYPE_PHYS_PORT,4,2    ## @NFP_REPR_TYPE_PHYS_PORT
	.comm	_NFP_FLOWER_CMSG_PORT_VNIC,4,2  ## @NFP_FLOWER_CMSG_PORT_VNIC
	.comm	_NFP_FLOWER_CMSG_PORT_VNIC_TYPE,4,2 ## @NFP_FLOWER_CMSG_PORT_VNIC_TYPE
	.comm	_NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF,4,2 ## @NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF
	.comm	_NFP_REPR_TYPE_PF,4,2           ## @NFP_REPR_TYPE_PF
	.comm	_NFP_REPR_TYPE_VF,4,2           ## @NFP_REPR_TYPE_VF
	.comm	___NFP_REPR_TYPE_MAX,4,2        ## @__NFP_REPR_TYPE_MAX
	.no_dead_strip	_nfp_flower_repr_get_type_and_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_flower_repr_get_type_and_port
_nfp_flower_repr_get_type_and_port:     ; @nfp_flower_repr_get_type_and_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	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _NFP_FLOWER_CMSG_PORT_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFP_FLOWER_CMSG_PORT_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_FIELD_GET
	cmp	w0, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_FIELD_GET
	str	w0, [x20]
Lloh6:
	adrp	x8, _NFP_REPR_TYPE_PHYS_PORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NFP_REPR_TYPE_PHYS_PORT@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _NFP_FLOWER_CMSG_PORT_VNIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NFP_FLOWER_CMSG_PORT_VNIC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_FIELD_GET
	str	w0, [x20]
Lloh11:
	adrp	x8, _NFP_FLOWER_CMSG_PORT_VNIC_TYPE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NFP_FLOWER_CMSG_PORT_VNIC_TYPE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_FIELD_GET
Lloh14:
	adrp	x8, _NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _NFP_REPR_TYPE_VF@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NFP_REPR_TYPE_VF@GOTPAGEOFF]
Lloh19:
	adrp	x10, _NFP_REPR_TYPE_PF@GOTPAGE
Lloh20:
	ldr	x10, [x10, _NFP_REPR_TYPE_PF@GOTPAGEOFF]
	cmp	w0, w8
	csel	x8, x10, x9, eq
	b	LBB0_5
LBB0_4:
Lloh21:
	adrp	x8, ___NFP_REPR_TYPE_MAX@GOTPAGE
Lloh22:
	ldr	x8, [x8, ___NFP_REPR_TYPE_MAX@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_FLOWER_CMSG_PORT_TYPE,4,2  ; @NFP_FLOWER_CMSG_PORT_TYPE
	.comm	_NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM,4,2 ; @NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM
	.comm	_NFP_REPR_TYPE_PHYS_PORT,4,2    ; @NFP_REPR_TYPE_PHYS_PORT
	.comm	_NFP_FLOWER_CMSG_PORT_VNIC,4,2  ; @NFP_FLOWER_CMSG_PORT_VNIC
	.comm	_NFP_FLOWER_CMSG_PORT_VNIC_TYPE,4,2 ; @NFP_FLOWER_CMSG_PORT_VNIC_TYPE
	.comm	_NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF,4,2 ; @NFP_FLOWER_CMSG_PORT_VNIC_TYPE_PF
	.comm	_NFP_REPR_TYPE_PF,4,2           ; @NFP_REPR_TYPE_PF
	.comm	_NFP_REPR_TYPE_VF,4,2           ; @NFP_REPR_TYPE_VF
	.comm	___NFP_REPR_TYPE_MAX,4,2        ; @__NFP_REPR_TYPE_MAX
	.no_dead_strip	_nfp_flower_repr_get_type_and_port
.subsections_via_symbols
