	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function niu_pci_vpd_get_nports
_niu_pci_vpd_get_nports:                ## @niu_pci_vpd_get_nports
	.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	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_NIU_QGC_LP_MDL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	movl	$4, %r14d
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movl	(%rbx), %edi
	movq	_NIU_QGC_PEM_MDL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	movl	(%rbx), %edi
	movq	_NIU_MARAMBA_MDL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movl	(%rbx), %edi
	movq	_NIU_KIMI_MDL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movl	(%rbx), %edi
	movq	_NIU_ALONSO_MDL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	movl	(%rbx), %edi
	movq	_NIU_2XGF_LP_MDL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movl	(%rbx), %edi
	movq	_NIU_2XGF_PEM_MDL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	(%rbx), %edi
	movq	_NIU_FOXXY_MDL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	(%rbx), %edi
	movq	_NIU_2XGF_MRVL_MDL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jne	LBB0_10
LBB0_9:
	movl	$2, %r14d
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIU_QGC_LP_MDL_STR,4,2         ## @NIU_QGC_LP_MDL_STR
	.comm	_NIU_QGC_PEM_MDL_STR,4,2        ## @NIU_QGC_PEM_MDL_STR
	.comm	_NIU_MARAMBA_MDL_STR,4,2        ## @NIU_MARAMBA_MDL_STR
	.comm	_NIU_KIMI_MDL_STR,4,2           ## @NIU_KIMI_MDL_STR
	.comm	_NIU_ALONSO_MDL_STR,4,2         ## @NIU_ALONSO_MDL_STR
	.comm	_NIU_2XGF_LP_MDL_STR,4,2        ## @NIU_2XGF_LP_MDL_STR
	.comm	_NIU_2XGF_PEM_MDL_STR,4,2       ## @NIU_2XGF_PEM_MDL_STR
	.comm	_NIU_FOXXY_MDL_STR,4,2          ## @NIU_FOXXY_MDL_STR
	.comm	_NIU_2XGF_MRVL_MDL_STR,4,2      ## @NIU_2XGF_MRVL_MDL_STR
	.no_dead_strip	_niu_pci_vpd_get_nports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function niu_pci_vpd_get_nports
_niu_pci_vpd_get_nports:                ; @niu_pci_vpd_get_nports
	.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
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _NIU_QGC_LP_MDL_STR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIU_QGC_LP_MDL_STR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _NIU_QGC_PEM_MDL_STR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NIU_QGC_PEM_MDL_STR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.2:
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _NIU_MARAMBA_MDL_STR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIU_MARAMBA_MDL_STR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.3:
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _NIU_KIMI_MDL_STR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NIU_KIMI_MDL_STR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.4:
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _NIU_ALONSO_MDL_STR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NIU_ALONSO_MDL_STR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.5:
	ldr	w0, [x19]
Lloh15:
	adrp	x8, _NIU_2XGF_LP_MDL_STR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NIU_2XGF_LP_MDL_STR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_12
; %bb.6:
	ldr	w0, [x19]
Lloh18:
	adrp	x8, _NIU_2XGF_PEM_MDL_STR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NIU_2XGF_PEM_MDL_STR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_12
; %bb.7:
	ldr	w0, [x19]
Lloh21:
	adrp	x8, _NIU_FOXXY_MDL_STR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NIU_FOXXY_MDL_STR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_12
; %bb.8:
	ldr	w0, [x19]
Lloh24:
	adrp	x8, _NIU_2XGF_MRVL_MDL_STR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NIU_2XGF_MRVL_MDL_STR@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_12
; %bb.9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
	mov	w0, #4
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w0, #2
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_NIU_QGC_LP_MDL_STR,4,2         ; @NIU_QGC_LP_MDL_STR
	.comm	_NIU_QGC_PEM_MDL_STR,4,2        ; @NIU_QGC_PEM_MDL_STR
	.comm	_NIU_MARAMBA_MDL_STR,4,2        ; @NIU_MARAMBA_MDL_STR
	.comm	_NIU_KIMI_MDL_STR,4,2           ; @NIU_KIMI_MDL_STR
	.comm	_NIU_ALONSO_MDL_STR,4,2         ; @NIU_ALONSO_MDL_STR
	.comm	_NIU_2XGF_LP_MDL_STR,4,2        ; @NIU_2XGF_LP_MDL_STR
	.comm	_NIU_2XGF_PEM_MDL_STR,4,2       ; @NIU_2XGF_PEM_MDL_STR
	.comm	_NIU_FOXXY_MDL_STR,4,2          ; @NIU_FOXXY_MDL_STR
	.comm	_NIU_2XGF_MRVL_MDL_STR,4,2      ; @NIU_2XGF_MRVL_MDL_STR
	.no_dead_strip	_niu_pci_vpd_get_nports
.subsections_via_symbols
