	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9m111_probe_fw
_mt9m111_probe_fw:                      ## @mt9m111_probe_fw
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	$0, -32(%rbp)
	movq	_V4L2_MBUS_PARALLEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	callq	_dev_fwnode
	xorl	%ebx, %ebx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_fwnode_graph_get_next_endpoint
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	-32(%rbp), %rsi
	movq	%rax, %rdi
	callq	_v4l2_fwnode_endpoint_parse
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	-32(%rbp), %eax
	setne	%cl
	movl	%ecx, (%r14)
LBB0_4:
	movq	%r15, %rdi
	callq	_fwnode_handle_put
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_MBUS_PARALLEL,4,2         ## @V4L2_MBUS_PARALLEL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_MBUS_PCLK_SAMPLE_RISING,4,2 ## @V4L2_MBUS_PCLK_SAMPLE_RISING
	.no_dead_strip	_mt9m111_probe_fw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt9m111_probe_fw
_mt9m111_probe_fw:                      ; @mt9m111_probe_fw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _V4L2_MBUS_PARALLEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_MBUS_PARALLEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #8]
	bl	_dev_fwnode
	mov	x1, #0
	bl	_fwnode_graph_get_next_endpoint
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	add	x1, sp, #8
	bl	_v4l2_fwnode_endpoint_parse
	mov	x21, x0
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w8, [sp, #8]
Lloh3:
	adrp	x9, _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_MBUS_PCLK_SAMPLE_RISING@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19]
LBB0_3:
	mov	x0, x20
	bl	_fwnode_handle_put
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_5:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_MBUS_PARALLEL,4,2         ; @V4L2_MBUS_PARALLEL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_MBUS_PCLK_SAMPLE_RISING,4,2 ; @V4L2_MBUS_PCLK_SAMPLE_RISING
	.no_dead_strip	_mt9m111_probe_fw
.subsections_via_symbols
