	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9v032_get_pdata
_mt9v032_get_pdata:                     ## @mt9v032_get_pdata
	.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	%rdi, %rbx
	movq	$0, -48(%rbp)
	movq	_CONFIG_OF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_10
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_of_graph_get_next_endpoint
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_of_fwnode_handle
	leaq	-48(%rbp), %rsi
	movl	%eax, %edi
	callq	_v4l2_fwnode_endpoint_parse
	testq	%rax, %rax
	js	LBB0_12
## %bb.4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_of_find_property
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movslq	(%rax), %r12
	shrq	$2, %r12
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	movq	%r12, %rcx
	callq	_of_property_read_u64_array
	testq	%rax, %rax
	js	LBB0_13
## %bb.8:
	movq	%rbx, 8(%r15)
	movl	(%rbx), %eax
	movl	%eax, 4(%r15)
LBB0_9:
	movq	_V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	-48(%rbp), %eax
	setne	%cl
	movl	%ecx, (%r15)
	jmp	LBB0_13
LBB0_10:
	movq	8(%rbx), %r15
	jmp	LBB0_14
LBB0_12:
	xorl	%r15d, %r15d
LBB0_13:
	movq	%r14, %rdi
	callq	_of_node_put
LBB0_14:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_OF,4,2                  ## @CONFIG_OF
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link-frequencies"

	.comm	_V4L2_MBUS_PCLK_SAMPLE_RISING,4,2 ## @V4L2_MBUS_PCLK_SAMPLE_RISING
	.no_dead_strip	_mt9v032_get_pdata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt9v032_get_pdata
_mt9v032_get_pdata:                     ; @mt9v032_get_pdata
	.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	x21, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _CONFIG_OF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_OF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	w0, LBB0_10
; %bb.1:
	ldr	w0, [x21]
	cbz	w0, LBB0_10
; %bb.2:
	mov	x1, #0
	bl	_of_graph_get_next_endpoint
	cbz	x0, LBB0_11
; %bb.3:
	mov	x19, x0
	bl	_of_fwnode_handle
	add	x1, sp, #8
	bl	_v4l2_fwnode_endpoint_parse
	tbnz	x0, #63, LBB0_12
; %bb.4:
Lloh3:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x21
	mov	w1, #16
	bl	_devm_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_13
; %bb.5:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	bl	_of_find_property
	cbz	x0, LBB0_9
; %bb.6:
	ldrsw	x8, [x0]
	lsr	x22, x8, #2
	ldr	w3, [x23]
	mov	x0, x21
	mov	x1, x22
	mov	w2, #4
	bl	_devm_kcalloc
	cbz	x0, LBB0_13
; %bb.7:
	mov	x21, x0
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	bl	_of_property_read_u64_array
	tbnz	x0, #63, LBB0_13
; %bb.8:
	str	x21, [x20, #8]
	ldr	w8, [x21]
	str	w8, [x20, #4]
LBB0_9:
	ldr	w8, [sp, #8]
Lloh9:
	adrp	x9, _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x20]
	b	LBB0_13
LBB0_10:
	ldr	x20, [x21, #8]
	b	LBB0_14
LBB0_11:
	mov	x20, #0
	b	LBB0_14
LBB0_12:
	mov	x20, #0
LBB0_13:
	mov	x0, x19
	bl	_of_node_put
LBB0_14:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_OF,4,2                  ; @CONFIG_OF
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link-frequencies"

	.comm	_V4L2_MBUS_PCLK_SAMPLE_RISING,4,2 ; @V4L2_MBUS_PCLK_SAMPLE_RISING
	.no_dead_strip	_mt9v032_get_pdata
.subsections_via_symbols
