	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function picolcd_fb_send_tile
_picolcd_fb_send_tile:                  ## @picolcd_fb_send_tile
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_REPORT_LCD_CMD_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_picolcd_out_report
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r14
	cmpl	$1, (%rax)
	jne	LBB0_2
## %bb.3:
	movq	_REPORT_LCD_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_picolcd_out_report
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	cmpl	$1, (%rax)
	jne	LBB0_2
## %bb.5:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_PICOLCD_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rax
	addq	$8, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	movl	(%rax), %edi
	leal	(,%r13,4), %edx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	callq	_hid_set_field
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	movl	$2, %edx
	callq	_hid_set_field
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_hid_set_field
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	$3, %esi
	xorl	%edx, %edx
	callq	_hid_set_field
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %edx
	orl	$184, %edx
	movl	$4, %esi
	callq	_hid_set_field
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	$5, %esi
	xorl	%edx, %edx
	callq	_hid_set_field
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	$6, %esi
	xorl	%edx, %edx
	callq	_hid_set_field
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	$7, %esi
	movl	$64, %edx
	callq	_hid_set_field
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	$8, %esi
	xorl	%edx, %edx
	callq	_hid_set_field
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	$9, %esi
	xorl	%edx, %edx
	callq	_hid_set_field
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	$10, %esi
	movl	$32, %edx
	callq	_hid_set_field
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r15
	addq	$8, %r15
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	leal	1(,%r13,4), %edx
	xorl	%esi, %esi
	callq	_hid_set_field
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_hid_set_field
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_hid_set_field
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	$3, %esi
	movl	$32, %edx
	callq	_hid_set_field
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	(%r13,%rax,4), %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	shll	$6, %eax
	cltq
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	-28(%r12), %eax
	leal	11(%r12), %esi
	cmpq	$32, %r12
	movq	%r15, %rcx
	cmovbq	%rbx, %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edi
	movl	(%r13,%r12,4), %edx
	cmovael	%eax, %esi
	callq	_hid_set_field
	incq	%r12
	cmpq	$64, %r12
	jne	LBB0_8
## %bb.9:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %edi
	movq	_HID_REQ_SET_REPORT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r14, %rsi
	callq	_hid_hw_request
	movl	8(%rbx), %edi
	movl	(%r15), %edx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_hid_hw_request
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_REPORT_LCD_CMD_DATA,4,2        ## @REPORT_LCD_CMD_DATA
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_REPORT_LCD_DATA,4,2            ## @REPORT_LCD_DATA
	.comm	_PICOLCD_FAILED,4,2             ## @PICOLCD_FAILED
	.comm	_HID_REQ_SET_REPORT,4,2         ## @HID_REQ_SET_REPORT
	.no_dead_strip	_picolcd_fb_send_tile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function picolcd_fb_send_tile
_picolcd_fb_send_tile:                  ; @picolcd_fb_send_tile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x24, x3
	mov	x25, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _REPORT_LCD_CMD_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REPORT_LCD_CMD_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	_picolcd_out_report
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _REPORT_LCD_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REPORT_LCD_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	_picolcd_out_report
	cbz	x0, LBB0_6
; %bb.3:
	mov	x21, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.4:
	add	x22, x19, #4
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _PICOLCD_FAILED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PICOLCD_FAILED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.5:
	mov	x0, x22
	bl	_spin_unlock_irqrestore
LBB0_6:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x27, x20
	ldr	x8, [x27, #8]!
	ldr	w0, [x8]
	lsl	w2, w25, #2
	mov	w1, #0
	bl	_hid_set_field
	ldr	x8, [x27]
	ldr	w0, [x8]
	mov	w26, #1
	mov	w1, #1
	mov	w2, #2
	bl	_hid_set_field
	ldr	x8, [x27]
	ldr	w0, [x8]
	mov	w1, #2
	mov	w2, #0
	bl	_hid_set_field
	ldr	x8, [x27]
	ldr	w0, [x8]
	mov	w1, #3
	mov	w2, #0
	bl	_hid_set_field
	ldr	x8, [x27]
	ldr	w0, [x8]
	mov	w8, #184
	orr	w2, w24, w8
	mov	w1, #4
	bl	_hid_set_field
	ldr	x8, [x27]
	ldr	w0, [x8]
	mov	w1, #5
	mov	w2, #0
	bl	_hid_set_field
	ldr	x8, [x27]
	ldr	w0, [x8]
	mov	w1, #6
	mov	w2, #0
	bl	_hid_set_field
	ldr	x8, [x27]
	ldr	w0, [x8]
	mov	w1, #7
	mov	w2, #64
	bl	_hid_set_field
	ldr	x8, [x27]
	ldr	w0, [x8]
	mov	w1, #8
	mov	w2, #0
	bl	_hid_set_field
	ldr	x8, [x27]
	ldr	w0, [x8]
	mov	w1, #9
	mov	w2, #0
	bl	_hid_set_field
	ldr	x8, [x27]
	ldr	w0, [x8]
	mov	w1, #10
	mov	w2, #32
	bl	_hid_set_field
	mov	x28, x21
	ldr	x8, [x28, #8]!
	ldr	w0, [x8]
	bfi	w26, w25, #2, #30
	mov	w1, #0
	mov	x2, x26
	bl	_hid_set_field
	ldr	x8, [x28]
	ldr	w0, [x8]
	mov	w1, #1
	mov	w2, #0
	bl	_hid_set_field
	ldr	x8, [x28]
	ldr	w0, [x8]
	mov	w1, #2
	mov	w2, #0
	bl	_hid_set_field
	ldr	x8, [x28]
	ldr	w0, [x8]
	mov	w1, #3
	mov	w2, #32
	bl	_hid_set_field
	mov	x26, #0
	add	w8, w25, w24, lsl #2
	lsl	w8, w8, #6
	add	x23, x23, w8, sxtw #2
	mov	w24, #11
	mov	x25, #-28
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x26, #32
	csel	x8, x27, x28, lo
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	w2, [x23, x26, lsl #2]
	csel	x8, x24, x25, lo
	add	w1, w26, w8
	bl	_hid_set_field
	add	x26, x26, #1
	cmp	x26, #64
	b.ne	LBB0_9
; %bb.10:
	ldr	w0, [x19, #8]
Lloh12:
	adrp	x23, _HID_REQ_SET_REPORT@GOTPAGE
Lloh13:
	ldr	x23, [x23, _HID_REQ_SET_REPORT@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x1, x20
	bl	_hid_hw_request
	ldr	w0, [x19, #8]
	ldr	w2, [x23]
	mov	x1, x21
	bl	_hid_hw_request
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_REPORT_LCD_CMD_DATA,4,2        ; @REPORT_LCD_CMD_DATA
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_REPORT_LCD_DATA,4,2            ; @REPORT_LCD_DATA
	.comm	_PICOLCD_FAILED,4,2             ; @PICOLCD_FAILED
	.comm	_HID_REQ_SET_REPORT,4,2         ; @HID_REQ_SET_REPORT
	.no_dead_strip	_picolcd_fb_send_tile
.subsections_via_symbols
