	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_get_eeprom_len
_cp_get_eeprom_len:                     ## @cp_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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_spin_lock_irq
	movl	4(%r14), %edi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_read_eeprom
	xorl	%ebx, %ebx
	cmpl	$33065, %eax                    ## imm = 0x8129
	sete	%bl
	shll	$7, %ebx
	subl	$-128, %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cp_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 cp_get_eeprom_len
_cp_get_eeprom_len:                     ; @cp_get_eeprom_len
	.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
	bl	_netdev_priv
	mov	x19, x0
	bl	_spin_lock_irq
	ldr	w0, [x19, #4]
	mov	w1, #0
	mov	w2, #8
	bl	_read_eeprom
	mov	w8, #33065
	mov	w9, #128
	mov	w10, #256
	cmp	w0, w8
	csel	w20, w10, w9, eq
	mov	x0, x19
	bl	_spin_unlock_irq
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cp_get_eeprom_len
.subsections_via_symbols
