	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m5602_probe_sensor
_m5602_probe_sensor:                    ## @m5602_probe_sensor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_po1030@GOTPCREL(%rip), %rax
	movq	%rax, (%rdi)
	callq	*(%rax)
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	_mt9m111@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movq	_s5k4aa@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movq	_ov9650@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movq	_ov7660@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	_s5k83a@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	$0, (%rbx)
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_po1030,8,3                     ## @po1030
	.comm	_mt9m111,8,3                    ## @mt9m111
	.comm	_s5k4aa,8,3                     ## @s5k4aa
	.comm	_ov9650,8,3                     ## @ov9650
	.comm	_ov7660,8,3                     ## @ov7660
	.comm	_s5k83a,8,3                     ## @s5k83a
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to find a sensor\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_m5602_probe_sensor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m5602_probe_sensor
_m5602_probe_sensor:                    ; @m5602_probe_sensor
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _po1030@GOTPAGE
Lloh1:
	ldr	x8, [x8, _po1030@GOTPAGEOFF]
	str	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	cbz	w0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x8, _mt9m111@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mt9m111@GOTPAGEOFF]
	str	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_7
; %bb.2:
Lloh4:
	adrp	x8, _s5k4aa@GOTPAGE
Lloh5:
	ldr	x8, [x8, _s5k4aa@GOTPAGEOFF]
	str	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_7
; %bb.3:
Lloh6:
	adrp	x8, _ov9650@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ov9650@GOTPAGEOFF]
	str	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_7
; %bb.4:
Lloh8:
	adrp	x8, _ov7660@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ov7660@GOTPAGEOFF]
	str	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_7
; %bb.5:
Lloh10:
	adrp	x8, _s5k83a@GOTPAGE
Lloh11:
	ldr	x8, [x8, _s5k83a@GOTPAGEOFF]
	str	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	str	xzr, [x19]
Lloh14:
	adrp	x8, _ENODEV@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_po1030,8,3                     ; @po1030
	.comm	_mt9m111,8,3                    ; @mt9m111
	.comm	_s5k4aa,8,3                     ; @s5k4aa
	.comm	_ov9650,8,3                     ; @ov9650
	.comm	_ov7660,8,3                     ; @ov7660
	.comm	_s5k83a,8,3                     ; @s5k83a
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to find a sensor\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_m5602_probe_sensor
.subsections_via_symbols
