	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_probe_vpd_strings
_efx_probe_vpd_strings:                 ## @efx_probe_vpd_strings
	.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	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r12
	movq	_SFC_VPD_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movq	%r15, %rcx
	callq	_pci_read_vpd
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movq	_PCI_VPD_LRDT_RO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_pci_vpd_find_tag
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	%eax, %r12d
	movl	%eax, %edi
	addq	%r15, %rdi
	callq	_pci_vpd_lrdt_size
                                        ## kill: def $eax killed $eax def $rax
	movq	_PCI_VPD_LRDT_TAG_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	addl	%r12d, %esi
	leal	(%rsi,%rax), %ecx
	movl	%ebx, %edx
	subl	%esi, %edx
	cmpl	%ebx, %ecx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmovlel	%eax, %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_pci_vpd_find_info_keyword
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movl	%eax, %r13d
	movl	%eax, %edi
	addq	%r15, %rdi
	callq	_pci_vpd_info_field_size
                                        ## kill: def $eax killed $eax def $rax
	movq	_PCI_VPD_INFO_FLD_HDR_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%r13d, %ecx
	leal	(%rcx,%rax), %edi
	movq	_drv@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	4(%r14), %edx
	cmpl	%ebx, %edi
	jle	LBB0_9
## %bb.7:
	leaq	L_.str.4(%rip), %rcx
	jmp	LBB0_8
LBB0_1:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_8
LBB0_3:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_8
LBB0_5:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_8
LBB0_9:
	movslq	%ecx, %r9
	addq	%r15, %r9
	leaq	L_.str.5(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %r8d
	callq	_netif_info
	movq	_PCI_VPD_LRDT_TAG_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r12d, %esi
	leaq	L_.str.6(%rip), %rcx
	movq	%r15, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_pci_vpd_find_info_keyword
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	movl	%eax, %r13d
	movl	%eax, %edi
	addq	%r15, %rdi
	callq	_pci_vpd_info_field_size
	movl	%eax, %ecx
	movq	_PCI_VPD_INFO_FLD_HDR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	addl	%r13d, %r12d
	leal	(%r12,%rcx), %eax
	cmpl	%ebx, %eax
	jle	LBB0_13
## %bb.12:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	leaq	L_.str.8(%rip), %rcx
	jmp	LBB0_8
LBB0_10:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	leaq	L_.str.7(%rip), %rcx
LBB0_8:
	movq	%r14, %rdi
	callq	_netif_err
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	incl	%ecx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, %rbx
	movl	%ecx, %edi
	callq	_kmalloc
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movslq	%r12d, %rcx
	addq	%rcx, %r15
	leaq	L_.str.9(%rip), %rdx
	movl	%eax, %edi
	movl	%ebx, %esi
	movq	%r15, %rcx
	callq	_snprintf
	jmp	LBB0_15
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SFC_VPD_LEN,4,2                ## @SFC_VPD_LEN
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to read VPD\n"

	.comm	_PCI_VPD_LRDT_RO_DATA,4,2       ## @PCI_VPD_LRDT_RO_DATA
L_.str.1:                               ## @.str.1
	.asciz	"VPD Read-only not found\n"

	.comm	_PCI_VPD_LRDT_TAG_SIZE,4,2      ## @PCI_VPD_LRDT_TAG_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"PN"

L_.str.3:                               ## @.str.3
	.asciz	"Part number not found\n"

	.comm	_PCI_VPD_INFO_FLD_HDR_SIZE,8,3  ## @PCI_VPD_INFO_FLD_HDR_SIZE
L_.str.4:                               ## @.str.4
	.asciz	"Incomplete part number\n"

L_.str.5:                               ## @.str.5
	.asciz	"Part Number : %.*s\n"

L_.str.6:                               ## @.str.6
	.asciz	"SN"

L_.str.7:                               ## @.str.7
	.asciz	"Serial number not found\n"

L_.str.8:                               ## @.str.8
	.asciz	"Incomplete serial number\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.9:                               ## @.str.9
	.asciz	"%s"

	.no_dead_strip	_efx_probe_vpd_strings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_probe_vpd_strings
_efx_probe_vpd_strings:                 ; @efx_probe_vpd_strings
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x0, [x0, #8]
Lloh3:
	adrp	x8, _SFC_VPD_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SFC_VPD_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x9, x2
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	mov	w1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x20
	bl	_pci_read_vpd
	cmp	w0, #0
	b.le	LBB0_5
; %bb.1:
	mov	x21, x0
Lloh8:
	adrp	x8, _PCI_VPD_LRDT_RO_DATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PCI_VPD_LRDT_RO_DATA@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	x2, x21
	bl	_pci_vpd_find_tag
	tbnz	w0, #31, LBB0_6
; %bb.2:
	mov	x22, x0
	add	x0, x20, w0, uxtw
	bl	_pci_vpd_lrdt_size
	mov	x23, x0
Lloh11:
	adrp	x25, _PCI_VPD_LRDT_TAG_SIZE@GOTPAGE
Lloh12:
	ldr	x25, [x25, _PCI_VPD_LRDT_TAG_SIZE@GOTPAGEOFF]
	ldr	w8, [x25]
	add	w1, w8, w22
	add	w8, w1, w0
	sub	w9, w21, w1
	cmp	w8, w21
	csel	w2, w9, w0, gt
Lloh13:
	adrp	x3, l_.str.2@PAGE
Lloh14:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_pci_vpd_find_info_keyword
	tbnz	w0, #31, LBB0_7
; %bb.3:
	mov	x24, x0
	add	x0, x20, w0, uxtw
	bl	_pci_vpd_info_field_size
Lloh15:
	adrp	x26, _PCI_VPD_INFO_FLD_HDR_SIZE@GOTPAGE
Lloh16:
	ldr	x26, [x26, _PCI_VPD_INFO_FLD_HDR_SIZE@GOTPAGEOFF]
	ldr	w8, [x26]
	add	w8, w24, w8
	add	w9, w8, w0
Lloh17:
	adrp	x24, _drv@GOTPAGE
Lloh18:
	ldr	x24, [x24, _drv@GOTPAGEOFF]
	ldr	w1, [x24]
	ldr	w2, [x19, #4]
	cmp	w9, w21
	b.le	LBB0_8
; %bb.4:
Lloh19:
	adrp	x3, l_.str.4@PAGE
Lloh20:
	add	x3, x3, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_5:
Lloh21:
	adrp	x8, _drv@GOTPAGE
Lloh22:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
Lloh24:
	adrp	x3, l_.str@PAGE
Lloh25:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_12
LBB0_6:
Lloh26:
	adrp	x8, _drv@GOTPAGE
Lloh27:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
Lloh29:
	adrp	x3, l_.str.1@PAGE
Lloh30:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_7:
Lloh31:
	adrp	x8, _drv@GOTPAGE
Lloh32:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
Lloh34:
	adrp	x3, l_.str.3@PAGE
Lloh35:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_8:
	mov	x4, x0
	add	x5, x20, w8, sxtw
Lloh36:
	adrp	x3, l_.str.5@PAGE
Lloh37:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_netif_info
	ldr	w8, [x25]
	add	w1, w8, w22
Lloh38:
	adrp	x3, l_.str.6@PAGE
Lloh39:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_pci_vpd_find_info_keyword
	tbnz	w0, #31, LBB0_11
; %bb.9:
	mov	x22, x0
	add	x0, x20, w0, uxtw
	bl	_pci_vpd_info_field_size
	ldr	w8, [x26]
	add	w22, w22, w8
	add	w8, w22, w0
	cmp	w8, w21
	b.le	LBB0_15
; %bb.10:
	ldr	w1, [x24]
	ldr	w2, [x19, #4]
Lloh40:
	adrp	x3, l_.str.8@PAGE
Lloh41:
	add	x3, x3, l_.str.8@PAGEOFF
	b	LBB0_12
LBB0_11:
	ldr	w1, [x24]
	ldr	w2, [x19, #4]
Lloh42:
	adrp	x3, l_.str.7@PAGE
Lloh43:
	add	x3, x3, l_.str.7@PAGEOFF
LBB0_12:
	mov	x0, x19
	bl	_netif_err
LBB0_13:
	ldur	x8, [x29, #-72]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.14:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
	add	w21, w0, #1
Lloh47:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh48:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kmalloc
	str	w0, [x19]
	cbz	w0, LBB0_13
; %bb.16:
	add	x3, x20, w22, sxtw
Lloh50:
	adrp	x2, l_.str.9@PAGE
Lloh51:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x1, x21
	bl	_snprintf
	b	LBB0_13
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_SFC_VPD_LEN,4,2                ; @SFC_VPD_LEN
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to read VPD\n"

	.comm	_PCI_VPD_LRDT_RO_DATA,4,2       ; @PCI_VPD_LRDT_RO_DATA
l_.str.1:                               ; @.str.1
	.asciz	"VPD Read-only not found\n"

	.comm	_PCI_VPD_LRDT_TAG_SIZE,4,2      ; @PCI_VPD_LRDT_TAG_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"PN"

l_.str.3:                               ; @.str.3
	.asciz	"Part number not found\n"

	.comm	_PCI_VPD_INFO_FLD_HDR_SIZE,8,3  ; @PCI_VPD_INFO_FLD_HDR_SIZE
l_.str.4:                               ; @.str.4
	.asciz	"Incomplete part number\n"

l_.str.5:                               ; @.str.5
	.asciz	"Part Number : %.*s\n"

l_.str.6:                               ; @.str.6
	.asciz	"SN"

l_.str.7:                               ; @.str.7
	.asciz	"Serial number not found\n"

l_.str.8:                               ; @.str.8
	.asciz	"Incomplete serial number\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.9:                               ; @.str.9
	.asciz	"%s"

	.no_dead_strip	_efx_probe_vpd_strings
.subsections_via_symbols
