	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfb_send_screen
_rfb_send_screen:                       ## @rfb_send_screen
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_console_refresh
	xorl	%eax, %eax
	callq	_console_get_image
	movq	%rax, %r14
	leaq	24(%r13), %rbx
	movq	%rbx, %rdi
	callq	_pthread_mutex_lock
	movl	$1, %r15d
	cmpl	$0, (%r13)
	jne	LBB0_31
## %bb.1:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	$1, (%r13)
	movq	%rbx, %rdi
	callq	_pthread_mutex_unlock
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	je	LBB0_3
LBB0_2:
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_rfb_send_all
	movl	%eax, %r15d
LBB0_30:
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_pthread_mutex_lock
	movl	$0, (%r13)
LBB0_31:
	movq	%rbx, %rdi
	callq	_pthread_mutex_unlock
	movl	%r15d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edi
	movl	%edi, 4(%r13)
	movl	4(%r14), %r15d
	movl	%r15d, 8(%r13)
	movq	_PIX_PER_CELL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%edi, -72(%rbp)                 ## 4-byte Spill
	callq	_howmany
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %edi
	movl	(%r12), %esi
	callq	_howmany
	movl	%eax, %ecx
	movq	_PIXCELL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	andl	%r15d, %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	jne	LBB0_5
## %bb.4:
	movq	_PIX_PER_CELL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
LBB0_5:
	movq	8(%r14), %r15
	movq	16(%r13), %r12
	movslq	40(%r13), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	imull	%r14d, %ecx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	leal	(,%rcx,4), %edx
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	testl	%ecx, %ecx
	jle	LBB0_26
## %bb.6:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	andl	%eax, -56(%rbp)                 ## 4-byte Folded Spill
	movslq	%r14d, %rax
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	subq	%rax, %rdx
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	leaq	(,%rax,4), %rax
	subq	%rax, %r12
	leal	-1(%r14), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leal	-1(%rcx), %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	movl	%r14d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%rdx, %rcx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%r13d
	cmpl	-104(%rbp), %r13d               ## 4-byte Folded Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	je	LBB0_19
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	_PIXCELL_MASK@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	movl	$0, %eax
	cmoveq	-152(%rbp), %rax                ## 8-byte Folded Reload
	leaq	(%r12,%rax,4), %r12
	leaq	(%rcx,%rax,4), %rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	$0, (%r12,%rbx,4)
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=2
	movslq	%r14d, %rax
	leaq	(%r15,%rax,4), %r15
	incq	%rbx
	cmpq	%rbx, -64(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_18
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	movq	_PIX_PER_CELL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %r14d
	cmovgl	%ecx, %r14d
	cmpq	%rbx, -72(%rbp)                 ## 8-byte Folded Reload
	cmovnel	%eax, %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 32(%rax)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	leal	(,%r14,4), %esi
	movl	(%r12,%rbx,4), %edx
	movq	%r15, %rdi
	callq	_fast_crc32
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	(%r12,%rbx,4), %edi
	leal	(,%r14,4), %edx
	movq	%r15, %rsi
	callq	_crc32
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	%eax, (%r12,%rbx,4)
	movl	%r13d, %ecx
	notl	%ecx
	movq	_PIXCELL_MASK@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpl	-128(%rbp), %r13d               ## 4-byte Folded Reload
	jne	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	cmpl	%eax, (%rcx,%rbx,4)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	%eax, (%rcx,%rbx,4)
	movl	$1, (%r12,%rbx,4)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	incl	%eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_17
LBB0_19:
	imull	$100, -120(%rbp), %eax          ## 4-byte Folded Reload
	cltd
	idivl	-136(%rbp)                      ## 4-byte Folded Reload
	movq	_RFB_SEND_ALL_THRESH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jge	LBB0_2
## %bb.20:
	movq	16(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	incq	-72(%rbp)                       ## 8-byte Folded Spill
	movq	-96(%rbp), %r14                 ## 8-byte Reload
                                        ## kill: def $r14d killed $r14d killed $r14 def $r14
	negl	%r14d
	xorl	%ebx, %ebx
	movq	_PIXCELL_SHIFT@GOTPCREL(%rip), %rdx
	jmp	LBB0_21
LBB0_28:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_PIXCELL_SHIFT@GOTPCREL(%rip), %rdx
LBB0_29:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_PIX_PER_CELL@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	$1, %r15d
	cmpl	-104(%rbp), %ebx                ## 4-byte Folded Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jge	LBB0_30
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
	movb	(%rdx), %cl
	movl	%ebx, %r13d
	sarl	%cl, %r13d
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_29
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_23 Depth=2
	incq	%r12
	movl	%r12d, %eax
	addl	%r14d, %eax
	je	LBB0_28
LBB0_23:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax,%r12,4)
	je	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=2
	leaq	(%r14,%r12), %rax
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	movq	_PIX_PER_CELL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %r9d
	cmovgl	%esi, %r9d
	cmpl	$-1, %eax
	cmovnel	%edx, %r9d
	movl	%r12d, %ecx
	imull	%edx, %ecx
	movl	%edx, %r8d
	imull	%r13d, %r8d
	leal	(%rdx,%rbx), %eax
	cmpl	-104(%rbp), %eax                ## 4-byte Folded Reload
	cmovgel	-76(%rbp), %edx                 ## 4-byte Folded Reload
	movl	%edx, (%rsp)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_rfb_send_rect
	testl	%eax, %eax
	jg	LBB0_27
## %bb.25:
	movl	%eax, %r15d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_30
LBB0_26:
	movq	_RFB_SEND_ALL_THRESH@GOTPCREL(%rip), %rax
	movl	$1, %r15d
	cmpl	$0, (%rax)
	jg	LBB0_30
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_PIX_PER_CELL,4,2               ## @PIX_PER_CELL
	.comm	_PIXCELL_MASK,4,2               ## @PIXCELL_MASK
	.comm	_RFB_SEND_ALL_THRESH,4,2        ## @RFB_SEND_ALL_THRESH
	.comm	_PIXCELL_SHIFT,4,2              ## @PIXCELL_SHIFT
	.no_dead_strip	_rfb_send_screen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfb_send_screen
_rfb_send_screen:                       ; @rfb_send_screen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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, x2
	mov	x21, x1
	mov	x19, x0
	bl	_console_refresh
	bl	_console_get_image
	mov	x20, x0
	add	x22, x19, #24
	mov	x0, x22
	bl	_pthread_mutex_lock
	ldr	w8, [x19]
	mov	w23, #1
	cbnz	w8, LBB0_31
; %bb.1:
	str	w23, [x19]
	mov	x0, x22
	bl	_pthread_mutex_unlock
	cbz	w24, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_rfb_send_all
	mov	x23, x0
	b	LBB0_30
LBB0_3:
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	ldp	w25, w22, [x20]
	stp	w25, w22, [x19, #4]
Lloh0:
	adrp	x23, _PIX_PER_CELL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PIX_PER_CELL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x25
	bl	_howmany
	mov	x27, x0
	ldr	w0, [x19, #8]
	ldr	w1, [x23]
	bl	_howmany
Lloh2:
	adrp	x8, _PIXCELL_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PIXCELL_MASK@GOTPAGEOFF]
	mov	x10, x20
Lloh4:
	ldr	w20, [x8]
	ldr	w8, [x23]
	ands	w9, w20, w22
	csel	w8, w8, w9, eq
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	ldr	x24, [x10, #8]
	ldr	x28, [x19, #16]
	ldrsw	x23, [x19, #40]
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	mul	w8, w27, w0
	lsl	w2, w8, #2
	mov	x0, x28
	mov	w1, #0
	bl	_memset
	str	w22, [sp, #68]                  ; 4-byte Folded Spill
	subs	w22, w22, #1
	str	w21, [sp, #36]                  ; 4-byte Folded Spill
	b.lt	LBB0_25
; %bb.4:
	str	wzr, [sp, #88]                  ; 4-byte Folded Spill
	mov	w21, #0
	and	w25, w20, w25
	sxtw	x10, w27
	sub	x26, x23, x10
	sub	w9, w10, #1
	and	x8, x10, #0xffffffff
	stp	x8, x9, [sp, #40]               ; 16-byte Folded Spill
	sub	x23, x28, x10, lsl #2
	str	x10, [sp, #56]                  ; 8-byte Folded Spill
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w21, w21, #1
	ldr	w8, [sp, #68]                   ; 4-byte Folded Reload
	cmp	w21, w8
	ldr	x10, [sp, #56]                  ; 8-byte Folded Reload
	ldp	x23, x26, [sp, #72]             ; 16-byte Folded Reload
	b.eq	LBB0_16
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
Lloh5:
	adrp	x8, _PIXCELL_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PIXCELL_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w21
	csel	x8, x10, xzr, eq
	lsl	x8, x8, #2
	add	x23, x23, x8
	add	x26, x26, x8
	cmp	w10, #1
	stp	x23, x26, [sp, #72]             ; 16-byte Folded Spill
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	x28, x27, [sp, #40]             ; 16-byte Folded Reload
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	str	wzr, [x23]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x24, x24, w20, sxtw #2
	add	x23, x23, #4
	add	x26, x26, #4
	sub	x27, x27, #1
	subs	x28, x28, #1
	b.eq	LBB0_5
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w25, #0
	ccmp	x27, #0, #0, gt
Lloh8:
	adrp	x8, _PIX_PER_CELL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PIX_PER_CELL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	csel	w20, w25, w8, eq
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	lsl	w1, w20, #2
	ldr	w2, [x23]
	mov	x0, x24
	bl	_fast_crc32
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=2
	ldr	w0, [x23]
	lsl	w2, w20, #2
	mov	x1, x24
	bl	_crc32
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=2
	str	w0, [x23]
Lloh11:
	adrp	x8, _PIXCELL_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PIXCELL_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	bic	w8, w8, w21
	cmp	w8, #0
	ccmp	w21, w22, #4, ne
	b.ne	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w8, [x26]
	cmp	w8, w0
	b.eq	LBB0_8
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=2
	str	w0, [x26]
	mov	w8, #1
	str	w8, [x23]
	ldr	w8, [sp, #88]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #88]                   ; 4-byte Folded Spill
	b	LBB0_9
LBB0_16:
	mov	w8, #100
	ldr	w9, [sp, #88]                   ; 4-byte Folded Reload
	mul	w8, w9, w8
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	mul	w9, w9, w10
	sdiv	w8, w8, w9
Lloh14:
	adrp	x9, _RFB_SEND_ALL_THRESH@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RFB_SEND_ALL_THRESH@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_27
; %bb.17:
	mov	w20, #0
	ldr	x21, [x19, #16]
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x8, x8, #1
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
	neg	w24, w10
	mov	w27, #-1
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x21, x26
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x10, [sp, #56]                  ; 8-byte Folded Reload
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
Lloh17:
	adrp	x8, _PIX_PER_CELL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PIX_PER_CELL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	mov	w23, #1
	add	w20, w8, w20
	ldr	w8, [sp, #68]                   ; 4-byte Folded Reload
	cmp	w20, w8
	b.ge	LBB0_30
LBB0_20:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
	cmp	w10, #1
	b.lt	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x28, #0
Lloh20:
	adrp	x8, _PIXCELL_SHIFT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PIXCELL_SHIFT@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	asr	w22, w20, w8
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	add	x26, x21, x8, lsl #2
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=2
	add	x28, x28, #1
	cmn	w24, w28
	b.eq	LBB0_18
LBB0_23:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x21, x28, lsl #2]
	cbz	w8, LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	add	x8, x24, x28
	cmp	w25, #0
	ccmp	w8, w27, #0, gt
Lloh23:
	adrp	x8, _PIX_PER_CELL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PIX_PER_CELL@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	csel	w5, w25, w8, eq
	mul	w3, w8, w28
	mul	w4, w8, w22
	add	w9, w8, w20
	ldr	w10, [sp, #68]                  ; 4-byte Folded Reload
	cmp	w9, w10
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	csel	w6, w8, w9, lt
	mov	x0, x19
	ldr	w1, [sp, #36]                   ; 4-byte Folded Reload
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	bl	_rfb_send_rect
	cmp	w0, #1
	b.ge	LBB0_22
	b	LBB0_28
LBB0_25:
Lloh26:
	adrp	x8, _RFB_SEND_ALL_THRESH@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RFB_SEND_ALL_THRESH@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w8, #0
	b.le	LBB0_27
; %bb.26:
	mov	w23, #1
	b	LBB0_29
LBB0_27:
	mov	x0, x19
	ldr	w1, [sp, #36]                   ; 4-byte Folded Reload
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	bl	_rfb_send_all
LBB0_28:
	mov	x23, x0
LBB0_29:
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
LBB0_30:
	mov	x0, x22
	bl	_pthread_mutex_lock
	str	wzr, [x19]
LBB0_31:
	mov	x0, x22
	bl	_pthread_mutex_unlock
	mov	x0, x23
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, 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
	.cfi_endproc
                                        ; -- End function
	.comm	_PIX_PER_CELL,4,2               ; @PIX_PER_CELL
	.comm	_PIXCELL_MASK,4,2               ; @PIXCELL_MASK
	.comm	_RFB_SEND_ALL_THRESH,4,2        ; @RFB_SEND_ALL_THRESH
	.comm	_PIXCELL_SHIFT,4,2              ; @PIXCELL_SHIFT
	.no_dead_strip	_rfb_send_screen
.subsections_via_symbols
