	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9t112_camera_probe
_mt9t112_camera_probe:                  ## @mt9t112_camera_probe
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_to_mt9t112
	movq	%rax, %r12
	leaq	4(%rax), %r14
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_mt9t112_s_power
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_mt9t112_reg_read
	movl	$1, (%r12)
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_dev_info
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mt9t112_s_power
LBB0_2:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mt9t111"

	.comm	_mt9t112_cfmts,4,2              ## @mt9t112_cfmts
	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.3:                               ## @.str.3
	.asciz	"%s chip ID %04x\n"

	.no_dead_strip	_mt9t112_camera_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt9t112_camera_probe
_mt9t112_camera_probe:                  ; @mt9t112_camera_probe
	.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
	mov	x20, x0
	bl	_to_mt9t112
	mov	x22, x0
	add	x19, x0, #4
	mov	w23, #1
	mov	x0, x19
	mov	w1, #1
	bl	_mt9t112_s_power
	mov	x21, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x1, x20
	mov	w2, #0
	bl	_mt9t112_reg_read
	str	w23, [x22]
Lloh0:
	adrp	x1, l_.str.3@PAGE
Lloh1:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	mov	x0, x19
	mov	w1, #0
	bl	_mt9t112_s_power
LBB0_2:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mt9t111"

	.comm	_mt9t112_cfmts,4,2              ; @mt9t112_cfmts
	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.3:                               ; @.str.3
	.asciz	"%s chip ID %04x\n"

	.no_dead_strip	_mt9t112_camera_probe
.subsections_via_symbols
