	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfag12864b_update
_cfag12864b_update:                     ## @cfag12864b_update
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cfag12864b_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_cfag12864b_buffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_CFAG12864B_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	_CFAG12864B_CONTROLLERS@GOTPCREL(%rip), %rax
	cmpw	$0, (%rax)
	je	LBB0_15
## %bb.2:
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	movq	_CFAG12864B_CONTROLLERS@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	cmpl	%eax, %r13d
	jae	LBB0_15
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##         Child Loop BB0_8 Depth 4
	movzwl	%r13w, %edi
	callq	_cfag12864b_controller
	xorl	%eax, %eax
	callq	_cfag12864b_nop
	movq	_CFAG12864B_PAGES@GOTPCREL(%rip), %rax
	cmpw	$0, (%rax)
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	incl	%edx
	movq	_CFAG12864B_PAGES@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	$8, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	cmpl	%eax, %edx
	jae	LBB0_14
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##         Child Loop BB0_8 Depth 4
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movzwl	%dx, %edi
	callq	_cfag12864b_page
	xorl	%eax, %eax
	callq	_cfag12864b_nop
	xorl	%edi, %edi
	callq	_cfag12864b_address
	xorl	%eax, %eax
	callq	_cfag12864b_nop
	movq	_CFAG12864B_ADDRESSES@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	testw	%ax, %ax
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=3
	movzbl	%r15b, %edi
	callq	_cfag12864b_writebyte
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	incl	%r14d
	movq	_CFAG12864B_ADDRESSES@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	cmpw	%ax, %r14w
	jae	LBB0_13
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_8 Depth 4
	movzwl	%r14w, %ecx
	shrq	$3, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	andl	$7, %r14d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ##       Parent Loop BB0_7 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	_cfag12864b_buffer@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r13d, %ebx
	movl	%r13d, %edx
	movzwl	%ax, %eax
	imulq	%rdx, %rax
	shrq	$3, %rax
	addq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addl	%r12d, %edx
	movq	_CFAG12864B_WIDTH@GOTPCREL(%rip), %rsi
	movzwl	(%rsi), %esi
	imulq	%rsi, %rdx
	shrq	$3, %rdx
	addq	%rax, %rdx
	movl	(%rcx,%rdx,4), %r13d
	movzwl	%r14w, %edi
	callq	_bit
	movzbl	%al, %eax
	testl	%eax, %r13d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=4
	movzwl	%r12w, %edi
	callq	_bit
	orb	%al, %r15b
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=4
	movl	%ebx, %r13d
	cmpl	$7, %r12d
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=4
	movq	_CFAG12864B_ADDRESSES@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	incl	%r12d
	jmp	LBB0_8
LBB0_15:
	movq	_cfag12864b_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_cfag12864b_buffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_CFAG12864B_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
LBB0_16:
	movq	_cfag12864b_updating@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.18:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cfag12864b_queue               ## TAILCALL
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cfag12864b_cache,4,2           ## @cfag12864b_cache
	.comm	_cfag12864b_buffer,8,3          ## @cfag12864b_buffer
	.comm	_CFAG12864B_SIZE,4,2            ## @CFAG12864B_SIZE
	.comm	_CFAG12864B_CONTROLLERS,2,1     ## @CFAG12864B_CONTROLLERS
	.comm	_CFAG12864B_PAGES,2,1           ## @CFAG12864B_PAGES
	.comm	_CFAG12864B_ADDRESSES,2,1       ## @CFAG12864B_ADDRESSES
	.comm	_CFAG12864B_WIDTH,2,1           ## @CFAG12864B_WIDTH
	.comm	_cfag12864b_updating,8,3        ## @cfag12864b_updating
	.no_dead_strip	_cfag12864b_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfag12864b_update
_cfag12864b_update:                     ; @cfag12864b_update
	.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
Lloh0:
	adrp	x8, _cfag12864b_cache@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cfag12864b_cache@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _cfag12864b_buffer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cfag12864b_buffer@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
Lloh6:
	adrp	x8, _CFAG12864B_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CFAG12864B_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_memcmp
	cbz	x0, LBB0_16
; %bb.1:
Lloh9:
	adrp	x8, _CFAG12864B_CONTROLLERS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CFAG12864B_CONTROLLERS@GOTPAGEOFF]
	ldrh	w8, [x8]
	cbz	w8, LBB0_15
; %bb.2:
	mov	w24, #0
Lloh11:
	adrp	x26, _CFAG12864B_ADDRESSES@GOTPAGE
Lloh12:
	ldr	x26, [x26, _CFAG12864B_ADDRESSES@GOTPAGEOFF]
Lloh13:
	adrp	x27, _CFAG12864B_WIDTH@GOTPAGE
Lloh14:
	ldr	x27, [x27, _CFAG12864B_WIDTH@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, #1
Lloh15:
	adrp	x8, _CFAG12864B_CONTROLLERS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CFAG12864B_CONTROLLERS@GOTPAGEOFF]
	ldrh	w8, [x8]
	cmp	w24, w8
	b.hs	LBB0_15
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_10 Depth 3
                                        ;         Child Loop BB0_11 Depth 4
	and	w0, w24, #0xffff
	bl	_cfag12864b_controller
	bl	_cfag12864b_nop
Lloh17:
	adrp	x8, _CFAG12864B_PAGES@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CFAG12864B_PAGES@GOTPAGEOFF]
	ldrh	w8, [x8]
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #0
	mov	w9, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	add	w9, w9, #1
Lloh19:
	adrp	x8, _CFAG12864B_PAGES@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CFAG12864B_PAGES@GOTPAGEOFF]
	ldrh	w8, [x8]
	add	w28, w28, #8
	cmp	w9, w8
	b.hs	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_10 Depth 3
                                        ;         Child Loop BB0_11 Depth 4
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	and	w0, w9, #0xffff
	bl	_cfag12864b_page
	bl	_cfag12864b_nop
	mov	w0, #0
	bl	_cfag12864b_address
	bl	_cfag12864b_nop
	ldrh	w8, [x26]
	cbz	w8, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w22, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=3
	and	w0, w23, #0xff
	bl	_cfag12864b_writebyte
	add	w22, w22, #1
	ldrh	w8, [x26]
	cmp	w22, w8
	b.hs	LBB0_6
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_11 Depth 4
	mov	w25, #0
	mov	w23, #0
	mov	w9, w22
	lsr	x20, x9, #3
	and	w19, w22, #0x7
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ;       Parent Loop BB0_10 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
Lloh21:
	adrp	x9, _cfag12864b_buffer@GOTPAGE
Lloh22:
	ldr	x9, [x9, _cfag12864b_buffer@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	umull	x8, w24, w8
	add	x8, x20, x8, lsr #3
	add	w10, w28, w25
	ldrh	w11, [x27]
	mul	x10, x10, x11
	add	x8, x8, x10, lsr #3
	ldr	w21, [x9, x8, lsl #2]
	mov	x0, x19
	bl	_bit
	tst	w21, w0
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=4
	and	w0, w25, #0xffff
	bl	_bit
	orr	w23, w0, w23
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=4
	cmp	w25, #7
	b.eq	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=4
	ldrh	w8, [x26]
	add	w25, w25, #1
	b	LBB0_11
LBB0_15:
Lloh24:
	adrp	x8, _cfag12864b_cache@GOTPAGE
Lloh25:
	ldr	x8, [x8, _cfag12864b_cache@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _cfag12864b_buffer@GOTPAGE
Lloh28:
	ldr	x8, [x8, _cfag12864b_buffer@GOTPAGEOFF]
Lloh29:
	ldr	x1, [x8]
Lloh30:
	adrp	x8, _CFAG12864B_SIZE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CFAG12864B_SIZE@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	bl	_memcpy
LBB0_16:
Lloh33:
	adrp	x8, _cfag12864b_updating@GOTPAGE
Lloh34:
	ldr	x8, [x8, _cfag12864b_updating@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.17:
	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
	b	_cfag12864b_queue
LBB0_18:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_cfag12864b_cache,4,2           ; @cfag12864b_cache
	.comm	_cfag12864b_buffer,8,3          ; @cfag12864b_buffer
	.comm	_CFAG12864B_SIZE,4,2            ; @CFAG12864B_SIZE
	.comm	_CFAG12864B_CONTROLLERS,2,1     ; @CFAG12864B_CONTROLLERS
	.comm	_CFAG12864B_PAGES,2,1           ; @CFAG12864B_PAGES
	.comm	_CFAG12864B_ADDRESSES,2,1       ; @CFAG12864B_ADDRESSES
	.comm	_CFAG12864B_WIDTH,2,1           ; @CFAG12864B_WIDTH
	.comm	_cfag12864b_updating,8,3        ; @cfag12864b_updating
	.no_dead_strip	_cfag12864b_update
.subsections_via_symbols
