	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skge_get_eeprom_len
_skge_get_eeprom_len:                   ## @skge_get_eeprom_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	callq	_netdev_priv
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_PCI_DEV_REG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_PCI_VPD_ROM_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	-4(%rbp), %ecx
	shrl	$14, %ecx
	addb	$8, %cl
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DEV_REG2,4,2               ## @PCI_DEV_REG2
	.comm	_PCI_VPD_ROM_SZ,4,2             ## @PCI_VPD_ROM_SZ
	.no_dead_strip	_skge_get_eeprom_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skge_get_eeprom_len
_skge_get_eeprom_len:                   ; @skge_get_eeprom_len
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _PCI_DEV_REG2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_DEV_REG2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_pci_read_config_dword
	ldur	w8, [x29, #-4]
Lloh3:
	adrp	x9, _PCI_VPD_ROM_SZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCI_VPD_ROM_SZ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	asr	w8, w8, #14
	add	w8, w8, #8
	mov	w9, #1
	lsl	w0, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DEV_REG2,4,2               ; @PCI_DEV_REG2
	.comm	_PCI_VPD_ROM_SZ,4,2             ; @PCI_VPD_ROM_SZ
	.no_dead_strip	_skge_get_eeprom_len
.subsections_via_symbols
