	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function walk_phys
_walk_phys:                             ## @walk_phys
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	8(%rdi), %edi
	movq	_NIU_ALONSO_MDL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	8(%r13), %edi
	movq	_NIU_KIMI_MDL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	8(%r13), %edi
	movq	_NIU_FOXXY_MDL_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	(%r13), %eax
	movq	_NIU_FLAGS_XCVR_SERDES@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.6:
	movq	(%r12), %rcx
	movq	_PLAT_TYPE_NIU@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.7:
	movq	_NIU_FLAGS_10G@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.8:
	movq	_PORT_TYPE_10G@GOTPCREL(%rip), %r14
	jmp	LBB0_9
LBB0_2:
	movq	_PLAT_TYPE_ATCA_CP3220@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movl	$4, 8(%r12)
	movq	_PORT_TYPE_1G@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%esi, %esi
	callq	_phy_encode
	movl	%eax, %r15d
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_phy_encode
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movl	(%r14), %edi
	movl	$2, %r15d
LBB0_31:
	movl	$2, %esi
	callq	_phy_encode
	movl	%eax, %r13d
	movl	(%r14), %edi
	movl	$3, %esi
	callq	_phy_encode
	orl	%r13d, %eax
LBB0_40:
	orl	%ebx, %eax
LBB0_41:
	movl	%eax, 12(%r12)
	movq	(%r12), %rax
	movq	_PLAT_TYPE_NIU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_43
## %bb.42:
	movq	%r12, %rdi
	callq	_niu_n2_divide_channels
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_44
LBB0_43:
	movq	%r12, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_niu_divide_channels
LBB0_44:
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_niu_divide_rdc_groups
	xorl	%ebx, %ebx
LBB0_47:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	16(%r12), %r15
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_fill_phy_probe_info
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_47
## %bb.12:
	leaq	-52(%rbp), %rsi
	movq	%r15, %rdi
	callq	_count_10g_ports
	movl	%eax, %r14d
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_count_1g_ports
	movl	%eax, %r15d
	movl	%r14d, %eax
	shll	$4, %eax
	orl	%r15d, %eax
	addl	$-4, %eax
	cmpl	$32, %eax
	ja	LBB0_38
## %bb.13:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_33:
	movl	-48(%rbp), %esi
	cmpl	$10, %esi
	je	LBB0_34
## %bb.35:
	cmpl	$26, %esi
	jne	LBB0_45
## %bb.36:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	_PLAT_TYPE_VF_P1@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_4:
	movl	$2, 8(%r12)
	movq	_PORT_TYPE_10G@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_phy_encode
	movl	%eax, %ebx
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_phy_encode
	orl	%ebx, %eax
	movl	$2, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_41
LBB0_10:
	movq	_PORT_TYPE_1G@GOTPCREL(%rip), %r14
LBB0_9:
	movl	(%r14), %edi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%esi, %esi
	callq	_phy_encode
	movl	%eax, %ebx
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_phy_encode
	orl	%ebx, %eax
	xorl	%r15d, %r15d
	jmp	LBB0_41
LBB0_38:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r14d, %esi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_46
LBB0_20:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	_PORT_TYPE_10G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r13), %esi
	callq	_phy_encode
	jmp	LBB0_41
LBB0_14:
	movl	-48(%rbp), %esi
	cmpl	$10, %esi
	je	LBB0_15
## %bb.16:
	cmpl	$26, %esi
	jne	LBB0_45
## %bb.17:
	movq	_PLAT_TYPE_VF_P1@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_21:
	movl	-48(%rbp), %esi
	cmpl	$10, %esi
	je	LBB0_22
## %bb.23:
	cmpl	$26, %esi
	jne	LBB0_45
## %bb.24:
	movq	_PLAT_TYPE_VF_P1@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_39:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	_PORT_TYPE_10G@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_phy_encode
	movl	%eax, %ebx
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_phy_encode
	jmp	LBB0_40
LBB0_45:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_46:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_47
LBB0_34:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	_PLAT_TYPE_VF_P0@GOTPCREL(%rip), %rax
LBB0_37:
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	_PORT_TYPE_1G@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_phy_encode
	movl	%eax, %r13d
	jmp	LBB0_28
LBB0_15:
	movq	_PLAT_TYPE_VF_P0@GOTPCREL(%rip), %rax
LBB0_18:
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_19:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	_PORT_TYPE_10G@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_phy_encode
	movl	%eax, %r13d
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_phy_encode
	movl	%eax, %ebx
	orl	%r13d, %ebx
	movq	_PORT_TYPE_1G@GOTPCREL(%rip), %r14
	jmp	LBB0_30
LBB0_22:
	movq	_PLAT_TYPE_VF_P0@GOTPCREL(%rip), %rax
LBB0_25:
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_26:
	testb	$7, -52(%rbp)
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_27
## %bb.32:
	movq	_PORT_TYPE_1G@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_phy_encode
	movl	%eax, %r13d
	movq	_PORT_TYPE_10G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_29
LBB0_27:
	movq	_PORT_TYPE_10G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_phy_encode
	movl	%eax, %r13d
	movq	_PORT_TYPE_1G@GOTPCREL(%rip), %r14
LBB0_28:
	movl	(%r14), %edi
LBB0_29:
	movl	$1, %esi
	callq	_phy_encode
	movl	%eax, %ebx
	orl	%r13d, %ebx
LBB0_30:
	movl	(%r14), %edi
	jmp	LBB0_31
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_33
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_20
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_26
	.long	L0_0_set_21
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_39
	.long	L0_0_set_38
	.long	L0_0_set_19
	.long	L0_0_set_38
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_NIU_ALONSO_MDL_STR,4,2         ## @NIU_ALONSO_MDL_STR
	.comm	_NIU_KIMI_MDL_STR,4,2           ## @NIU_KIMI_MDL_STR
	.comm	_PLAT_TYPE_ATCA_CP3220,8,3      ## @PLAT_TYPE_ATCA_CP3220
	.comm	_PORT_TYPE_1G,4,2               ## @PORT_TYPE_1G
	.comm	_NIU_FOXXY_MDL_STR,4,2          ## @NIU_FOXXY_MDL_STR
	.comm	_PORT_TYPE_10G,4,2              ## @PORT_TYPE_10G
	.comm	_NIU_FLAGS_XCVR_SERDES,4,2      ## @NIU_FLAGS_XCVR_SERDES
	.comm	_PLAT_TYPE_NIU,8,3              ## @PLAT_TYPE_NIU
	.comm	_NIU_FLAGS_10G,4,2              ## @NIU_FLAGS_10G
	.comm	_PLAT_TYPE_VF_P0,8,3            ## @PLAT_TYPE_VF_P0
	.comm	_PLAT_TYPE_VF_P1,8,3            ## @PLAT_TYPE_VF_P1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported port config 10G[%d] 1G[%d]\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Cannot identify platform type, 1gport=%d\n"

	.no_dead_strip	_walk_phys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function walk_phys
_walk_phys:                             ; @walk_phys
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x22, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _NIU_ALONSO_MDL_STR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIU_ALONSO_MDL_STR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_strcmp
Lloh3:
	adrp	x23, _PLAT_TYPE_NIU@GOTPAGE
Lloh4:
	ldr	x23, [x23, _PLAT_TYPE_NIU@GOTPAGEOFF]
	cbz	w0, LBB0_7
; %bb.1:
	ldr	w0, [x22, #8]
Lloh5:
	adrp	x8, _NIU_KIMI_MDL_STR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NIU_KIMI_MDL_STR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.2:
	ldr	w0, [x22, #8]
Lloh8:
	adrp	x8, _NIU_FOXXY_MDL_STR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NIU_FOXXY_MDL_STR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	w0, LBB0_14
; %bb.3:
	ldr	w8, [x22]
Lloh11:
	adrp	x9, _NIU_FLAGS_XCVR_SERDES@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NIU_FLAGS_XCVR_SERDES@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.4:
	ldr	x9, [x19]
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.5:
Lloh14:
	adrp	x9, _NIU_FLAGS_10G@GOTPAGE
Lloh15:
	ldr	x9, [x9, _NIU_FLAGS_10G@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.6:
Lloh17:
	adrp	x20, _PORT_TYPE_10G@GOTPAGE
Lloh18:
	ldr	x20, [x20, _PORT_TYPE_10G@GOTPAGEOFF]
	b	LBB0_16
LBB0_7:
Lloh19:
	adrp	x8, _PLAT_TYPE_ATCA_CP3220@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PLAT_TYPE_ATCA_CP3220@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	w8, #4
	str	w8, [x19, #8]
Lloh22:
	adrp	x22, _PORT_TYPE_1G@GOTPAGE
Lloh23:
	ldr	x22, [x22, _PORT_TYPE_1G@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	w1, #0
	bl	_phy_encode
	mov	x20, x0
	ldr	w0, [x22]
	mov	w1, #1
	bl	_phy_encode
	orr	w20, w0, w20
	ldr	w0, [x22]
	mov	w21, #2
	mov	w1, #2
	bl	_phy_encode
	orr	w24, w20, w0
	ldr	w0, [x22]
	mov	w1, #3
	bl	_phy_encode
	mov	w20, #0
	orr	w0, w24, w0
	b	LBB0_19
LBB0_8:
	add	x21, x19, #16
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_fill_phy_probe_info
	cbnz	w0, LBB0_23
; %bb.9:
	add	x1, sp, #12
	mov	x0, x21
	bl	_count_10g_ports
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, x21
	bl	_count_1g_ports
	mov	x21, x0
	orr	w8, w0, w20, lsl #4
	sub	w8, w8, #4
	cmp	w8, #32
	b.hi	LBB0_24
; %bb.10:
Lloh24:
	adrp	x9, lJTI0_0@PAGE
Lloh25:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_11
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_11:
	ldr	w1, [sp, #8]
	cmp	w1, #10
	b.eq	LBB0_35
; %bb.12:
	cmp	w1, #26
	b.ne	LBB0_33
; %bb.13:
Lloh26:
	adrp	x8, _PLAT_TYPE_VF_P1@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PLAT_TYPE_VF_P1@GOTPAGEOFF]
	b	LBB0_36
LBB0_14:
	mov	w20, #2
	str	w20, [x19, #8]
Lloh28:
	adrp	x21, _PORT_TYPE_10G@GOTPAGE
Lloh29:
	ldr	x21, [x21, _PORT_TYPE_10G@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #0
	bl	_phy_encode
	mov	x22, x0
	ldr	w0, [x21]
	mov	w1, #1
	bl	_phy_encode
	b	LBB0_17
LBB0_15:
Lloh30:
	adrp	x20, _PORT_TYPE_1G@GOTPAGE
Lloh31:
	ldr	x20, [x20, _PORT_TYPE_1G@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x20]
	mov	w1, #0
	bl	_phy_encode
	mov	x22, x0
	ldr	w0, [x20]
	mov	w1, #1
	bl	_phy_encode
	mov	w20, #0
LBB0_17:
	mov	w21, #0
LBB0_18:
	orr	w0, w0, w22
LBB0_19:
	str	w0, [x19, #12]
	ldr	x8, [x19]
	ldr	x9, [x23]
	mov	x0, x19
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.20:
	bl	_niu_n2_divide_channels
	b	LBB0_22
LBB0_21:
	mov	x1, x20
	mov	x2, x21
	bl	_niu_divide_channels
LBB0_22:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_niu_divide_rdc_groups
	mov	w0, #0
LBB0_23:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_24:
	str	x21, [sp]
Lloh32:
	adrp	x0, l_.str@PAGE
Lloh33:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	b	LBB0_34
LBB0_25:
Lloh34:
	adrp	x8, _PORT_TYPE_10G@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PORT_TYPE_10G@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	w1, [x22, #4]
	bl	_phy_encode
	b	LBB0_19
LBB0_26:
	ldr	w1, [sp, #8]
	cmp	w1, #10
	b.eq	LBB0_37
; %bb.27:
	cmp	w1, #26
	b.ne	LBB0_33
; %bb.28:
Lloh37:
	adrp	x8, _PLAT_TYPE_VF_P1@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PLAT_TYPE_VF_P1@GOTPAGEOFF]
	b	LBB0_38
LBB0_29:
	ldr	w1, [sp, #8]
	cmp	w1, #10
	b.eq	LBB0_40
; %bb.30:
	cmp	w1, #26
	b.ne	LBB0_33
; %bb.31:
Lloh39:
	adrp	x8, _PLAT_TYPE_VF_P1@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PLAT_TYPE_VF_P1@GOTPAGEOFF]
	b	LBB0_41
LBB0_32:
Lloh41:
	adrp	x24, _PORT_TYPE_10G@GOTPAGE
Lloh42:
	ldr	x24, [x24, _PORT_TYPE_10G@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	w1, #0
	bl	_phy_encode
	mov	x22, x0
	ldr	w0, [x24]
	mov	w1, #1
	bl	_phy_encode
	b	LBB0_18
LBB0_33:
Lloh43:
	adrp	x0, l_.str.1@PAGE
Lloh44:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_34:
	bl	_pr_err
Lloh45:
	adrp	x8, _EINVAL@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_23
LBB0_35:
Lloh48:
	adrp	x8, _PLAT_TYPE_VF_P0@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PLAT_TYPE_VF_P0@GOTPAGEOFF]
LBB0_36:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh50:
	adrp	x24, _PORT_TYPE_1G@GOTPAGE
Lloh51:
	ldr	x24, [x24, _PORT_TYPE_1G@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	w1, #0
	bl	_phy_encode
	mov	x22, x0
	b	LBB0_45
LBB0_37:
Lloh52:
	adrp	x8, _PLAT_TYPE_VF_P0@GOTPAGE
Lloh53:
	ldr	x8, [x8, _PLAT_TYPE_VF_P0@GOTPAGEOFF]
LBB0_38:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_39:
Lloh54:
	adrp	x24, _PORT_TYPE_10G@GOTPAGE
Lloh55:
	ldr	x24, [x24, _PORT_TYPE_10G@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	w1, #0
	bl	_phy_encode
	mov	x22, x0
	ldr	w0, [x24]
	mov	w1, #1
	bl	_phy_encode
	orr	w22, w0, w22
Lloh56:
	adrp	x24, _PORT_TYPE_1G@GOTPAGE
Lloh57:
	ldr	x24, [x24, _PORT_TYPE_1G@GOTPAGEOFF]
	b	LBB0_47
LBB0_40:
Lloh58:
	adrp	x8, _PLAT_TYPE_VF_P0@GOTPAGE
Lloh59:
	ldr	x8, [x8, _PLAT_TYPE_VF_P0@GOTPAGEOFF]
LBB0_41:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_42:
	ldrb	w8, [sp, #12]
	tst	w8, #0x7
	b.eq	LBB0_44
; %bb.43:
Lloh60:
	adrp	x24, _PORT_TYPE_1G@GOTPAGE
Lloh61:
	ldr	x24, [x24, _PORT_TYPE_1G@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	w1, #0
	bl	_phy_encode
	mov	x22, x0
Lloh62:
	adrp	x8, _PORT_TYPE_10G@GOTPAGE
Lloh63:
	ldr	x8, [x8, _PORT_TYPE_10G@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
	b	LBB0_46
LBB0_44:
Lloh65:
	adrp	x8, _PORT_TYPE_10G@GOTPAGE
Lloh66:
	ldr	x8, [x8, _PORT_TYPE_10G@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_phy_encode
	mov	x22, x0
Lloh68:
	adrp	x24, _PORT_TYPE_1G@GOTPAGE
Lloh69:
	ldr	x24, [x24, _PORT_TYPE_1G@GOTPAGEOFF]
LBB0_45:
	ldr	w0, [x24]
LBB0_46:
	mov	w1, #1
	bl	_phy_encode
	orr	w22, w0, w22
LBB0_47:
	ldr	w0, [x24]
	mov	w1, #2
	bl	_phy_encode
	orr	w22, w22, w0
	ldr	w0, [x24]
	mov	w1, #3
	bl	_phy_encode
	orr	w0, w22, w0
	b	LBB0_19
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_25-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_42-LBB0_11)>>2
	.byte	(LBB0_29-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_39-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_26-LBB0_11)>>2
                                        ; -- End function
	.comm	_NIU_ALONSO_MDL_STR,4,2         ; @NIU_ALONSO_MDL_STR
	.comm	_NIU_KIMI_MDL_STR,4,2           ; @NIU_KIMI_MDL_STR
	.comm	_PLAT_TYPE_ATCA_CP3220,8,3      ; @PLAT_TYPE_ATCA_CP3220
	.comm	_PORT_TYPE_1G,4,2               ; @PORT_TYPE_1G
	.comm	_NIU_FOXXY_MDL_STR,4,2          ; @NIU_FOXXY_MDL_STR
	.comm	_PORT_TYPE_10G,4,2              ; @PORT_TYPE_10G
	.comm	_NIU_FLAGS_XCVR_SERDES,4,2      ; @NIU_FLAGS_XCVR_SERDES
	.comm	_PLAT_TYPE_NIU,8,3              ; @PLAT_TYPE_NIU
	.comm	_NIU_FLAGS_10G,4,2              ; @NIU_FLAGS_10G
	.comm	_PLAT_TYPE_VF_P0,8,3            ; @PLAT_TYPE_VF_P0
	.comm	_PLAT_TYPE_VF_P1,8,3            ; @PLAT_TYPE_VF_P1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported port config 10G[%d] 1G[%d]\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Cannot identify platform type, 1gport=%d\n"

	.no_dead_strip	_walk_phys
.subsections_via_symbols
