	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov5675_identify_module
_ov5675_identify_module:                ## @ov5675_identify_module
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_v4l2_get_subdevdata
	movq	%rax, %r14
	movq	_OV5675_REG_CHIP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OV5675_REG_VALUE_24BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_ov5675_read_reg
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	-24(%rbp), %rcx
	movq	_OV5675_CHIP_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OV5675_REG_CHIP_ID,4,2         ## @OV5675_REG_CHIP_ID
	.comm	_OV5675_REG_VALUE_24BIT,4,2     ## @OV5675_REG_VALUE_24BIT
	.comm	_OV5675_CHIP_ID,8,3             ## @OV5675_CHIP_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chip id mismatch: %x!=%x"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.no_dead_strip	_ov5675_identify_module
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov5675_identify_module
_ov5675_identify_module:                ; @ov5675_identify_module
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_v4l2_get_subdevdata
	mov	x19, x0
Lloh0:
	adrp	x8, _OV5675_REG_CHIP_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OV5675_REG_CHIP_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _OV5675_REG_VALUE_24BIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OV5675_REG_VALUE_24BIT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	bl	_ov5675_read_reg
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x3, [sp, #8]
Lloh6:
	adrp	x8, _OV5675_CHIP_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OV5675_CHIP_ID@GOTPAGEOFF]
Lloh8:
	ldr	x2, [x8]
	cmp	x3, x2
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh11:
	adrp	x8, _ENXIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OV5675_REG_CHIP_ID,4,2         ; @OV5675_REG_CHIP_ID
	.comm	_OV5675_REG_VALUE_24BIT,4,2     ; @OV5675_REG_VALUE_24BIT
	.comm	_OV5675_CHIP_ID,8,3             ; @OV5675_CHIP_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chip id mismatch: %x!=%x"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.no_dead_strip	_ov5675_identify_module
.subsections_via_symbols
