	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function gl_write_zoomed_index_span
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gl_write_zoomed_index_span
	.p2align	4, 0x90
_gl_write_zoomed_index_span:            ## @gl_write_zoomed_index_span
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r13d
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rbx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	8(%r14), %rax
	movl	4(%rax), %edi
	movl	%r12d, %esi
	callq	_MIN2
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%r14), %edi
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	imull	%r15d, %edi
	callq	_ABSF
	testl	%eax, %eax
	je	LBB0_36
## %bb.1:
	movl	16(%rbp), %r12d
	movl	4(%r14), %edx
	subl	%r12d, %r13d
	movl	%edx, %ecx
	imull	%r13d, %ecx
	incl	%r13d
	imull	%edx, %r13d
	cmpl	%r13d, %ecx
	je	LBB0_36
## %bb.2:
	leal	(%r12,%r13), %edx
	addl	%ecx, %r12d
	cmpl	%ecx, %r13d
	movl	%edx, %esi
	cmovll	%r12d, %esi
	movl	(%r14), %r13d
	cmovll	%edx, %r12d
	testl	%r12d, %r12d
	jns	LBB0_4
## %bb.3:
	testl	%esi, %esi
	js	LBB0_36
LBB0_4:
	movq	8(%r14), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %r12d
	jl	LBB0_6
## %bb.5:
	cmpl	%ecx, %esi
	jge	LBB0_36
LBB0_6:
	sarl	$31, %r13d
	andl	%eax, %r13d
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %edi
	subl	%r13d, %edi
	movl	%edi, %edx
	sarl	$31, %edx
	movl	%edx, %ecx
	andl	%edi, %ecx
	addl	%eax, %ecx
	cmpl	-52(%rbp), %ecx                 ## 4-byte Folded Reload
	jg	LBB0_8
## %bb.7:
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_36
LBB0_8:
	movl	%esi, -84(%rbp)                 ## 4-byte Spill
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	movl	%edi, %eax
	negl	%eax
	andl	%eax, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movq	_MAX_WIDTH@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	setle	%dil
	callq	_assert
	movl	(%r14), %eax
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.26:
	testl	%ebx, %ebx
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-104(%rbp), %r11                ## 8-byte Reload
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	jle	LBB0_33
## %bb.27:
	cvtsi2ss	%eax, %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	cvttss2si	%xmm1, %ebx
	decl	%r9d
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %r10d
	xorl	%eax, %eax
	cmpl	$1, %ecx
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%r10, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_29
## %bb.28:
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_31
LBB0_9:
	testl	%ebx, %ebx
	movq	-112(%rbp), %r10                ## 8-byte Reload
	movq	-104(%rbp), %r11                ## 8-byte Reload
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jle	LBB0_33
## %bb.10:
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %ebx
	xorl	%eax, %eax
	cmpl	$4, %ecx
	jae	LBB0_11
LBB0_21:
	movq	%rax, %rdx
	notq	%rdx
	testb	$1, %bl
	je	LBB0_23
## %bb.22:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %ecx
	notl	%ecx
	addl	%edi, %ecx
	movslq	%ecx, %rcx
	movl	(%r8,%rcx,4), %esi
	movl	%esi, (%r10,%rax,4)
	movl	(%r15,%rcx,4), %ecx
	movl	%ecx, (%r11,%rax,4)
	orq	$1, %rax
LBB0_23:
	addq	%rbx, %rdx
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	je	LBB0_33
## %bb.24:
	movq	%rax, %rdx
	subq	%rbx, %rdx
	addl	%edi, %r9d
	xorl	%ecx, %ecx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	testl	%edi, %edi
	movl	$0, %esi
	cmovgl	%edi, %esi
	subl	%r13d, %r9d
	subl	%esi, %r9d
	subl	%eax, %r9d
	leal	-1(%r9), %esi
	incq	%rax
	addl	$-2, %r9d
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rsi,%rcx), %edi
	movslq	%edi, %rdi
	movl	(%r8,%rdi,4), %ebx
	movl	%ebx, -4(%r10,%rax,4)
	movl	(%r15,%rdi,4), %edi
	movl	%edi, -4(%r11,%rax,4)
	leal	(%r9,%rcx), %edi
	movslq	%edi, %rdi
	movl	(%r8,%rdi,4), %ebx
	movl	%ebx, (%r10,%rax,4)
	movl	(%r15,%rdi,4), %edi
	movl	%edi, (%r11,%rax,4)
	addq	$-2, %rcx
	addq	$2, %rax
	cmpq	%rcx, %rdx
	jne	LBB0_25
	jmp	LBB0_33
LBB0_29:
                                        ## kill: def $r10d killed $r10d killed $r10 def $r10
	andl	$-2, %r10d
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	movl	$0, %edx
	cmovgl	%ecx, %edx
	addl	%edx, %r13d
	subl	-96(%rbp), %r13d                ## 4-byte Folded Reload
	incl	%r13d
	imull	%ebx, %r13d
	leal	(%rbx,%rbx), %edi
                                        ## kill: def $ebx killed $ebx killed $rbx
	imull	-72(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edx
	sarl	$31, %edx
	andl	%r9d, %edx
	addl	%ebx, %edx
	movslq	%edx, %rdx
	movl	(%r8,%rdx,4), %ecx
	movl	%ecx, (%rsi,%rax,4)
	movl	(%r15,%rdx,4), %ecx
	movl	%ecx, (%r11,%rax,4)
	movl	%r13d, %ecx
	sarl	$31, %ecx
	andl	%r9d, %ecx
	addl	%r13d, %ecx
	movslq	%ecx, %rcx
	movl	(%r8,%rcx,4), %edx
	movl	%edx, 4(%rsi,%rax,4)
	movl	(%r15,%rcx,4), %ecx
	movl	%ecx, 4(%r11,%rax,4)
	addq	$2, %rax
	addl	%edi, %r13d
	addl	%edi, %ebx
	cmpq	%rax, %r10
	jne	LBB0_30
LBB0_31:
	testb	$1, -64(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_33
## %bb.32:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %ecx
	imull	-128(%rbp), %ecx                ## 4-byte Folded Reload
	movl	%ecx, %edx
	sarl	$31, %edx
	andl	%r9d, %edx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	(%r8,%rcx,4), %edx
	movl	%edx, (%rsi,%rax,4)
	movl	(%r15,%rcx,4), %ecx
	movl	%ecx, (%r11,%rax,4)
LBB0_33:
	cmpl	-84(%rbp), %r12d                ## 4-byte Folded Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	jge	LBB0_36
## %bb.34:
	addl	%eax, %ebx
	movq	_GL_BITMAP@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movq	-112(%rbp), %r9                 ## 8-byte Reload
	pushq	%rax
	callq	_gl_write_index_span
	addq	$16, %rsp
	incl	%r12d
	cmpl	-84(%rbp), %r12d                ## 4-byte Folded Reload
	jl	LBB0_35
LBB0_36:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.37:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rdi), %edx
	movl	%r13d, %ecx
	notl	%ecx
	addl	%edx, %ecx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	testl	%edi, %edi
	movl	$0, %esi
	cmovgl	%edi, %esi
	movq	%rbx, %r9
	leaq	-1(%rbx), %rdi
	subl	%esi, %ecx
	movl	%ecx, %ebx
	subl	%edi, %ebx
	cmpl	%ecx, %ebx
	jg	LBB0_12
## %bb.13:
	shrq	$32, %rdi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r9, %rbx
	jne	LBB0_21
## %bb.14:
	movl	%ebx, %eax
	andl	$-4, %eax
	leaq	-4(%rax), %rcx
	movq	%rcx, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.16:
	movq	%r8, %rdi
	andq	$-2, %rdi
	subl	%r13d, %edx
	subl	%esi, %edx
	addl	$-5, %edx
	xorl	%esi, %esi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	leal	4(%rdx), %ecx
	movslq	%ecx, %rcx
	movdqu	-12(%rbx,%rcx,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqa	%xmm0, (%r10,%rsi,4)
	movdqu	-12(%r15,%rcx,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqa	%xmm0, (%r11,%rsi,4)
	movslq	%edx, %rdx
	movdqu	-12(%rbx,%rdx,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqa	%xmm0, 16(%r10,%rsi,4)
	movdqu	-12(%r15,%rdx,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqa	%xmm0, 16(%r11,%rsi,4)
	addq	$8, %rsi
	addl	$-8, %edx
	addq	$-2, %rdi
	jne	LBB0_17
	jmp	LBB0_18
LBB0_12:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r9, %rbx
	jmp	LBB0_21
LBB0_15:
	xorl	%esi, %esi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_18:
	testb	$1, %r8b
	movq	%rbx, %r8
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_20
## %bb.19:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	%esi, %ecx
	notl	%ecx
	addl	%edi, %ecx
	movslq	%ecx, %rcx
	movdqu	-12(%r8,%rcx,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqa	%xmm0, (%r10,%rsi,4)
	movdqu	-12(%r15,%rcx,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqa	%xmm0, (%r11,%rsi,4)
LBB0_20:
	movq	%r9, %rbx
	cmpq	%r9, %rax
	jne	LBB0_21
	jmp	LBB0_33
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_WIDTH,4,2                  ## @MAX_WIDTH
	.comm	_GL_BITMAP,4,2                  ## @GL_BITMAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_write_zoomed_index_span     ; -- Begin function gl_write_zoomed_index_span
	.p2align	2
_gl_write_zoomed_index_span:            ; @gl_write_zoomed_index_span
	.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
	sub	sp, sp, #32
	mov	x25, x6
	mov	x22, x5
	mov	x23, x4
	mov	x28, x3
	stur	w2, [x29, #-92]                 ; 4-byte Folded Spill
	mov	x27, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x26, _MAX_WIDTH@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MAX_WIDTH@GOTPAGEOFF]
	ldr	w1, [x26]
	lsl	x8, x1, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x20, x9, x12
	mov	sp, x20
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x21, x8, x12
	mov	sp, x21
	ldr	x8, [x0, #8]
	ldr	w0, [x8, #4]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_MIN2
	mov	x24, x0
	ldr	w8, [x19]
	mul	w0, w8, w27
	bl	_ABSF
	cbz	w0, LBB0_24
; %bb.1:
	sub	w8, w28, w25
	ldr	w10, [x19, #4]
	mul	w9, w10, w8
	add	w10, w10, w9
	cmp	w9, w10
	b.eq	LBB0_24
; %bb.2:
	ldr	w8, [x19]
	add	w11, w10, w25
	add	w12, w9, w25
	cmp	w10, w9
	csel	w28, w12, w11, lt
	csel	w25, w11, w12, lt
	tbz	w25, #31, LBB0_4
; %bb.3:
	tbnz	w28, #31, LBB0_24
LBB0_4:
	ldr	x9, [x19, #8]
	ldr	w9, [x9]
	cmp	w25, w9
	ccmp	w28, w9, #8, ge
	b.ge	LBB0_24
; %bb.5:
	and	w10, w0, w8, asr #31
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	sub	w9, w8, w10
	cmp	w9, #0
	csel	w8, w9, wzr, lt
	add	w8, w8, w0
	cmp	w8, w24
	b.gt	LBB0_7
; %bb.6:
	mov	x24, x8
	cmp	w8, #1
	b.lt	LBB0_24
LBB0_7:
	stp	w10, w9, [x29, #-100]           ; 8-byte Folded Spill
	neg	w8, w9
	and	w8, w8, w9, asr #31
	stur	w8, [x29, #-104]                ; 4-byte Folded Spill
	ldr	w8, [x26]
	cmp	w24, w8
	cset	w0, le
	bl	_assert
	ldr	w8, [x19]
	cmn	w8, #1
	b.eq	LBB0_11
; %bb.8:
	cmp	w24, #1
	ldp	w6, w5, [x29, #-100]            ; 8-byte Folded Reload
	b.lt	LBB0_21
; %bb.9:
	scvtf	s0, w8
	fmov	s1, #1.00000000
	fdiv	s0, s1, s0
	fcvtzs	w8, s0
	sub	w9, w27, #1
	mov	w10, w24
	cmp	w24, #1
	b.ne	LBB0_16
; %bb.10:
	mov	x11, #0
	b	LBB0_19
LBB0_11:
	cmp	w24, #1
	ldp	w16, w5, [x29, #-100]           ; 8-byte Folded Reload
	b.lt	LBB0_21
; %bb.12:
	mov	w8, w24
	cmp	w24, #8
	b.hs	LBB0_26
; %bb.13:
	mov	x9, #0
LBB0_14:
	ldur	w10, [x29, #-92]                ; 4-byte Folded Reload
	add	w10, w10, w27
	sub	w10, w10, w16
	cmp	w5, #0
	csel	w11, w5, wzr, gt
	mvn	w12, w9
	sub	w10, w10, w11
	add	w10, w12, w10
	lsl	x12, x9, #2
	add	x11, x21, x12
	add	x12, x20, x12
	sub	x8, x9, x8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	sbfiz	x9, x10, #2, #32
	ldr	w13, [x22, x9]
	str	w13, [x12], #4
	ldr	w9, [x23, x9]
	str	w9, [x11], #4
	sub	w10, w10, #1
	adds	x8, x8, #1
	b.lo	LBB0_15
	b	LBB0_21
LBB0_16:
	mov	w12, #0
	and	x11, x10, #0xfffffffe
	add	x13, x20, #4
	add	x14, x21, #4
	cmp	w5, #0
	csel	w15, w5, wzr, gt
	add	w15, w6, w15
	ldur	w16, [x29, #-92]                ; 4-byte Folded Reload
	sub	w15, w15, w16
	madd	w15, w8, w15, w8
	lsl	w16, w8, #1
	ldur	w17, [x29, #-104]               ; 4-byte Folded Reload
	mul	w17, w8, w17
	mov	x0, x11
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	w1, w17, w12
	add	w2, w15, w12
	and	w1, w9, w1, asr #31
	and	w2, w9, w2, asr #31
	add	w1, w17, w1
	add	w1, w1, w12
	add	w2, w15, w2
	add	w2, w2, w12
	sbfiz	x1, x1, #2, #32
	sbfiz	x2, x2, #2, #32
	ldr	w3, [x22, x1]
	ldr	w4, [x22, x2]
	stp	w3, w4, [x13, #-4]
	ldr	w1, [x23, x1]
	ldr	w2, [x23, x2]
	stp	w1, w2, [x14, #-4]
	add	x13, x13, #8
	add	x14, x14, #8
	add	w12, w12, w16
	subs	x0, x0, #2
	b.ne	LBB0_17
; %bb.18:
	cmp	x11, x10
	b.eq	LBB0_21
LBB0_19:
	cmp	w5, #0
	csel	w12, w5, wzr, gt
	add	w12, w6, w12
	add	w12, w12, w11
	ldur	w13, [x29, #-92]                ; 4-byte Folded Reload
	sub	w12, w12, w13
	mul	w12, w8, w12
	lsl	x14, x11, #2
	add	x13, x21, x14
	add	x14, x20, x14
	sub	x10, x11, x10
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	and	w11, w9, w12, asr #31
	add	w11, w11, w12
	sbfiz	x11, x11, #2, #32
	ldr	w15, [x22, x11]
	str	w15, [x14], #4
	ldr	w11, [x23, x11]
	str	w11, [x13], #4
	add	w12, w12, w8
	adds	x10, x10, #1
	b.lo	LBB0_20
LBB0_21:
	cmp	w25, w28
	b.ge	LBB0_24
; %bb.22:
	ldur	w8, [x29, #-104]                ; 4-byte Folded Reload
	add	w22, w8, w5
Lloh9:
	adrp	x23, _GL_BITMAP@GOTPAGE
Lloh10:
	ldr	x23, [x23, _GL_BITMAP@GOTPAGEOFF]
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w6, [x23]
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	mov	x3, x25
	mov	x4, x21
	mov	x5, x20
	bl	_gl_write_index_span
	add	w25, w25, #1
	cmp	w25, w28
	b.lt	LBB0_23
LBB0_24:
	ldur	x8, [x29, #-88]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.25:
	sub	sp, x29, #80
	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_26:
	mov	x9, #0
	sub	x11, x8, #1
	mvn	w10, w16
	ldur	w12, [x29, #-92]                ; 4-byte Folded Reload
	add	w12, w12, w27
	add	w10, w12, w10
	cmp	w5, #0
	csel	w12, w5, wzr, gt
	sub	w10, w10, w12
	sub	w12, w10, w11
	cmp	w12, w10
	b.gt	LBB0_14
; %bb.27:
	lsr	x11, x11, #32
	cbnz	x11, LBB0_14
; %bb.28:
	and	x9, x8, #0xfffffff8
	add	x11, x20, #16
	add	x12, x21, #16
	mov	x13, x9
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	sbfiz	x14, x10, #2, #32
	add	x15, x22, x14
	ldur	q0, [x15, #-12]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x15, #-28]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x11, #-16]
	add	x14, x23, x14
	ldur	q0, [x14, #-12]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x14, #-28]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x12, #-16]
	add	x11, x11, #32
	add	x12, x12, #32
	sub	w10, w10, #8
	sub	x13, x13, #8
	cbnz	x13, LBB0_29
; %bb.30:
	cmp	x9, x8
	b.ne	LBB0_14
	b	LBB0_21
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_WIDTH,4,2                  ; @MAX_WIDTH
	.comm	_GL_BITMAP,4,2                  ; @GL_BITMAP
.subsections_via_symbols
