	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isp_parse_of_csi2_endpoint
_isp_parse_of_csi2_endpoint:            ## @isp_parse_of_csi2_endpoint
	.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
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	movl	24(%rsi), %ecx
	movl	%ecx, 16(%rdx)
	movq	8(%rsi), %rax
	movl	(%rax), %edx
	movl	%edx, 20(%r14)
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	(%r13), %eax
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %r12
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movl	(%rax,%rdx,4), %r8d
	movq	8(%r14), %rax
	movl	%r8d, (%rax,%rdx,8)
	movq	8(%r13), %rcx
	leaq	1(%rdx), %rbx
	movl	4(%rcx,%rdx,4), %ecx
	movl	%ecx, 4(%rax,%rdx,8)
	movq	%r15, %rdi
	movq	%r12, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	(%r14), %eax
	movq	%rbx, %rdx
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	movl	$1, 4(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clock lane polarity %u, pos %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"data lane %u polarity %u, pos %u\n"

	.no_dead_strip	_isp_parse_of_csi2_endpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isp_parse_of_csi2_endpoint
_isp_parse_of_csi2_endpoint:            ; @isp_parse_of_csi2_endpoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w3, [x1, #24]
	str	w3, [x2, #16]
	ldr	x8, [x1, #8]
	ldr	w2, [x8]
	str	w2, [x19, #20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	ldr	w8, [x20]
	str	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x2, #0
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x2, #2
	ldr	x9, [x19, #8]
	ldp	x11, x10, [x20, #8]
	ldr	w10, [x10, x8]
	add	x9, x9, x23
	str	w10, [x9]
	add	x24, x2, #1
	add	x8, x11, x8
	ldr	w3, [x8, #4]
	str	w3, [x9, #4]
	str	x10, [sp]
	mov	x0, x21
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_dbg
	ldr	w8, [x19]
	add	x23, x23, #8
	mov	x2, x24
	cmp	x24, x8
	b.lo	LBB0_2
LBB0_3:
	mov	w8, #1
	str	w8, [x19, #4]
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clock lane polarity %u, pos %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"data lane %u polarity %u, pos %u\n"

	.no_dead_strip	_isp_parse_of_csi2_endpoint
.subsections_via_symbols
