	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s2255_fillbuff
_s2255_fillbuff:                        ## @s2255_fillbuff
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_vb2_plane_vaddr
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r14
	movq	(%r13), %rax
	cmpq	$-1, %rax
	je	LBB0_6
## %bb.2:
	movq	32(%r13), %r15
	movq	16(%r13), %rcx
	movl	(%rcx), %r8d
	leal	-128(%r8), %ecx
	cmpl	$5, %ecx
	ja	LBB0_8
## %bb.3:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	24(%r13), %rdx
	movq	(%rdx,%rax,8), %r15
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	movl	8(%r13), %edx
	movl	12(%r13), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_planar422p_to_yuv_packed
	jmp	LBB0_13
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_vb2_set_plane_payload
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	jmp	LBB0_12
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	jmp	LBB0_14
LBB0_9:
	movl	8(%r13), %edx
	imull	12(%r13), %edx
	addl	%edx, %edx
	jmp	LBB0_11
LBB0_10:
	movl	12(%r13), %edx
	imull	8(%r13), %edx
LBB0_11:
	movq	%r14, %rdi
	movq	%r15, %rsi
LBB0_12:
	callq	_memcpy
LBB0_13:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_14:
	movq	$-1, (%r13)
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	$2, %esi
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dprintk                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"s2255: unknown format?\n"

L_.str.1:                               ## @.str.1
	.asciz	"s2255: =======no frame\n"

L_.str.2:                               ## @.str.2
	.asciz	"s2255fill at : Buffer %p size= %d\n"

	.no_dead_strip	_s2255_fillbuff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s2255_fillbuff
_s2255_fillbuff:                        ; @s2255_fillbuff
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #0
	bl	_vb2_plane_vaddr
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x19]
	cmn	x8, #1
	b.eq	LBB0_6
; %bb.2:
	mov	x20, x0
	ldr	x21, [x19, #32]
	ldr	x9, [x19, #16]
	ldr	w4, [x9]
	sub	w9, w4, #128
	cmp	w9, #5
	b.hi	LBB0_8
; %bb.3:
	ldr	x10, [x19, #24]
	ldr	x24, [x10, x8, lsl #3]
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldp	w2, w3, [x19, #8]
	mov	x0, x24
	mov	x1, x20
	bl	_planar422p_to_yuv_packed
	b	LBB0_13
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pr_err
LBB0_7:
	mov	x0, x23
	mov	w1, #0
	mov	x2, x22
	bl	_vb2_set_plane_payload
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	b	LBB0_12
LBB0_8:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	b	LBB0_13
LBB0_9:
	ldp	w8, w9, [x19, #8]
	mul	w8, w8, w9
	lsl	w2, w8, #1
	b	LBB0_11
LBB0_10:
	ldp	w8, w9, [x19, #8]
	mul	w2, w9, w8
LBB0_11:
	mov	x0, x20
	mov	x1, x24
LBB0_12:
	bl	_memcpy
LBB0_13:
	mov	x8, #-1
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	str	x8, [x19]
	mov	x0, x21
	mov	w1, #2
	mov	x3, x20
	mov	w4, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dprintk
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"s2255: unknown format?\n"

l_.str.1:                               ; @.str.1
	.asciz	"s2255: =======no frame\n"

l_.str.2:                               ; @.str.2
	.asciz	"s2255fill at : Buffer %p size= %d\n"

	.no_dead_strip	_s2255_fillbuff
.subsections_via_symbols
