	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function camss_of_parse_endpoint_node
_camss_of_parse_endpoint_node:          ## @camss_of_parse_endpoint_node
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movq	$0, -32(%rbp)
	movq	%rsi, %rdi
	callq	_of_fwnode_handle
	leaq	-64(%rbp), %rsi
	movl	%eax, %edi
	callq	_v4l2_fwnode_endpoint_parse
	movl	-32(%rbp), %eax
	movl	%eax, (%rbx)
	movl	-40(%rbp), %eax
	movl	%eax, 28(%rbx)
	movq	-56(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	-64(%rbp), %esi
	movl	%esi, 8(%rbx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_devm_kcalloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movl	8(%rbx), %r9d
	testq	%r9, %r9
	je	LBB0_2
## %bb.3:
	movq	-56(%rbp), %r14
	movq	-48(%rbp), %rdi
	cmpl	$4, %r9d
	jae	LBB0_5
## %bb.4:
	xorl	%esi, %esi
LBB0_14:
	movq	%rsi, %rbx
	notq	%rbx
	testb	$1, %r9b
	je	LBB0_16
## %bb.15:
	movl	(%rdi,%rsi,4), %ecx
	movl	%ecx, 4(%rax,%rsi,8)
	movq	%rsi, %r8
	orq	$1, %r8
	movl	(%r14,%r8,4), %ecx
	movl	%ecx, (%rax,%rsi,8)
	movq	%r8, %rsi
LBB0_16:
	xorl	%ecx, %ecx
	addq	%r9, %rbx
	je	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rsi,4), %ebx
	movl	%ebx, 4(%rax,%rsi,8)
	movl	4(%r14,%rsi,4), %ebx
	movl	%ebx, (%rax,%rsi,8)
	movl	4(%rdi,%rsi,4), %ebx
	movl	%ebx, 12(%rax,%rsi,8)
	movl	8(%r14,%rsi,4), %ebx
	movl	%ebx, 8(%rax,%rsi,8)
	leaq	2(%rsi), %rdx
	movq	%rdx, %rsi
	cmpq	%rdx, %r9
	jne	LBB0_17
	jmp	LBB0_18
LBB0_19:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	jmp	LBB0_18
LBB0_2:
	xorl	%ecx, %ecx
LBB0_18:
	movl	%ecx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	(%rax,%r9,8), %rdx
	leaq	(%rdi,%r9,4), %rcx
	leaq	4(%r14), %r8
	leaq	(%r14,%r9,4), %rbx
	addq	$4, %rbx
	cmpq	%rcx, %rax
	setb	%r10b
	cmpq	%rdx, %rdi
	setb	%r11b
	cmpq	%rbx, %rax
	setb	%cl
	cmpq	%rdx, %r8
	setb	%bl
	xorl	%esi, %esi
	testb	%r11b, %r10b
	jne	LBB0_14
## %bb.6:
	andb	%bl, %cl
	jne	LBB0_14
## %bb.7:
	movl	%r9d, %esi
	andl	$-4, %esi
	leaq	-4(%rsi), %rcx
	movq	%rcx, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.9:
	movq	%r8, %rbx
	andq	$-2, %rbx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movsd	(%rdi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero
	movsd	8(%rdi,%rcx,4), %xmm1           ## xmm1 = mem[0],zero
	movsd	4(%r14,%rcx,4), %xmm2           ## xmm2 = mem[0],zero
	unpcklps	%xmm0, %xmm2                    ## xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
	movsd	12(%r14,%rcx,4), %xmm0          ## xmm0 = mem[0],zero
	unpcklps	%xmm1, %xmm0                    ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
	movups	%xmm2, (%rax,%rcx,8)
	movups	%xmm0, 16(%rax,%rcx,8)
	movsd	16(%rdi,%rcx,4), %xmm0          ## xmm0 = mem[0],zero
	movsd	24(%rdi,%rcx,4), %xmm1          ## xmm1 = mem[0],zero
	movsd	20(%r14,%rcx,4), %xmm2          ## xmm2 = mem[0],zero
	unpcklps	%xmm0, %xmm2                    ## xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
	movsd	28(%r14,%rcx,4), %xmm0          ## xmm0 = mem[0],zero
	unpcklps	%xmm1, %xmm0                    ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
	movups	%xmm2, 32(%rax,%rcx,8)
	movups	%xmm0, 48(%rax,%rcx,8)
	addq	$8, %rcx
	addq	$-2, %rbx
	jne	LBB0_10
## %bb.11:
	testb	$1, %r8b
	je	LBB0_13
LBB0_12:
	leaq	(,%rcx,4), %rbx
	movsd	(%rdi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero
	movsd	8(%rdi,%rcx,4), %xmm1           ## xmm1 = mem[0],zero
	orq	$4, %rbx
	movsd	(%r14,%rbx), %xmm2              ## xmm2 = mem[0],zero
	unpcklps	%xmm0, %xmm2                    ## xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
	movsd	8(%r14,%rbx), %xmm0             ## xmm0 = mem[0],zero
	unpcklps	%xmm1, %xmm0                    ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
	leaq	(,%rcx,8), %rbx
	orq	$16, %rbx
	movups	%xmm2, (%rax,%rcx,8)
	movups	%xmm0, (%rax,%rbx)
LBB0_13:
	xorl	%ecx, %ecx
	cmpq	%r9, %rsi
	jne	LBB0_14
	jmp	LBB0_18
LBB0_8:
	xorl	%ecx, %ecx
	testb	$1, %r8b
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_camss_of_parse_endpoint_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function camss_of_parse_endpoint_node
_camss_of_parse_endpoint_node:          ; @camss_of_parse_endpoint_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x20, x0
	str	xzr, [sp, #32]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	mov	x0, x1
	bl	_of_fwnode_handle
	mov	x1, sp
	bl	_v4l2_fwnode_endpoint_parse
	ldr	w8, [sp, #32]
	ldr	w9, [sp, #24]
	str	w8, [x19]
	str	w9, [x19, #28]
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	w1, [sp]
	str	w1, [x19, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w2, #8
	bl	_devm_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_12
; %bb.2:
	ldp	x9, x10, [sp, #8]
	cmp	w8, #8
	b.hs	LBB0_5
; %bb.3:
	mov	x11, #0
	b	LBB0_10
LBB0_4:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_5:
	mov	x11, #0
	add	x13, x0, x8, lsl #3
	lsl	x12, x8, #2
	add	x14, x10, x12
	add	x15, x9, #4
	add	x12, x12, x9
	add	x12, x12, #4
	cmp	x0, x12
	ccmp	x15, x13, #2, lo
	cset	w12, lo
	cmp	x10, x13
	ccmp	x0, x14, #2, lo
	b.lo	LBB0_10
; %bb.6:
	tbnz	w12, #0, LBB0_10
; %bb.7:
	and	x11, x8, #0xfffffff8
	add	x12, x9, #20
	add	x13, x0, #32
	add	x14, x10, #16
	mov	x15, x11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q3, [x14, #-16]
	ldp	q0, q2, [x12, #-16]
	sub	x16, x13, #32
	st2.4s	{ v0, v1 }, [x16]
	st2.4s	{ v2, v3 }, [x13]
	add	x12, x12, #32
	add	x13, x13, #64
	add	x14, x14, #32
	subs	x15, x15, #8
	b.ne	LBB0_8
; %bb.9:
	cmp	x11, x8
	b.eq	LBB0_12
LBB0_10:
	lsl	x12, x11, #2
	add	x10, x10, x12
	add	x9, x12, x9
	add	x9, x9, #4
	add	x12, x0, x11, lsl #3
	add	x12, x12, #4
	sub	x8, x8, x11
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	str	w11, [x12]
	ldr	w11, [x9], #4
	stur	w11, [x12, #-4]
	add	x12, x12, #8
	subs	x8, x8, #1
	b.ne	LBB0_11
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_camss_of_parse_endpoint_node
.subsections_via_symbols
