	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_buffer                    ## -- Begin function send_buffer
	.p2align	4, 0x90
_send_buffer:                           ## @send_buffer
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_LCDHEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	$8, %ecx
	jl	LBB0_14
## %bb.1:
	movq	_LCDWIDTH@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	xorl	%r14d, %r14d
	movq	_micro_oled_screen_buffer@GOTPCREL(%rip), %r13
	movl	%eax, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_LCDHEIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	leal	7(%rcx), %esi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	sarl	$3, %esi
	cmpl	%esi, %r14d
	jge	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%edx, %edx
	jle	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rcx
	movq	_micro_oled_screen_current@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	xorl	%ebx, %ebx
	movl	$255, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	(%r13), %rax
	movl	(%r12), %ecx
	imull	%r14d, %ecx
	addl	%ebx, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_send_data
	movq	(%r13), %rcx
	movl	(%r12), %eax
	movl	%eax, %edx
	imull	%r14d, %edx
	addl	%ebx, %edx
	movslq	%edx, %rdx
	movq	(%rcx,%rdx,8), %rdi
	movq	_micro_oled_screen_current@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rdi, (%rsi,%rdx,8)
	incl	%ebx
	movl	%ebx, %r15d
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=2
	movl	%eax, %edx
	cmpl	%eax, %ebx
	jge	LBB0_12
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	imull	%r14d, %edx
	addl	%ebx, %edx
	movslq	%edx, %rdx
	movq	(%rcx,%rdx,8), %rdi
	cmpq	(%rsi,%rdx,8), %rdi
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	incl	%ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$255, %r14d
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	%r14d, %edi
	callq	_set_page_address
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	cmpl	%ebx, %r15d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	%ebx, %edi
	callq	_set_column_address
	jmp	LBB0_10
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LCDHEIGHT,4,2                  ## @LCDHEIGHT
	.comm	_LCDWIDTH,4,2                   ## @LCDWIDTH
	.comm	_micro_oled_screen_buffer,8,3   ## @micro_oled_screen_buffer
	.comm	_micro_oled_screen_current,8,3  ## @micro_oled_screen_current
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_buffer                    ; -- Begin function send_buffer
	.p2align	2
_send_buffer:                           ; @send_buffer
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x21, _LCDHEIGHT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LCDHEIGHT@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w9, #8
	b.lt	LBB0_13
; %bb.1:
	mov	w19, #0
Lloh2:
	adrp	x22, _LCDWIDTH@GOTPAGE
Lloh3:
	ldr	x22, [x22, _LCDWIDTH@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh4:
	adrp	x23, _micro_oled_screen_buffer@GOTPAGE
Lloh5:
	ldr	x23, [x23, _micro_oled_screen_buffer@GOTPAGEOFF]
Lloh6:
	adrp	x24, _micro_oled_screen_current@GOTPAGE
Lloh7:
	ldr	x24, [x24, _micro_oled_screen_current@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x21]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w19, w19, #1
	add	w10, w9, #7
	cmp	w9, #0
	csel	w10, w10, w9, lt
	cmp	w19, w10, asr #3
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
	ldr	x9, [x23]
	ldr	x10, [x24]
	mov	w25, #255
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x23]
	ldr	w9, [x22]
	madd	w9, w9, w19, w20
	ldr	x0, [x8, w9, sxtw #3]
	bl	_send_data
	ldr	x9, [x23]
	ldr	w8, [x22]
	madd	w10, w8, w19, w20
	sbfiz	x11, x10, #3, #32
	ldr	x12, [x9, x11]
	ldr	x10, [x24]
	str	x12, [x10, x11]
	add	w20, w20, #1
	mov	x25, x20
	cmp	w20, w8
	b.ge	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	madd	w11, w8, w19, w20
	sbfiz	x11, x11, #3, #32
	ldr	x12, [x9, x11]
	ldr	x11, [x10, x11]
	cmp	x12, x11
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	w20, w20, #1
	cmp	w20, w8
	b.lt	LBB0_7
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=2
	cmp	w19, #255
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x19
	bl	_set_page_address
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w25, w20
	b.eq	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x20
	bl	_set_column_address
	b	LBB0_6
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_LCDHEIGHT,4,2                  ; @LCDHEIGHT
	.comm	_LCDWIDTH,4,2                   ; @LCDWIDTH
	.comm	_micro_oled_screen_buffer,8,3   ; @micro_oled_screen_buffer
	.comm	_micro_oled_screen_current,8,3  ; @micro_oled_screen_current
.subsections_via_symbols
