	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_parse_dt
_fimc_parse_dt:                         ## @fimc_parse_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	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %r12
	movq	(%r12), %r13
	movq	_FIMC_PIX_LIMITS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_of_property_read_bool
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	_fimc_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_of_match_node
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_FIMC_PIX_LIMITS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_of_property_read_u32_array
	testl	%eax, %eax
	js	LBB0_11
## %bb.8:
	movq	%r12, %rax
	addq	$56, %rax
	leaq	4(%r15), %r14
	movaps	(%r15), %xmm0
	movups	%xmm0, 56(%r12)
	movq	%rax, 48(%r12)
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	_of_property_read_u32_array
	testl	%eax, %eax
	movq	_FIMC_DEF_MIN_SIZE@GOTPCREL(%rip), %rax
	movq	%rax, %rcx
	cmoveq	%r15, %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r12)
	cmoveq	%r14, %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	_of_property_read_u32_array
	testl	%eax, %eax
	cmovneq	_FIMC_DEF_HEIGHT_ALIGN@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, 8(%r12)
	movq	_FIMC_DEF_HOR_OFFS_ALIGN@GOTPCREL(%rip), %rax
	cmoveq	%r14, %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r12)
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_of_property_read_u32
	movl	$1, %ecx
	movl	$1, %edx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movl	(%r14), %edx
	movl	%edx, %ecx
	andl	$1, %ecx
	andl	$16, %edx
LBB0_10:
	movl	%ecx, 16(%r12)
	movl	%edx, 20(%r12)
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_of_property_read_bool
	movq	%rax, 40(%r12)
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_of_property_read_bool
	movq	%rax, 32(%r12)
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	callq	_of_property_read_bool
	movq	%rax, 24(%r12)
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_of_property_read_u32
	leaq	L_.str.9(%rip), %rsi
	movq	%r13, %rdi
	callq	_of_alias_get_id
	movl	%eax, 8(%rbx)
	movq	%r12, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FIMC_PIX_LIMITS_MAX,4,2        ## @FIMC_PIX_LIMITS_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"samsung,lcd-wb"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_fimc_of_match,4,2              ## @fimc_of_match
	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"samsung,pix-limits"

L_.str.2:                               ## @.str.2
	.asciz	"samsung,min-pix-sizes"

	.comm	_FIMC_DEF_MIN_SIZE,4,2          ## @FIMC_DEF_MIN_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"samsung,min-pix-alignment"

	.comm	_FIMC_DEF_HEIGHT_ALIGN,4,2      ## @FIMC_DEF_HEIGHT_ALIGN
	.comm	_FIMC_DEF_HOR_OFFS_ALIGN,4,2    ## @FIMC_DEF_HOR_OFFS_ALIGN
L_.str.4:                               ## @.str.4
	.asciz	"samsung,rotators"

L_.str.5:                               ## @.str.5
	.asciz	"samsung,mainscaler-ext"

L_.str.6:                               ## @.str.6
	.asciz	"samsung,isp-wb"

L_.str.7:                               ## @.str.7
	.asciz	"samsung,cam-if"

L_.str.8:                               ## @.str.8
	.asciz	"clock-frequency"

L_.str.9:                               ## @.str.9
	.asciz	"fimc"

	.no_dead_strip	_fimc_parse_dt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function fimc_parse_dt
lCPI0_0:
	.long	1                               ; 0x1
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_fimc_parse_dt:                         ; @fimc_parse_dt
	.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
	sub	sp, sp, #16
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x22, [x0, #16]
	ldr	x20, [x22]
Lloh3:
	adrp	x24, _FIMC_PIX_LIMITS_MAX@GOTPAGE
Lloh4:
	ldr	x24, [x24, _FIMC_PIX_LIMITS_MAX@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_bool
	cbz	x0, LBB0_5
; %bb.1:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.4:
	sub	sp, x29, #48
	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_5:
Lloh14:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_11
; %bb.6:
	mov	x22, x0
Lloh17:
	adrp	x8, _fimc_of_match@GOTPAGE
Lloh18:
	ldr	x8, [x8, _fimc_of_match@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_of_match_node
	cbz	x0, LBB0_12
; %bb.7:
	ldr	w8, [x0]
	str	w8, [x19, #12]
	ldr	w3, [x24]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_of_property_read_u32_array
	tbnz	w0, #31, LBB0_3
; %bb.8:
	mov	x24, x23
	ldr	q0, [x24], #4
	mov	x8, x22
	str	q0, [x8, #56]!
	str	x8, [x22, #48]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	mov	w3, #2
	bl	_of_property_read_u32_array
Lloh24:
	adrp	x8, _FIMC_DEF_MIN_SIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FIMC_DEF_MIN_SIZE@GOTPAGEOFF]
	cmp	w0, #0
	csel	x9, x23, x8, eq
	ldr	w9, [x9]
	str	w9, [x22]
	csel	x8, x24, x8, eq
	ldr	w8, [x8]
	str	w8, [x22, #4]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	mov	w3, #2
	bl	_of_property_read_u32_array
Lloh28:
	adrp	x8, _FIMC_DEF_HEIGHT_ALIGN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FIMC_DEF_HEIGHT_ALIGN@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x23, x8, eq
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _FIMC_DEF_HOR_OFFS_ALIGN@GOTPAGE
Lloh31:
	ldr	x9, [x9, _FIMC_DEF_HOR_OFFS_ALIGN@GOTPAGEOFF]
	csel	x9, x24, x9, eq
	ldr	w9, [x9]
	stp	w8, w9, [x22, #8]
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_of_property_read_u32
	movi.2s	v0, #1
	cbnz	w0, LBB0_10
; %bb.9:
	ld1r.2s	{ v0 }, [x24]
Lloh34:
	adrp	x8, lCPI0_0@PAGE
Lloh35:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	and.8b	v0, v0, v1
LBB0_10:
	str	d0, [x22, #16]
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_bool
	str	x0, [x22, #40]
Lloh38:
	adrp	x1, l_.str.6@PAGE
Lloh39:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_bool
	str	x0, [x22, #32]
Lloh40:
	adrp	x1, l_.str.7@PAGE
Lloh41:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_of_property_read_bool
	str	x0, [x22, #24]
Lloh42:
	adrp	x1, l_.str.8@PAGE
Lloh43:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_of_property_read_u32
Lloh44:
	adrp	x1, l_.str.9@PAGE
Lloh45:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_of_alias_get_id
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #8]
	str	x22, [x19]
	b	LBB0_3
LBB0_11:
Lloh46:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_12:
Lloh48:
	adrp	x8, _EINVAL@GOTPAGE
Lloh49:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdr	Lloh34, Lloh35
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_FIMC_PIX_LIMITS_MAX,4,2        ; @FIMC_PIX_LIMITS_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"samsung,lcd-wb"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_fimc_of_match,4,2              ; @fimc_of_match
	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"samsung,pix-limits"

l_.str.2:                               ; @.str.2
	.asciz	"samsung,min-pix-sizes"

	.comm	_FIMC_DEF_MIN_SIZE,4,2          ; @FIMC_DEF_MIN_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"samsung,min-pix-alignment"

	.comm	_FIMC_DEF_HEIGHT_ALIGN,4,2      ; @FIMC_DEF_HEIGHT_ALIGN
	.comm	_FIMC_DEF_HOR_OFFS_ALIGN,4,2    ; @FIMC_DEF_HOR_OFFS_ALIGN
l_.str.4:                               ; @.str.4
	.asciz	"samsung,rotators"

l_.str.5:                               ; @.str.5
	.asciz	"samsung,mainscaler-ext"

l_.str.6:                               ; @.str.6
	.asciz	"samsung,isp-wb"

l_.str.7:                               ; @.str.7
	.asciz	"samsung,cam-if"

l_.str.8:                               ; @.str.8
	.asciz	"clock-frequency"

l_.str.9:                               ; @.str.9
	.asciz	"fimc"

	.no_dead_strip	_fimc_parse_dt
.subsections_via_symbols
