	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function solo_fillbuf
LCPI0_0:
	.long	128                             ## 0x80
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_solo_fillbuf:                          ## @solo_fillbuf
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_to_vb2_v4l2_buffer
	movq	%rax, %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_vb2_dma_contig_plane_dma_addr
	movq	_VB2_BUF_STATE_ERROR@GOTPCREL(%rip), %r15
	testl	%eax, %eax
	je	LBB0_17
## %bb.1:
	movl	%eax, %r13d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_erase_off
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_vb2_plane_vaddr
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_solo_image_size
	testl	%eax, %eax
	jle	LBB0_16
## %bb.3:
	movl	%eax, %eax
	leaq	-1(%rax), %r8
	cmpq	$6, %r8
	jae	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	jmp	LBB0_14
LBB0_15:
	movq	_SOLO_DISP_EXT_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_SOLO_HW_BPL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	imull	(%r12), %ebx
	movq	%r12, %rdi
	callq	_solo_vlines
	imull	%eax, %ebx
	addl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	%r12, %rdi
	callq	_solo_bytesperline
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_solo_vlines
	movq	_SOLO_HW_BPL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	callq	_solo_p2m_dma_t
	testl	%eax, %eax
	jne	LBB0_17
	jmp	LBB0_16
LBB0_5:
	shrq	%r8
	incq	%r8
	movq	%r8, %rcx
	andq	$-4, %rcx
	leaq	-4(%rcx), %rdi
	movq	%rdi, %rsi
	shrq	$2, %rsi
	incq	%rsi
	movl	%esi, %edx
	andl	$3, %edx
	cmpq	$12, %rdi
	jae	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	jmp	LBB0_9
LBB0_7:
	andq	$-4, %rsi
	xorl	%edi, %edi
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [128,0,128,0]
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, (%rbx,%rdi,8)
	movups	%xmm0, 16(%rbx,%rdi,8)
	movups	%xmm0, 32(%rbx,%rdi,8)
	movups	%xmm0, 48(%rbx,%rdi,8)
	movups	%xmm0, 64(%rbx,%rdi,8)
	movups	%xmm0, 80(%rbx,%rdi,8)
	movups	%xmm0, 96(%rbx,%rdi,8)
	movups	%xmm0, 112(%rbx,%rdi,8)
	addq	$16, %rdi
	addq	$-4, %rsi
	jne	LBB0_8
LBB0_9:
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.10:
	addq	%rdi, %rdi
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [128,0,128,0]
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leaq	(,%rdi,4), %rsi
	movups	%xmm0, (%rbx,%rdi,4)
	orq	$20, %rsi
	movups	%xmm0, -4(%rbx,%rsi)
	addq	$8, %rdi
	decq	%rdx
	jne	LBB0_11
LBB0_12:
	cmpq	%rcx, %r8
	je	LBB0_16
## %bb.13:
	addq	%rcx, %rcx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	$128, (%rbx,%rcx,4)
	addq	$2, %rcx
	cmpq	%rax, %rcx
	jb	LBB0_14
LBB0_16:
	movq	%r12, %rdi
	callq	_solo_vlines
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_solo_bytesperline
	imull	%eax, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_vb2_set_plane_payload
	movslq	4(%r12), %rax
	leal	1(%rax), %ecx
	movl	%ecx, 4(%r12)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_ktime_get_ns
	movl	%eax, (%r14)
	movq	_VB2_BUF_STATE_DONE@GOTPCREL(%rip), %r15
LBB0_17:
	movl	(%r15), %esi
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vb2_buffer_done                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOLO_DISP_EXT_ADDR,4,2         ## @SOLO_DISP_EXT_ADDR
	.comm	_SOLO_HW_BPL,4,2                ## @SOLO_HW_BPL
	.comm	_VB2_BUF_STATE_ERROR,4,2        ## @VB2_BUF_STATE_ERROR
	.comm	_VB2_BUF_STATE_DONE,4,2         ## @VB2_BUF_STATE_DONE
	.no_dead_strip	_solo_fillbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function solo_fillbuf
lCPI0_0:
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_solo_fillbuf:                          ; @solo_fillbuf
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_to_vb2_v4l2_buffer
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	bl	_vb2_dma_contig_plane_dma_addr
	cbz	w0, LBB0_6
; %bb.1:
	mov	x22, x0
	mov	x0, x20
	bl	_erase_off
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	bl	_vb2_plane_vaddr
	mov	x22, x0
	mov	x0, x20
	bl	_solo_image_size
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.3:
	mov	w8, w0
	sub	x9, x8, #1
	cmp	x9, #30
	b.hs	LBB0_7
; %bb.4:
	mov	x9, #0
	b	LBB0_10
LBB0_5:
Lloh0:
	adrp	x8, _SOLO_DISP_EXT_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOLO_DISP_EXT_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	w24, [x20]
Lloh3:
	adrp	x25, _SOLO_HW_BPL@GOTPAGE
Lloh4:
	ldr	x25, [x25, _SOLO_HW_BPL@GOTPAGEOFF]
	ldr	w26, [x25]
	mov	x0, x20
	bl	_solo_vlines
	mul	w8, w26, w24
	madd	w23, w8, w0, w23
	mov	x0, x20
	bl	_solo_bytesperline
	mov	x24, x0
	mov	x0, x20
	bl	_solo_vlines
	mov	x5, x0
	ldr	w6, [x25]
	mov	x0, x20
	mov	w1, #0
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_solo_p2m_dma_t
	cbz	w0, LBB0_12
LBB0_6:
Lloh5:
	adrp	x8, _VB2_BUF_STATE_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VB2_BUF_STATE_ERROR@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
	lsr	x9, x9, #1
	add	x10, x9, #1
	and	x11, x10, #0xfffffffffffffff0
	lsl	x9, x11, #1
	add	x12, x22, #64
Lloh7:
	adrp	x13, lCPI0_0@PAGE
Lloh8:
	ldr	q0, [x13, lCPI0_0@PAGEOFF]
	mov	x13, x11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x12, #-64]
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12]
	stp	q0, q0, [x12, #32]
	add	x12, x12, #128
	subs	x13, x13, #16
	b.ne	LBB0_8
; %bb.9:
	cmp	x10, x11
	b.eq	LBB0_12
LBB0_10:
	mov	w10, #128
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x9, #2
	str	x10, [x22, x11]
	add	x9, x9, #2
	cmp	x9, x8
	b.lo	LBB0_11
LBB0_12:
	mov	x0, x20
	bl	_solo_vlines
	mov	x22, x0
	mov	x0, x20
	bl	_solo_bytesperline
	mul	w2, w0, w22
	mov	x0, x19
	mov	w1, #0
	bl	_vb2_set_plane_payload
	ldrsw	x8, [x20, #4]
	add	w9, w8, #1
	str	w9, [x20, #4]
	str	x8, [x21]
	bl	_ktime_get_ns
	str	w0, [x19]
Lloh9:
	adrp	x8, _VB2_BUF_STATE_DONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VB2_BUF_STATE_DONE@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_vb2_buffer_done
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SOLO_DISP_EXT_ADDR,4,2         ; @SOLO_DISP_EXT_ADDR
	.comm	_SOLO_HW_BPL,4,2                ; @SOLO_HW_BPL
	.comm	_VB2_BUF_STATE_ERROR,4,2        ; @VB2_BUF_STATE_ERROR
	.comm	_VB2_BUF_STATE_DONE,4,2         ; @VB2_BUF_STATE_DONE
	.no_dead_strip	_solo_fillbuf
.subsections_via_symbols
