	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blit_linear_line_xrgb8888
_blit_linear_line_xrgb8888:             ## @blit_linear_line_xrgb8888
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdi, %r15
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movl	%edx, %r8d
	leaq	-1(%r8), %rcx
	movl	%r8d, %r10d
	andl	$3, %r10d
	cmpq	$3, %rcx
	jae	LBB0_12
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_1:
	movl	$-1, %r14d
	jmp	LBB0_8
LBB0_12:
	andl	$-4, %r8d
	movl	$4, %eax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	-8(%rsi,%rax,2), %r9d
	leal	-4(%rax), %ecx
	andl	$-8, %ecx
	movl	%r9d, (%r15,%rcx,4)
	movl	-4(%rsi,%rax,2), %r9d
	leal	-2(%rax), %ecx
	andl	$-6, %ecx
	movl	%r9d, (%r15,%rcx,4)
	movl	(%rsi,%rax,2), %ecx
	movl	%eax, %edi
	andl	$-4, %edi
	movl	%ecx, (%r15,%rdi,4)
	movl	4(%rsi,%rax,2), %ecx
	leal	2(%rax), %edi
	andl	$-2, %edi
	movl	%ecx, (%r15,%rdi,4)
	addq	$4, %rbx
	addq	$8, %rax
	cmpq	%rbx, %r8
	jne	LBB0_13
LBB0_4:
	testq	%r10, %r10
	je	LBB0_7
## %bb.5:
	addq	%rbx, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rbx,2), %edi
	movl	%ebx, %ecx
	andl	$-2, %ecx
	movl	%edi, (%r15,%rcx,4)
	addq	$2, %rbx
	decq	%r10
	jne	LBB0_6
LBB0_7:
	leal	(%rdx,%rdx), %r14d
	decl	%r14d
	movl	$1, %ebx
	cmpl	$1, %r14d
	je	LBB0_11
LBB0_8:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %eax
	movl	(%r15,%rax,4), %edi
	leal	1(%rbx), %eax
	movl	(%r15,%rax,4), %esi
	callq	_blend_pixels_xrgb8888
	movl	%ebx, %ecx
	movl	%eax, (%r15,%rcx,4)
	addl	$2, %ebx
	cmpl	%r14d, %ebx
	jb	LBB0_9
## %bb.10:
	movl	%r14d, %ebx
LBB0_11:
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_blend_pixels_xrgb8888
	movl	%eax, (%r15)
	movl	%ebx, %ebx
	movl	(%r15,%rbx,4), %edi
	xorl	%esi, %esi
	callq	_blend_pixels_xrgb8888
	movl	%eax, (%r15,%rbx,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_blit_linear_line_xrgb8888
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blit_linear_line_xrgb8888
_blit_linear_line_xrgb8888:             ; @blit_linear_line_xrgb8888
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	cbz	w2, LBB0_4
; %bb.1:
	mov	x8, #0
	mov	w9, w2
	lsl	x9, x9, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x1], #4
	and	x11, x8, #0xfffffffe
	str	w10, [x19, x11, lsl #2]
	add	x8, x8, #2
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.3:
	lsl	w8, w2, #1
	sub	w20, w8, #1
	cmp	w20, #1
	b.ne	LBB0_5
	b	LBB0_7
LBB0_4:
	mov	w20, #-1
LBB0_5:
	mov	w21, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w21, #1
	ldr	w0, [x19, w8, uxtw #2]
	add	w8, w21, #1
	ldr	w1, [x19, w8, uxtw #2]
	bl	_blend_pixels_xrgb8888
	str	w0, [x19, w21, uxtw #2]
	add	w21, w21, #2
	cmp	w21, w20
	b.lo	LBB0_6
LBB0_7:
	ldr	w0, [x19]
	mov	w1, #0
	bl	_blend_pixels_xrgb8888
	str	w0, [x19]
	mov	w8, w20
	lsl	x20, x8, #2
	ldr	w0, [x19, x20]
	mov	w1, #0
	bl	_blend_pixels_xrgb8888
	str	w0, [x19, x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_blit_linear_line_xrgb8888
.subsections_via_symbols
