	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isp_video_mbus_to_pix
_isp_video_mbus_to_pix:                 ## @isp_video_mbus_to_pix
	.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	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$28, %edx
	callq	_memset
	movl	(%r13), %eax
	movl	%eax, 4(%r14)
	movl	4(%r13), %eax
	movl	%eax, 8(%r14)
	movq	_formats@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	$0, %r12d
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	(%rdi,%rbx), %rax
	cmpq	8(%r13), %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$16, %rbx
	cmpq	%rax, %r12
	jb	LBB0_2
LBB0_4:
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpl	%eax, %r12d
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	movl	$0, %edx
	jne	LBB0_11
## %bb.5:
	movq	(%r15), %rax
	movl	%r12d, %ebx
	shlq	$4, %rbx
	movl	8(%rax,%rbx), %r12d
	imull	4(%r14), %r12d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	8(%rcx), %edx
	movl	%r12d, %eax
	testl	%edx, %edx
	je	LBB0_7
## %bb.6:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	callq	_clamp
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_7:
	cmpl	$0, 4(%rcx)
	je	LBB0_9
## %bb.8:
	movl	%r12d, %edx
	cmpl	%r12d, %eax
	je	LBB0_10
LBB0_9:
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_ALIGN
	movl	%eax, %edx
LBB0_10:
	movq	(%r15), %rax
	movl	12(%rax,%rbx), %eax
	movl	%eax, 24(%r14)
	movl	%edx, (%r14)
	movl	8(%r14), %eax
	imull	%edx, %eax
	movl	%eax, 12(%r14)
	movl	20(%r13), %eax
	movl	%eax, 20(%r14)
	movl	16(%r13), %eax
	movl	%eax, 16(%r14)
	subl	%r12d, %edx
LBB0_11:
	movl	%edx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_formats,8,3                    ## @formats
	.no_dead_strip	_isp_video_mbus_to_pix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isp_video_mbus_to_pix
_isp_video_mbus_to_pix:                 ; @isp_video_mbus_to_pix
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w22, [x2]
	mov	x0, x2
	mov	w1, #0
	mov	w2, #28
	bl	_memset
	ldr	d0, [x20]
	stur	d0, [x19, #4]
Lloh0:
	adrp	x24, _formats@GOTPAGE
Lloh1:
	ldr	x24, [x24, _formats@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_4
; %bb.1:
	mov	x25, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	ldr	x8, [x0, x25]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	add	x25, x25, #16
	cmp	x23, w0, uxtw
	b.lo	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w23, #0
LBB0_5:
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w23, w0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_7
; %bb.6:
	mov	w0, #0
	b	LBB0_13
LBB0_7:
	ldr	w8, [x19, #4]
	ldr	x9, [x24]
	mov	w25, w23
	add	x9, x9, w23, uxtw #4
	ldr	w9, [x9, #8]
	mul	w23, w9, w8
	ldr	w2, [x21, #8]
	mov	x0, x23
	cbz	w2, LBB0_9
; %bb.8:
	mov	x0, x22
	mov	x1, x23
	bl	_clamp
LBB0_9:
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_11
; %bb.10:
	mov	x8, x23
	cmp	w0, w23
	b.eq	LBB0_12
LBB0_11:
	ldr	w1, [x21]
	bl	_ALIGN
	mov	x8, x0
LBB0_12:
	ldr	x9, [x24]
	add	x9, x9, x25, lsl #4
	ldr	w9, [x9, #12]
	str	w9, [x19, #24]
	str	w8, [x19]
	ldr	w9, [x19, #8]
	mul	w9, w9, w8
	str	w9, [x19, #12]
	ldr	d0, [x20, #16]
	str	d0, [x19, #16]
	sub	w0, w8, w23
LBB0_13:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_formats,8,3                    ; @formats
	.no_dead_strip	_isp_video_mbus_to_pix
.subsections_via_symbols
