	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bpck_read_eeprom
_bpck_read_eeprom:                      ## @bpck_read_eeprom
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_bpck_force_spp
	movl	(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movabsq	$25769803776, %rax              ## imm = 0x600000000
	movq	%rax, (%rbx)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_bpck_connect
	xorl	%r15d, %r15d
	movl	$4, %edi
	xorl	%esi, %esi
	callq	_WR
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	$6, %edi
	movl	$8, %esi
	callq	_WR
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	leal	384(%r15), %r12d
	movl	%r12d, %ebx
	shrl	$7, %ebx
	andl	$2, %ebx
	leal	12(%rbx), %r13d
	movl	$6, %edi
	movl	%r13d, %esi
	callq	_WR
	orl	$13, %ebx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_WR
	movl	$6, %edi
	movl	%r13d, %esi
	callq	_WR
	shrl	$6, %r12d
	andl	$2, %r12d
	leal	12(%r12), %ebx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_WR
	orl	$13, %r12d
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_WR
	movl	%r15d, %ebx
	shrl	$5, %ebx
	andl	$2, %ebx
	leal	12(%rbx), %r12d
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	orl	$13, %ebx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_WR
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	movl	%r15d, %ebx
	shrl	$4, %ebx
	andl	$2, %ebx
	leal	12(%rbx), %r12d
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	orl	$13, %ebx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_WR
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	movl	%r15d, %ebx
	shrl	$3, %ebx
	andl	$2, %ebx
	leal	12(%rbx), %r12d
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	orl	$13, %ebx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_WR
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	movl	%r15d, %ebx
	shrl	$2, %ebx
	andl	$2, %ebx
	leal	12(%rbx), %r12d
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	orl	$13, %ebx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_WR
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	movl	%r15d, %ebx
	shrl	%ebx
	andl	$2, %ebx
	leal	12(%rbx), %r12d
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	orl	$13, %ebx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_WR
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	movl	%r15d, %ebx
	andl	$2, %ebx
	leal	12(%rbx), %r12d
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	orl	$13, %ebx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_WR
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	leal	(%r15,%r15), %ebx
	andl	$2, %ebx
	leal	12(%rbx), %r12d
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	orl	$13, %ebx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_WR
	movl	$6, %edi
	movl	%r12d, %esi
	callq	_WR
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%r15), %rax
	incq	%rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movb	$1, %r13b
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	movl	$6, %edi
	movl	$13, %esi
	callq	_WR
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	xorl	%edi, %edi
	callq	_RR
	cmpl	$132, %eax
	sete	%bl
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	movl	$6, %edi
	movl	$13, %esi
	callq	_WR
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	xorl	%edi, %edi
	callq	_RR
	addb	%bl, %bl
	cmpl	$132, %eax
	sete	%r14b
	orb	%bl, %r14b
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	movl	$6, %edi
	movl	$13, %esi
	callq	_WR
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	xorl	%edi, %edi
	callq	_RR
	cmpl	$132, %eax
	sete	%r12b
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	movl	$6, %edi
	movl	$13, %esi
	callq	_WR
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	xorl	%edi, %edi
	callq	_RR
	shlb	$2, %r14b
	addb	%r12b, %r12b
	orb	%r14b, %r12b
	cmpl	$132, %eax
	sete	%r14b
	orb	%r12b, %r14b
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	movl	$6, %edi
	movl	$13, %esi
	callq	_WR
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	xorl	%edi, %edi
	callq	_RR
	cmpl	$132, %eax
	sete	%bl
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	movl	$6, %edi
	movl	$13, %esi
	callq	_WR
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	xorl	%edi, %edi
	callq	_RR
	shlb	$2, %r14b
	addb	%bl, %bl
	orb	%r14b, %bl
	cmpl	$132, %eax
	sete	%r14b
	orb	%bl, %r14b
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	movl	$6, %edi
	movl	$13, %esi
	callq	_WR
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	xorl	%edi, %edi
	callq	_RR
	cmpl	$132, %eax
	sete	%bl
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	movl	$6, %edi
	movl	$13, %esi
	callq	_WR
	movl	$6, %edi
	movl	$12, %esi
	callq	_WR
	xorl	%edi, %edi
	callq	_RR
	shlb	$2, %r14b
	addb	%bl, %bl
	orb	%r14b, %bl
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	cmpl	$132, %eax
	sete	%al
	orb	%bl, %al
	addq	-80(%rbp), %r15                 ## 8-byte Folded Reload
	movb	%al, (%r14,%r15)
	movq	$-1, %r15
	testb	$1, %r13b
	movl	$0, %r13d
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	cmpq	$64, %r15
	jne	LBB0_1
## %bb.4:
	movl	$6, %edi
	movl	$8, %esi
	callq	_WR
	movl	$6, %edi
	xorl	%esi, %esi
	callq	_WR
	movl	$5, %edi
	movl	$8, %esi
	callq	_WR
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_bpck_disconnect
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	cmpl	$2, %r14d
	jl	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_bpck_connect
	movl	$7, %edi
	movl	$3, %esi
	callq	_WR
	movl	$4, %edi
	movl	$8, %esi
	callq	_WR
	movq	%rbx, %rdi
	callq	_bpck_disconnect
LBB0_6:
	movl	%r14d, (%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%rbx)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bpck_read_eeprom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function bpck_read_eeprom
lCPI0_0:
	.long	0                               ; 0x0
	.long	6                               ; 0x6
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_bpck_read_eeprom:                      ; @bpck_read_eeprom
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x1
	mov	x19, x0
	bl	_bpck_force_spp
	ldr	d0, [x19]
	str	q0, [sp]                        ; 16-byte Folded Spill
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	mov	x0, x19
	bl	_bpck_connect
	mov	w0, #4
	mov	w1, #0
	bl	_WR
	mov	x22, #0
	mov	w23, #13
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	w0, #6
	mov	w1, #8
	bl	_WR
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	add	w24, w22, #384
	lsr	w8, w24, #7
	and	w25, w8, #0x2
	orr	w21, w25, #0xc
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	orr	w1, w25, w23
	mov	w0, #6
	bl	_WR
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	lsr	w8, w24, #6
	and	w24, w8, #0x2
	orr	w21, w24, #0xc
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	orr	w1, w24, w23
	mov	w0, #6
	bl	_WR
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	ubfx	x8, x22, #5, #27
	and	w24, w8, #0x2
	orr	w21, w24, #0xc
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	orr	w1, w24, w23
	mov	w0, #6
	bl	_WR
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	ubfx	x8, x22, #4, #28
	and	w24, w8, #0x2
	orr	w21, w24, #0xc
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	orr	w1, w24, w23
	mov	w0, #6
	bl	_WR
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	ubfx	x8, x22, #3, #29
	and	w24, w8, #0x2
	orr	w21, w24, #0xc
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	orr	w1, w24, w23
	mov	w0, #6
	bl	_WR
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	ubfx	x8, x22, #2, #30
	and	w24, w8, #0x2
	orr	w21, w24, #0xc
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	orr	w1, w24, w23
	mov	w0, #6
	bl	_WR
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	ubfx	x8, x22, #1, #31
	and	w24, w8, #0x2
	orr	w21, w24, #0xc
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	orr	w1, w24, w23
	mov	w0, #6
	bl	_WR
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	and	w24, w22, #0x2
	orr	w21, w24, #0xc
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	orr	w1, w24, w23
	mov	w0, #6
	bl	_WR
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	mov	w21, #12
	bfi	w21, w22, #1, #1
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	mov	w1, #13
	bfi	w1, w22, #1, #1
	mov	w0, #6
	bl	_WR
	mov	w0, #6
	mov	x1, x21
	bl	_WR
	mov	x21, #0
	mov	w8, #1
	mov	w24, #1
	bfi	x24, x22, #1, #63
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x25, x8
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #6
	mov	w1, #13
	bl	_WR
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #0
	bl	_RR
	cmp	w0, #132
	cset	w26, eq
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #6
	mov	w1, #13
	bl	_WR
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #0
	bl	_RR
	cmp	w0, #132
	cset	w27, eq
	bfi	w27, w26, #1, #1
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #6
	mov	w1, #13
	bl	_WR
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #0
	bl	_RR
	cmp	w0, #132
	cset	w26, eq
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #6
	mov	w1, #13
	bl	_WR
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #0
	bl	_RR
	lsl	w8, w26, #1
	bfi	w8, w27, #2, #2
	cmp	w0, #132
	cset	w9, eq
	orr	w26, w8, w9
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #6
	mov	w1, #13
	bl	_WR
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #0
	bl	_RR
	cmp	w0, #132
	cset	w27, eq
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #6
	mov	w1, #13
	bl	_WR
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #0
	bl	_RR
	lsl	w8, w27, #1
	bfi	w8, w26, #2, #30
	cmp	w0, #132
	cset	w9, eq
	orr	w26, w8, w9
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #6
	mov	w1, #13
	bl	_WR
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #0
	bl	_RR
	cmp	w0, #132
	cset	w27, eq
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #6
	mov	w1, #13
	bl	_WR
	mov	w0, #6
	mov	w1, #12
	bl	_WR
	mov	w0, #0
	bl	_RR
	mov	w8, #0
	lsl	w9, w27, #1
	bfi	w9, w26, #2, #30
	cmp	w0, #132
	cset	w10, eq
	orr	w9, w9, w10
	add	x10, x21, x24
	strb	w9, [x20, x10]
	mov	x21, #-1
	tbnz	w25, #0, LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x22, x22, #1
	cmp	x22, #64
	b.ne	LBB0_1
; %bb.4:
	mov	w0, #6
	mov	w1, #8
	bl	_WR
	mov	w0, #6
	mov	w1, #0
	bl	_WR
	mov	w0, #5
	mov	w1, #8
	bl	_WR
	mov	x0, x19
	bl	_bpck_disconnect
	ldr	q0, [sp]                        ; 16-byte Folded Reload
	fmov	w8, s0
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_bpck_connect
	mov	w0, #7
	mov	w1, #3
	bl	_WR
	mov	w0, #4
	mov	w1, #8
	bl	_WR
	mov	x0, x19
	bl	_bpck_disconnect
LBB0_6:
	ldr	q0, [sp]                        ; 16-byte Folded Reload
	str	d0, [x19]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bpck_read_eeprom
.subsections_via_symbols
