	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eeprom_93c_write               ## -- Begin function eeprom_93c_write
	.p2align	4, 0x90
_eeprom_93c_write:                      ## @eeprom_93c_write
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_BIT_CS@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	btl	%eax, %edi
	jae	LBB0_28
## %bb.1:
	movq	_BIT_CLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %ebx
	jae	LBB0_30
## %bb.2:
	movq	_eeprom_93c@GOTPCREL(%rip), %r14
	cmpb	$0, (%r14)
	jne	LBB0_30
## %bb.3:
	movl	4(%r14), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_30
## %bb.4:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_21:
	movq	_BIT_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	btl	%ecx, %ebx
	setb	%dl
	movl	12(%r14), %esi
	movb	$15, %cl
	subb	%sil, %cl
	shll	%cl, %edx
	orb	16(%r14), %dl
	movb	%dl, 16(%r14)
	incl	%esi
	movl	%esi, 12(%r14)
	cmpl	$16, %esi
	jne	LBB0_30
## %bb.22:
	cmpl	$0, 24(%r14)
	je	LBB0_15
## %bb.23:
	movzbl	%dl, %ecx
	movzbl	8(%r14), %esi
	movq	_sram@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	testb	$64, %sil
	jne	LBB0_31
## %bb.24:
	movl	$64, %esi
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, (%rdx)
	movq	%rcx, 2(%rdx)
	movq	%rcx, 4(%rdx)
	movq	%rcx, 6(%rdx)
	addq	$8, %rdx
	addq	$-4, %rsi
	jne	LBB0_25
	jmp	LBB0_15
LBB0_28:
	movq	_eeprom_93c@GOTPCREL(%rip), %rcx
	cmpl	$0, 28(%rcx)
	je	LBB0_30
## %bb.29:
	movl	$1, 20(%rcx)
	movl	$129, 4(%rcx)
LBB0_30:
	xorl	%ecx, %ecx
	btl	%eax, %ebx
	setb	%cl
	movq	_eeprom_93c@GOTPCREL(%rip), %rax
	movl	%ecx, 28(%rax)
	movq	_BIT_CLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %ebx
	setb	(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_BIT_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %ebx
	jae	LBB0_30
## %bb.6:
	movb	$0, 8(%r14)
	movl	$0, 12(%r14)
	movl	$131, 4(%r14)
	jmp	LBB0_30
LBB0_26:
	movzbl	16(%r14), %esi
	movl	12(%r14), %edx
	movb	$15, %cl
	subb	%dl, %cl
	movzbl	%cl, %ecx
	xorl	%edi, %edi
	btl	%ecx, %esi
	setb	%dil
	movl	%edi, 20(%r14)
	incl	%edx
	movl	%edx, 12(%r14)
	cmpl	$16, %edx
	jne	LBB0_30
## %bb.27:
	movb	8(%r14), %cl
	incb	%cl
	movb	%cl, 8(%r14)
	movl	$0, 12(%r14)
	movq	_sram@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movzbl	%cl, %ecx
	andl	$63, %ecx
	movb	(%rdx,%rcx,2), %cl
	movb	%cl, 16(%r14)
	jmp	LBB0_30
LBB0_7:
	movq	_BIT_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	btl	%ecx, %ebx
	setb	%dl
	movl	12(%r14), %esi
	movb	$7, %cl
	subb	%sil, %cl
	shll	%cl, %edx
	orb	8(%r14), %dl
	movb	%dl, 8(%r14)
	incl	%esi
	movl	%esi, 12(%r14)
	cmpl	$8, %esi
	jne	LBB0_30
## %bb.8:
	movzbl	%dl, %ecx
	movl	%ecx, %edx
	shrl	$6, %edx
	cmpl	$3, %edx
	je	LBB0_13
## %bb.9:
	cmpl	$2, %edx
	je	LBB0_12
## %bb.10:
	cmpl	$1, %edx
	je	LBB0_11
## %bb.16:
	shrl	$4, %ecx
	movl	%ecx, %edx
	andl	$3, %edx
	cmpl	$2, %edx
	je	LBB0_19
## %bb.17:
	cmpl	$1, %edx
	jne	LBB0_18
LBB0_11:
	movb	$0, 16(%r14)
	movl	$0, 12(%r14)
	movl	$128, 4(%r14)
	jmp	LBB0_30
LBB0_31:
	andl	$63, %esi
	movq	%rcx, (%rdx,%rsi,2)
	jmp	LBB0_15
LBB0_13:
	cmpl	$0, 24(%r14)
	je	LBB0_15
## %bb.14:
	movq	_sram@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	andl	$63, %ecx
	movq	$65535, (%rdx,%rcx,2)           ## imm = 0xFFFF
	jmp	LBB0_15
LBB0_12:
	movq	_sram@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	andl	$63, %ecx
	movb	(%rdx,%rcx,2), %cl
	movb	%cl, 16(%r14)
	movl	$0, 12(%r14)
	movl	$130, 4(%r14)
	movl	$0, 20(%r14)
	jmp	LBB0_30
LBB0_19:
	cmpl	$0, 24(%r14)
	je	LBB0_15
## %bb.20:
	movq	_sram@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$255, %esi
	movl	$128, %edx
	callq	_memset
	movl	(%r15), %eax
	jmp	LBB0_15
LBB0_18:
	andl	$1, %ecx
	movl	%ecx, 24(%r14)
LBB0_15:
	movq	_WAIT_STANDBY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r14)
	jmp	LBB0_30
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_5
	.long	L0_0_set_26
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_BIT_CS,4,2                     ## @BIT_CS
	.comm	_BIT_CLK,4,2                    ## @BIT_CLK
	.comm	_eeprom_93c,32,2                ## @eeprom_93c
	.comm	_BIT_DATA,4,2                   ## @BIT_DATA
	.comm	_sram,4,2                       ## @sram
	.comm	_WAIT_STANDBY,8,3               ## @WAIT_STANDBY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eeprom_93c_write               ; -- Begin function eeprom_93c_write
	.p2align	2
_eeprom_93c_write:                      ; @eeprom_93c_write
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _BIT_CS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BIT_CS@GOTPAGEOFF]
	ldr	w8, [x22]
	lsr	w9, w0, w8
Lloh2:
	adrp	x20, _eeprom_93c@GOTPAGE
Lloh3:
	ldr	x20, [x20, _eeprom_93c@GOTPAGEOFF]
Lloh4:
	adrp	x21, _BIT_CLK@GOTPAGE
Lloh5:
	ldr	x21, [x21, _BIT_CLK@GOTPAGEOFF]
	tbz	w9, #0, LBB0_10
; %bb.1:
	ldr	w9, [x21]
	lsr	w9, w19, w9
	tbz	w9, #0, LBB0_13
; %bb.2:
	ldrb	w9, [x20]
	cbnz	w9, LBB0_13
; %bb.3:
	ldr	w9, [x20, #4]
	sub	w9, w9, #128
	cmp	w9, #3
	b.hi	LBB0_13
; %bb.4:
Lloh6:
	adrp	x10, lJTI0_0@PAGE
Lloh7:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_5
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_5:
Lloh8:
	adrp	x9, _BIT_DATA@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BIT_DATA@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	lsr	w9, w19, w9
	and	w9, w9, #0x1
	ldr	w10, [x20, #12]
	mov	w11, #15
	sub	w11, w11, w10
	lsl	w9, w9, w11
	ldrb	w11, [x20, #16]
	orr	w9, w11, w9
	strb	w9, [x20, #16]
	add	w10, w10, #1
	str	w10, [x20, #12]
	cmp	w10, #16
	b.ne	LBB0_13
; %bb.6:
	ldr	w10, [x20, #24]
	cbz	w10, LBB0_32
; %bb.7:
	and	x9, x9, #0xff
	ldrb	w11, [x20, #8]
Lloh11:
	adrp	x10, _sram@GOTPAGE
Lloh12:
	ldr	x10, [x10, _sram@GOTPAGEOFF]
Lloh13:
	ldrsw	x10, [x10]
	tbnz	w11, #6, LBB0_25
; %bb.8:
	mov	x11, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	str	x9, [x10, x11]
	add	x11, x11, #2
	cmp	x11, #128
	b.ne	LBB0_9
	b	LBB0_32
LBB0_10:
	ldr	w9, [x20, #28]
	cbz	w9, LBB0_13
; %bb.11:
	mov	w9, #1
	str	w9, [x20, #20]
	mov	w9, #129
LBB0_12:
	str	w9, [x20, #4]
LBB0_13:
	lsr	w8, w19, w8
	and	w8, w8, #0x1
	str	w8, [x20, #28]
	ldr	w8, [x21]
	lsr	w8, w19, w8
	and	w8, w8, #0x1
	strb	w8, [x20]
	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
LBB0_14:
Lloh14:
	adrp	x9, _BIT_DATA@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BIT_DATA@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	lsr	w9, w19, w9
	tbz	w9, #0, LBB0_13
; %bb.15:
	strb	wzr, [x20, #8]
	str	wzr, [x20, #12]
	mov	w9, #131
	b	LBB0_12
LBB0_16:
	ldrb	w9, [x20, #16]
	ldr	w10, [x20, #12]
	mov	w11, #15
	sub	w11, w11, w10
	lsr	w9, w9, w11
	and	w9, w9, #0x1
	str	w9, [x20, #20]
	add	w9, w10, #1
	str	w9, [x20, #12]
	cmp	w9, #16
	b.ne	LBB0_13
; %bb.17:
	ldrb	w9, [x20, #8]
	add	w9, w9, #1
	strb	w9, [x20, #8]
	str	wzr, [x20, #12]
Lloh17:
	adrp	x10, _sram@GOTPAGE
Lloh18:
	ldr	x10, [x10, _sram@GOTPAGEOFF]
Lloh19:
	ldrsw	x10, [x10]
	lsl	w9, w9, #1
	and	x9, x9, #0x7e
	ldr	x9, [x10, x9]
	strb	w9, [x20, #16]
	b	LBB0_13
LBB0_18:
Lloh20:
	adrp	x9, _BIT_DATA@GOTPAGE
Lloh21:
	ldr	x9, [x9, _BIT_DATA@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	lsr	w9, w19, w9
	and	w9, w9, #0x1
	ldr	w10, [x20, #12]
	mov	w11, #7
	sub	w11, w11, w10
	lsl	w9, w9, w11
	ldrb	w11, [x20, #8]
	orr	w9, w11, w9
	strb	w9, [x20, #8]
	add	w10, w10, #1
	str	w10, [x20, #12]
	cmp	w10, #8
	b.ne	LBB0_13
; %bb.19:
	and	w9, w9, #0xff
	lsr	w10, w9, #6
	cmp	w10, #3
	b.eq	LBB0_26
; %bb.20:
	cmp	w10, #2
	b.eq	LBB0_28
; %bb.21:
	cmp	w10, #1
	b.eq	LBB0_24
; %bb.22:
	ubfx	w10, w9, #4, #2
	cmp	w10, #2
	b.eq	LBB0_29
; %bb.23:
	cmp	w10, #1
	b.ne	LBB0_31
LBB0_24:
	strb	wzr, [x20, #16]
	str	wzr, [x20, #12]
	mov	w9, #128
	b	LBB0_12
LBB0_25:
	lsl	w11, w11, #1
	and	x11, x11, #0x7e
	str	x9, [x10, x11]
	b	LBB0_32
LBB0_26:
	ldr	w10, [x20, #24]
	cbz	w10, LBB0_32
; %bb.27:
Lloh23:
	adrp	x10, _sram@GOTPAGE
Lloh24:
	ldr	x10, [x10, _sram@GOTPAGEOFF]
Lloh25:
	ldrsw	x10, [x10]
	lsl	w9, w9, #1
	and	x9, x9, #0x7e
	mov	w11, #65535
	str	x11, [x10, x9]
	b	LBB0_32
LBB0_28:
Lloh26:
	adrp	x10, _sram@GOTPAGE
Lloh27:
	ldr	x10, [x10, _sram@GOTPAGEOFF]
Lloh28:
	ldrsw	x10, [x10]
	lsl	w9, w9, #1
	and	x9, x9, #0x7e
	ldr	x9, [x10, x9]
	strb	w9, [x20, #16]
	str	wzr, [x20, #12]
	mov	w9, #130
	str	w9, [x20, #4]
	str	wzr, [x20, #20]
	b	LBB0_13
LBB0_29:
	ldr	w9, [x20, #24]
	cbz	w9, LBB0_32
; %bb.30:
Lloh29:
	adrp	x8, _sram@GOTPAGE
Lloh30:
	ldr	x8, [x8, _sram@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	w1, #255
	mov	w2, #128
	bl	_memset
	ldr	w8, [x22]
	b	LBB0_32
LBB0_31:
	ubfx	w9, w9, #4, #1
	str	w9, [x20, #24]
LBB0_32:
Lloh32:
	adrp	x9, _WAIT_STANDBY@GOTPAGE
Lloh33:
	ldr	x9, [x9, _WAIT_STANDBY@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	str	w9, [x20, #4]
	b	LBB0_13
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_16-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
                                        ; -- End function
	.comm	_BIT_CS,4,2                     ; @BIT_CS
	.comm	_BIT_CLK,4,2                    ; @BIT_CLK
	.comm	_eeprom_93c,32,2                ; @eeprom_93c
	.comm	_BIT_DATA,4,2                   ; @BIT_DATA
	.comm	_sram,4,2                       ; @sram
	.comm	_WAIT_STANDBY,8,3               ; @WAIT_STANDBY
.subsections_via_symbols
