	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p54_rx_eeprom_readback
_p54_rx_eeprom_readback:                ## @p54_rx_eeprom_readback
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rsi), %r12
	xorl	%eax, %eax
	cmpl	$1289, (%rdi)                   ## imm = 0x509
	movq	8(%r12), %rcx
	setge	%al
	movl	(%rcx,%rax,8), %edi
	movl	4(%rcx,%rax,8), %r15d
	callq	_le16_to_cpu
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_memcpy
	movq	$0, 8(%rbx)
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_p54_find_and_unlink_skb
	movq	%rax, %rdi
	callq	_dev_kfree_skb_any
	addq	$4, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_complete                       ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_p54_rx_eeprom_readback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p54_rx_eeprom_readback
_p54_rx_eeprom_readback:                ; @p54_rx_eeprom_readback
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x20, [x0, #8]
	cbz	x20, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x22, [x1]
	ldr	x8, [x22, #8]
	ldr	w9, [x0]
	cmp	w9, #1288
	cset	w9, gt
	lsl	x9, x9, #3
	mov	w10, #4
	mov	w11, #12
	csel	x10, x11, x10, gt
	ldr	w21, [x8, x10]
	ldr	w0, [x8, x9]
	bl	_le16_to_cpu
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
	str	xzr, [x19, #8]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_p54_find_and_unlink_skb
	bl	_dev_kfree_skb_any
	add	x0, x19, #4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_complete
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_p54_rx_eeprom_readback
.subsections_via_symbols
