	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function niu_pci_vpd_scan_props
LCPI0_0:
	.byte	108                             ## 0x6c
	.byte	111                             ## 0x6f
	.byte	99                              ## 0x63
	.byte	97                              ## 0x61
	.byte	108                             ## 0x6c
	.byte	45                              ## 0x2d
	.byte	109                             ## 0x6d
	.byte	97                              ## 0x61
	.byte	99                              ## 0x63
	.byte	45                              ## 0x2d
	.byte	97                              ## 0x61
	.byte	100                             ## 0x64
	.byte	100                             ## 0x64
	.byte	114                             ## 0x72
	.byte	101                             ## 0x65
	.byte	115                             ## 0x73
LCPI0_1:
	.long	115                             ## 0x73
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_2:
	.byte	110                             ## 0x6e
	.byte	117                             ## 0x75
	.byte	109                             ## 0x6d
	.byte	45                              ## 0x2d
	.byte	109                             ## 0x6d
	.byte	97                              ## 0x61
	.byte	99                              ## 0x63
	.byte	45                              ## 0x2d
	.byte	97                              ## 0x61
	.byte	100                             ## 0x64
	.byte	100                             ## 0x64
	.byte	114                             ## 0x72
	.byte	101                             ## 0x65
	.byte	115                             ## 0x73
	.byte	115                             ## 0x73
	.byte	101                             ## 0x65
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_niu_pci_vpd_scan_props:                ## @niu_pci_vpd_scan_props
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rdi), %ecx
	movl	%r14d, (%rsp)
	leaq	L_.str(%rip), %r8
	movq	%r12, %r9
	callq	_netif_printk
	xorl	%r15d, %r15d
	cmpq	%r14, %r12
	jge	LBB0_35
## %bb.1:
	leaq	48(%r13), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	leaq	8(%r13), %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	leaq	40(%r13), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	leaq	32(%r13), %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	leaq	24(%r13), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	leaq	16(%r13), %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	-128(%rbp), %r12                ## 8-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$3, %r12
	movslq	-140(%rbp), %rax                ## 4-byte Folded Reload
	addq	%rax, %r12
	cmpq	%r14, %r12
	jge	LBB0_33
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
	cmpl	$63, -136(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_30
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	2(%r12), %rsi
	movq	%r13, %rdi
	callq	_niu_pci_eeprom_read
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_32
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	7(%r12), %rsi
	movq	%r13, %rdi
	callq	_niu_pci_eeprom_read
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_35
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, -140(%rbp)                ## 4-byte Spill
	leaq	8(%r12), %r14
	movq	%r13, %rdi
	movq	%r14, %rsi
	leaq	-112(%rbp), %rdx
	movl	$64, %ecx
	callq	_niu_pci_vpd_get_propname
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_32
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-112(%rbp), %eax
	movl	$1701080941, %ecx               ## imm = 0x65646F6D
	xorl	%ecx, %eax
	movzwl	-108(%rbp), %ecx
	xorl	$108, %ecx
	orl	%eax, %ecx
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-112(%rbp), %rax
	movabsq	$8029123620110430050, %rcx      ## imm = 0x6F6D2D6472616F62
	xorq	%rcx, %rax
	movl	-104(%rbp), %ecx
	xorq	$7103844, %rcx                  ## imm = 0x6C6564
	orq	%rax, %rcx
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [115,0,0,0]
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$4, %eax
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	movq	_NIU_VPD_VERSION_MAX@GOTPCREL(%rip), %rdx
	movabsq	$31084746137298294, %rsi        ## imm = 0x6E6F6973726576
	cmpq	%rsi, -112(%rbp)
	je	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movzwl	-96(%rbp), %eax
	movd	%eax, %xmm0
	movdqa	-112(%rbp), %xmm1
	pxor	LCPI0_0(%rip), %xmm1
	pxor	%xmm2, %xmm0
	por	%xmm1, %xmm0
	ptest	%xmm0, %xmm0
	je	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movzwl	-96(%rbp), %eax
	movd	%eax, %xmm0
	movdqa	-112(%rbp), %xmm1
	pxor	LCPI0_2(%rip), %xmm1
	pxor	%xmm2, %xmm0
	por	%xmm1, %xmm0
	ptest	%xmm0, %xmm0
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-112(%rbp), %rax
	movabsq	$7309475735108413552, %rcx      ## imm = 0x657079742D796870
	xorq	%rcx, %rax
	movzbl	-104(%rbp), %ecx
	orq	%rax, %rcx
	jne	LBB0_3
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$32, %eax
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movq	_NIU_VPD_PHY_TYPE_MAX@GOTPCREL(%rip), %rdx
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %eax
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	movq	_NIU_VPD_MODEL_MAX@GOTPCREL(%rip), %rdx
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$2, %eax
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	movq	_NIU_VPD_BD_MODEL_MAX@GOTPCREL(%rip), %rdx
	jmp	LBB0_21
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$8, %eax
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movq	_ETH_ALEN@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rcx), %r12
	movl	(%rdx), %ecx
	testl	%ecx, %ecx
	je	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%ecx, %r15d
	jg	LBB0_34
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	orl	%eax, %ecx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_2
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movl	%r15d, (%rsp)
	movq	%r13, %rdi
	leaq	L_.str.8(%rip), %r8
	leaq	-112(%rbp), %r9
	callq	_netif_printk
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %eax
	addq	%rax, %r14
	movl	%r15d, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=2
	incq	%r15
	cmpq	%r15, %rbx
	je	LBB0_29
LBB0_27:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%r14,%r15), %rsi
	movq	%r13, %rdi
	callq	_niu_pci_eeprom_read
	testl	%eax, %eax
	js	LBB0_26
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	%eax, (%r12,%r15,4)
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-128(%rbp), %r12                ## 8-byte Reload
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-120(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_4
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %ecx
	movl	$16, %eax
	movq	-160(%rbp), %r12                ## 8-byte Reload
	testl	%ecx, %ecx
	jne	LBB0_22
	jmp	LBB0_23
LBB0_32:
	movl	%ebx, %r15d
	jmp	LBB0_35
LBB0_30:
	movq	%r13, %rdi
	callq	_niu_vpd_parse_version
	movl	$1, %r15d
	jmp	LBB0_35
LBB0_33:
	xorl	%r15d, %r15d
	jmp	LBB0_35
LBB0_34:
	movl	4(%r13), %edi
	leaq	L_.str.7(%rip), %rsi
	leaq	-112(%rbp), %rdx
	movl	%r15d, %ecx
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_35:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_37
## %bb.36:
	movl	%r15d, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_probe,4,2                      ## @probe
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VPD_SCAN: start[%x] end[%x]\n"

L_.str.1:                               ## @.str.1
	.asciz	"model"

	.comm	_NIU_VPD_MODEL_MAX,4,2          ## @NIU_VPD_MODEL_MAX
L_.str.2:                               ## @.str.2
	.asciz	"board-model"

	.comm	_NIU_VPD_BD_MODEL_MAX,4,2       ## @NIU_VPD_BD_MODEL_MAX
	.comm	_NIU_VPD_VERSION_MAX,4,2        ## @NIU_VPD_VERSION_MAX
L_.str.4:                               ## @.str.4
	.asciz	"local-mac-address"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.5:                               ## @.str.5
	.asciz	"num-mac-addresses"

L_.str.6:                               ## @.str.6
	.asciz	"phy-type"

	.comm	_NIU_VPD_PHY_TYPE_MAX,4,2       ## @NIU_VPD_PHY_TYPE_MAX
L_.str.7:                               ## @.str.7
	.asciz	"Property '%s' length (%d) is too long\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.8:                               ## @.str.8
	.asciz	"VPD_SCAN: Reading in property [%s] len[%d]\n"

	.comm	_FOUND_MASK_ALL,4,2             ## @FOUND_MASK_ALL
	.comm	_FOUND_MASK_BMODEL,4,2          ## @FOUND_MASK_BMODEL
	.comm	_FOUND_MASK_MAC,4,2             ## @FOUND_MASK_MAC
	.comm	_FOUND_MASK_MODEL,4,2           ## @FOUND_MASK_MODEL
	.comm	_FOUND_MASK_NMAC,4,2            ## @FOUND_MASK_NMAC
	.comm	_FOUND_MASK_PHY,4,2             ## @FOUND_MASK_PHY
	.comm	_FOUND_MASK_VERS,4,2            ## @FOUND_MASK_VERS
	.no_dead_strip	_niu_pci_vpd_scan_props
.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_scan_props
_niu_pci_vpd_scan_props:                ; @niu_pci_vpd_scan_props
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _probe@GOTPAGE
Lloh4:
	ldr	x9, [x9, _probe@GOTPAGEOFF]
	stur	x8, [x29, #-88]
Lloh5:
	ldr	w1, [x9]
Lloh6:
	adrp	x28, _KERN_DEBUG@GOTPAGE
Lloh7:
	ldr	x28, [x28, _KERN_DEBUG@GOTPAGEOFF]
	ldr	w2, [x28]
	ldr	w3, [x0]
Lloh8:
	adrp	x4, l_.str@PAGE
Lloh9:
	add	x4, x4, l_.str@PAGEOFF
	mov	x5, x21
	mov	x6, x20
	bl	_netif_printk
	cmp	x21, x20
	b.ge	LBB0_28
; %bb.1:
	mov	w22, #0
	add	x9, x19, #48
	add	x10, x19, #8
	add	x8, x19, #40
	stp	x9, x8, [sp, #8]                ; 16-byte Folded Spill
	add	x9, x19, #32
	add	x8, x19, #24
	stp	x9, x8, [sp, #24]               ; 16-byte Folded Spill
	add	x8, x19, #16
	stp	x8, x10, [sp, #40]              ; 16-byte Folded Spill
	mov	w27, #115
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
	cmp	w22, #63
	b.eq	LBB0_31
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, x21, #2
	mov	x0, x19
	bl	_niu_pci_eeprom_read
	mov	x23, x0
	tbnz	w0, #31, LBB0_32
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, x21, #7
	mov	x0, x19
	bl	_niu_pci_eeprom_read
	mov	x24, x0
	tbnz	w0, #31, LBB0_29
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x21, #8
	add	x2, sp, #56
	mov	x0, x19
	mov	x1, x25
	mov	w3, #64
	bl	_niu_pci_vpd_get_propname
	mov	x26, x0
	tbnz	w0, #31, LBB0_33
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #56]
	mov	w9, #28525
	movk	w9, #25956, lsl #16
	eor	w8, w8, w9
	ldrh	w9, [sp, #60]
	mov	w10, #108
	eor	w9, w9, w10
	orr	w8, w8, w9
	cbz	w8, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #56]
	mov	x9, #28514
	movk	x9, #29281, lsl #16
	movk	x9, #11620, lsl #32
	movk	x9, #28525, lsl #48
	eor	x8, x8, x9
	ldr	w9, [sp, #64]
	mov	w10, #25956
	movk	w10, #108, lsl #16
	eor	x9, x9, x10
	orr	x8, x8, x9
	cbz	x8, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #56]
	mov	x9, #25974
	movk	x9, #29554, lsl #16
	movk	x9, #28521, lsl #32
	movk	x9, #110, lsl #48
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x8, x9, [sp, #56]
	mov	x10, #28524
	movk	x10, #24931, lsl #16
	movk	x10, #11628, lsl #32
	movk	x10, #24941, lsl #48
	eor	x8, x8, x10
	mov	x10, #11619
	movk	x10, #25697, lsl #16
	movk	x10, #29284, lsl #32
	movk	x10, #29541, lsl #48
	eor	x9, x9, x10
	ldrh	w10, [sp, #72]
	eor	x10, x10, x27
	orr	x8, x8, x9
	orr	x8, x8, x10
	cbz	x8, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldp	x8, x9, [sp, #56]
	mov	x10, #30062
	movk	x10, #11629, lsl #16
	movk	x10, #24941, lsl #32
	movk	x10, #11619, lsl #48
	eor	x8, x8, x10
	mov	x10, #25697
	movk	x10, #29284, lsl #16
	movk	x10, #29541, lsl #32
	movk	x10, #25971, lsl #48
	eor	x9, x9, x10
	ldrh	w10, [sp, #72]
	eor	x10, x10, x27
	orr	x8, x8, x9
	orr	x8, x8, x10
	cbz	x8, LBB0_27
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #56]
	mov	x9, #26736
	movk	x9, #11641, lsl #16
	movk	x9, #31092, lsl #32
	movk	x9, #25968, lsl #48
	eor	x8, x8, x9
	ldrb	w9, [sp, #64]
	orr	x8, x8, x9
	cbnz	x8, LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #32
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
Lloh10:
	adrp	x10, _NIU_VPD_PHY_TYPE_MAX@GOTPAGE
Lloh11:
	ldr	x10, [x10, _NIU_VPD_PHY_TYPE_MAX@GOTPAGEOFF]
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
Lloh12:
	adrp	x10, _NIU_VPD_MODEL_MAX@GOTPAGE
Lloh13:
	ldr	x10, [x10, _NIU_VPD_MODEL_MAX@GOTPAGEOFF]
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #2
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
Lloh14:
	adrp	x10, _NIU_VPD_BD_MODEL_MAX@GOTPAGE
Lloh15:
	ldr	x10, [x10, _NIU_VPD_BD_MODEL_MAX@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #4
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
Lloh16:
	adrp	x10, _NIU_VPD_VERSION_MAX@GOTPAGE
Lloh17:
	ldr	x10, [x10, _NIU_VPD_VERSION_MAX@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #8
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
Lloh18:
	adrp	x10, _ETH_ALEN@GOTPAGE
Lloh19:
	ldr	x10, [x10, _ETH_ALEN@GOTPAGEOFF]
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x27, [x9]
	ldr	w9, [x10]
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, #0
	ccmp	w24, w9, #4, ne
	b.gt	LBB0_34
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	orr	w22, w22, w8
	cbz	x27, LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh20:
	adrp	x8, _probe@GOTPAGE
Lloh21:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	w2, [x28]
	ldr	w3, [x19]
	add	x5, sp, #56
	mov	x0, x19
Lloh23:
	adrp	x4, l_.str.8@PAGE
Lloh24:
	add	x4, x4, l_.str.8@PAGEOFF
	mov	x6, x24
	bl	_netif_printk
	cbz	w24, LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, w26, uxtw
	mov	w24, w24
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=2
	add	x27, x27, #4
	add	x25, x25, #1
	subs	x24, x24, #1
	b.eq	LBB0_25
LBB0_23:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x25
	bl	_niu_pci_eeprom_read
	tbnz	w0, #31, LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	str	w0, [x27]
	b	LBB0_22
LBB0_25:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #115
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x21, #3
	add	x21, x8, w23, sxtw
	cmp	x21, x20
	b.lt	LBB0_2
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w9, #1
	mov	w8, #16
	ldr	x27, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_18
LBB0_28:
	mov	w24, #0
LBB0_29:
	ldur	x8, [x29, #-88]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_35
; %bb.30:
	mov	x0, x24
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_31:
	mov	x0, x19
	bl	_niu_vpd_parse_version
	mov	w24, #1
	b	LBB0_29
LBB0_32:
	mov	x24, x23
	b	LBB0_29
LBB0_33:
	mov	x24, x26
	b	LBB0_29
LBB0_34:
	ldr	w0, [x19, #4]
Lloh28:
	adrp	x1, l_.str.7@PAGE
Lloh29:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x2, sp, #56
	mov	x3, x24
	bl	_dev_err
Lloh30:
	adrp	x8, _EINVAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_29
LBB0_35:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_probe,4,2                      ; @probe
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VPD_SCAN: start[%x] end[%x]\n"

l_.str.1:                               ; @.str.1
	.asciz	"model"

	.comm	_NIU_VPD_MODEL_MAX,4,2          ; @NIU_VPD_MODEL_MAX
l_.str.2:                               ; @.str.2
	.asciz	"board-model"

	.comm	_NIU_VPD_BD_MODEL_MAX,4,2       ; @NIU_VPD_BD_MODEL_MAX
l_.str.3:                               ; @.str.3
	.asciz	"version"

	.comm	_NIU_VPD_VERSION_MAX,4,2        ; @NIU_VPD_VERSION_MAX
l_.str.4:                               ; @.str.4
	.asciz	"local-mac-address"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.5:                               ; @.str.5
	.asciz	"num-mac-addresses"

l_.str.6:                               ; @.str.6
	.asciz	"phy-type"

	.comm	_NIU_VPD_PHY_TYPE_MAX,4,2       ; @NIU_VPD_PHY_TYPE_MAX
l_.str.7:                               ; @.str.7
	.asciz	"Property '%s' length (%d) is too long\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.8:                               ; @.str.8
	.asciz	"VPD_SCAN: Reading in property [%s] len[%d]\n"

	.comm	_FOUND_MASK_ALL,4,2             ; @FOUND_MASK_ALL
	.comm	_FOUND_MASK_BMODEL,4,2          ; @FOUND_MASK_BMODEL
	.comm	_FOUND_MASK_MAC,4,2             ; @FOUND_MASK_MAC
	.comm	_FOUND_MASK_MODEL,4,2           ; @FOUND_MASK_MODEL
	.comm	_FOUND_MASK_NMAC,4,2            ; @FOUND_MASK_NMAC
	.comm	_FOUND_MASK_PHY,4,2             ; @FOUND_MASK_PHY
	.comm	_FOUND_MASK_VERS,4,2            ; @FOUND_MASK_VERS
	.no_dead_strip	_niu_pci_vpd_scan_props
.subsections_via_symbols
