	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa_camera_pdata_from_dt
_pxa_camera_pdata_from_dt:              ## @pxa_camera_pdata_from_dt
	.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, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movl	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_PXA_CAMERA_MCLK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
	movl	-44(%rbp), %eax
	movl	%eax, 4(%r13)
LBB0_2:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_of_graph_get_next_endpoint
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_of_fwnode_handle
	leaq	-56(%rbp), %rsi
	movl	%eax, %edi
	callq	_v4l2_fwnode_endpoint_parse
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_22
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_23
LBB0_6:
	movl	-56(%rbp), %eax
	addl	$-4, %eax
	cmpl	$6, %eax
	ja	LBB0_9
## %bb.7:
	movl	$115, %ecx
	btl	%eax, %ecx
	jae	LBB0_9
## %bb.8:
	cltq
	leaq	l_switch.table.pxa_camera_pdata_from_dt(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
LBB0_9:
	movl	-52(%rbp), %eax
	movq	_V4L2_MBUS_MASTER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_11
## %bb.10:
	movq	_PXA_CAMERA_MASTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r13)
LBB0_11:
	movq	_V4L2_MBUS_HSYNC_ACTIVE_HIGH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:
	movq	_PXA_CAMERA_HSP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r13)
LBB0_13:
	movq	_V4L2_MBUS_VSYNC_ACTIVE_HIGH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.14:
	movq	_PXA_CAMERA_VSP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r13)
LBB0_15:
	movq	_V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_17
## %bb.16:
	movq	_PXA_CAMERA_PCLK_EN@GOTPCREL(%rip), %rcx
	movq	_PXA_CAMERA_PCP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	orl	%edx, (%r13)
LBB0_17:
	movq	_V4L2_MBUS_PCLK_SAMPLE_FALLING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.18:
	movq	_PXA_CAMERA_PCLK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
LBB0_19:
	movq	_V4L2_ASYNC_MATCH_FWNODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%r12, %rdi
	callq	_of_graph_get_remote_port_parent
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	%rax, %rdi
	callq	_of_fwnode_handle
	movl	%eax, (%rbx)
	jmp	LBB0_22
LBB0_21:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_dev_notice
LBB0_22:
	movq	%r12, %rdi
	callq	_of_node_put
LBB0_23:
	movl	%r14d, %eax
	addq	$24, %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-frequency"

	.comm	_PXA_CAMERA_MCLK_EN,4,2         ## @PXA_CAMERA_MCLK_EN
L_.str.1:                               ## @.str.1
	.asciz	"could not find endpoint\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"could not parse endpoint\n"

	.comm	_PXA_CAMERA_DATAWIDTH_4,4,2     ## @PXA_CAMERA_DATAWIDTH_4
	.comm	_PXA_CAMERA_DATAWIDTH_5,4,2     ## @PXA_CAMERA_DATAWIDTH_5
	.comm	_PXA_CAMERA_DATAWIDTH_8,4,2     ## @PXA_CAMERA_DATAWIDTH_8
	.comm	_PXA_CAMERA_DATAWIDTH_9,4,2     ## @PXA_CAMERA_DATAWIDTH_9
	.comm	_PXA_CAMERA_DATAWIDTH_10,4,2    ## @PXA_CAMERA_DATAWIDTH_10
	.comm	_V4L2_MBUS_MASTER,4,2           ## @V4L2_MBUS_MASTER
	.comm	_PXA_CAMERA_MASTER,4,2          ## @PXA_CAMERA_MASTER
	.comm	_V4L2_MBUS_HSYNC_ACTIVE_HIGH,4,2 ## @V4L2_MBUS_HSYNC_ACTIVE_HIGH
	.comm	_PXA_CAMERA_HSP,4,2             ## @PXA_CAMERA_HSP
	.comm	_V4L2_MBUS_VSYNC_ACTIVE_HIGH,4,2 ## @V4L2_MBUS_VSYNC_ACTIVE_HIGH
	.comm	_PXA_CAMERA_VSP,4,2             ## @PXA_CAMERA_VSP
	.comm	_V4L2_MBUS_PCLK_SAMPLE_RISING,4,2 ## @V4L2_MBUS_PCLK_SAMPLE_RISING
	.comm	_PXA_CAMERA_PCLK_EN,4,2         ## @PXA_CAMERA_PCLK_EN
	.comm	_PXA_CAMERA_PCP,4,2             ## @PXA_CAMERA_PCP
	.comm	_V4L2_MBUS_PCLK_SAMPLE_FALLING,4,2 ## @V4L2_MBUS_PCLK_SAMPLE_FALLING
	.comm	_V4L2_ASYNC_MATCH_FWNODE,4,2    ## @V4L2_ASYNC_MATCH_FWNODE
L_.str.3:                               ## @.str.3
	.asciz	"no remote for %pOF\n"

	.no_dead_strip	_pxa_camera_pdata_from_dt
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.pxa_camera_pdata_from_dt
l_switch.table.pxa_camera_pdata_from_dt:
	.quad	_PXA_CAMERA_DATAWIDTH_4
	.quad	_PXA_CAMERA_DATAWIDTH_5
	.quad	_PXA_CAMERA_DATAWIDTH_4
	.quad	_PXA_CAMERA_DATAWIDTH_4
	.quad	_PXA_CAMERA_DATAWIDTH_8
	.quad	_PXA_CAMERA_DATAWIDTH_9
	.quad	_PXA_CAMERA_DATAWIDTH_10

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa_camera_pdata_from_dt
_pxa_camera_pdata_from_dt:              ; @pxa_camera_pdata_from_dt
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x21, [x0]
	str	wzr, [sp, #8]
	str	xzr, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_of_property_read_u32
	cbnz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _PXA_CAMERA_MCLK_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PXA_CAMERA_MCLK_EN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [sp, #12]
	stp	w8, w9, [x22]
LBB0_2:
	mov	x0, x21
	mov	x1, #0
	bl	_of_graph_get_next_endpoint
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
	bl	_of_fwnode_handle
	mov	x1, sp
	bl	_v4l2_fwnode_endpoint_parse
	mov	x23, x0
	cbz	w0, LBB0_6
; %bb.4:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_22
LBB0_5:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_23
LBB0_6:
	ldr	w8, [sp]
	sub	w8, w8, #4
	cmp	w8, #6
	b.hi	LBB0_9
; %bb.7:
	mov	w9, #115
	lsr	w9, w9, w8
	tbz	w9, #0, LBB0_9
; %bb.8:
Lloh12:
	adrp	x9, l_switch.table.pxa_camera_pdata_from_dt@PAGE
Lloh13:
	add	x9, x9, l_switch.table.pxa_camera_pdata_from_dt@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
LBB0_9:
	ldr	w8, [sp, #4]
Lloh14:
	adrp	x9, _V4L2_MBUS_MASTER@GOTPAGE
Lloh15:
	ldr	x9, [x9, _V4L2_MBUS_MASTER@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
Lloh17:
	adrp	x9, _PXA_CAMERA_MASTER@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PXA_CAMERA_MASTER@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	ldr	w10, [x22]
	orr	w9, w10, w9
	str	w9, [x22]
LBB0_11:
Lloh20:
	adrp	x9, _V4L2_MBUS_HSYNC_ACTIVE_HIGH@GOTPAGE
Lloh21:
	ldr	x9, [x9, _V4L2_MBUS_HSYNC_ACTIVE_HIGH@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh23:
	adrp	x9, _PXA_CAMERA_HSP@GOTPAGE
Lloh24:
	ldr	x9, [x9, _PXA_CAMERA_HSP@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	ldr	w10, [x22]
	orr	w9, w10, w9
	str	w9, [x22]
LBB0_13:
Lloh26:
	adrp	x9, _V4L2_MBUS_VSYNC_ACTIVE_HIGH@GOTPAGE
Lloh27:
	ldr	x9, [x9, _V4L2_MBUS_VSYNC_ACTIVE_HIGH@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
Lloh29:
	adrp	x9, _PXA_CAMERA_VSP@GOTPAGE
Lloh30:
	ldr	x9, [x9, _PXA_CAMERA_VSP@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	ldr	w10, [x22]
	orr	w9, w10, w9
	str	w9, [x22]
LBB0_15:
Lloh32:
	adrp	x9, _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPAGE
Lloh33:
	ldr	x9, [x9, _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x9]
Lloh35:
	adrp	x9, _PXA_CAMERA_PCLK_EN@GOTPAGE
Lloh36:
	ldr	x9, [x9, _PXA_CAMERA_PCLK_EN@GOTPAGEOFF]
	tst	w10, w8
	b.eq	LBB0_17
; %bb.16:
Lloh37:
	adrp	x10, _PXA_CAMERA_PCP@GOTPAGE
Lloh38:
	ldr	x10, [x10, _PXA_CAMERA_PCP@GOTPAGEOFF]
	ldr	w11, [x9]
Lloh39:
	ldr	w10, [x10]
	orr	w10, w10, w11
	ldr	w11, [x22]
	orr	w10, w10, w11
	str	w10, [x22]
LBB0_17:
Lloh40:
	adrp	x10, _V4L2_MBUS_PCLK_SAMPLE_FALLING@GOTPAGE
Lloh41:
	ldr	x10, [x10, _V4L2_MBUS_PCLK_SAMPLE_FALLING@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_19
; %bb.18:
	ldr	w8, [x9]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
LBB0_19:
Lloh43:
	adrp	x8, _V4L2_ASYNC_MATCH_FWNODE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _V4L2_ASYNC_MATCH_FWNODE@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	str	w8, [x20, #4]
	mov	x0, x21
	bl	_of_graph_get_remote_port_parent
	cbz	x0, LBB0_21
; %bb.20:
	bl	_of_fwnode_handle
	str	w0, [x20]
	b	LBB0_22
LBB0_21:
Lloh46:
	adrp	x1, l_.str.3@PAGE
Lloh47:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_notice
LBB0_22:
	mov	x0, x21
	bl	_of_node_put
LBB0_23:
	mov	x0, x23
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clock-frequency"

	.comm	_PXA_CAMERA_MCLK_EN,4,2         ; @PXA_CAMERA_MCLK_EN
l_.str.1:                               ; @.str.1
	.asciz	"could not find endpoint\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"could not parse endpoint\n"

	.comm	_PXA_CAMERA_DATAWIDTH_4,4,2     ; @PXA_CAMERA_DATAWIDTH_4
	.comm	_PXA_CAMERA_DATAWIDTH_5,4,2     ; @PXA_CAMERA_DATAWIDTH_5
	.comm	_PXA_CAMERA_DATAWIDTH_8,4,2     ; @PXA_CAMERA_DATAWIDTH_8
	.comm	_PXA_CAMERA_DATAWIDTH_9,4,2     ; @PXA_CAMERA_DATAWIDTH_9
	.comm	_PXA_CAMERA_DATAWIDTH_10,4,2    ; @PXA_CAMERA_DATAWIDTH_10
	.comm	_V4L2_MBUS_MASTER,4,2           ; @V4L2_MBUS_MASTER
	.comm	_PXA_CAMERA_MASTER,4,2          ; @PXA_CAMERA_MASTER
	.comm	_V4L2_MBUS_HSYNC_ACTIVE_HIGH,4,2 ; @V4L2_MBUS_HSYNC_ACTIVE_HIGH
	.comm	_PXA_CAMERA_HSP,4,2             ; @PXA_CAMERA_HSP
	.comm	_V4L2_MBUS_VSYNC_ACTIVE_HIGH,4,2 ; @V4L2_MBUS_VSYNC_ACTIVE_HIGH
	.comm	_PXA_CAMERA_VSP,4,2             ; @PXA_CAMERA_VSP
	.comm	_V4L2_MBUS_PCLK_SAMPLE_RISING,4,2 ; @V4L2_MBUS_PCLK_SAMPLE_RISING
	.comm	_PXA_CAMERA_PCLK_EN,4,2         ; @PXA_CAMERA_PCLK_EN
	.comm	_PXA_CAMERA_PCP,4,2             ; @PXA_CAMERA_PCP
	.comm	_V4L2_MBUS_PCLK_SAMPLE_FALLING,4,2 ; @V4L2_MBUS_PCLK_SAMPLE_FALLING
	.comm	_V4L2_ASYNC_MATCH_FWNODE,4,2    ; @V4L2_ASYNC_MATCH_FWNODE
l_.str.3:                               ; @.str.3
	.asciz	"no remote for %pOF\n"

	.no_dead_strip	_pxa_camera_pdata_from_dt
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.pxa_camera_pdata_from_dt
l_switch.table.pxa_camera_pdata_from_dt:
	.quad	_PXA_CAMERA_DATAWIDTH_4
	.quad	_PXA_CAMERA_DATAWIDTH_5
	.quad	_PXA_CAMERA_DATAWIDTH_4
	.quad	_PXA_CAMERA_DATAWIDTH_4
	.quad	_PXA_CAMERA_DATAWIDTH_8
	.quad	_PXA_CAMERA_DATAWIDTH_9
	.quad	_PXA_CAMERA_DATAWIDTH_10

.subsections_via_symbols
