	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_isoc_init
_sd_isoc_init:                          ## @sd_isoc_init
	.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), %rcx
	movq	_BRIDGE_TP6800@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	_SENSOR_CX0342@GOTPCREL(%rip), %rcx
	movq	_TP6800_R12_SIF_ADDR_S@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movl	$32, %edx
	callq	_reg_w
	movq	%rbx, %rdi
	movl	$128, %esi
	movl	$135, %edx
	callq	_reg_w
	leaq	_sd_isoc_init.cx_sensor_init(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_i2c_w_buf
	leaq	_sd_isoc_init.cx_bridge_init(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_reg_w_buf
	movq	_color_null@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$3, %esi
	movl	$4, %ecx
	callq	_bulk_w
	movq	%rbx, %rdi
	movl	$89, %esi
	movl	$64, %edx
	callq	_reg_w
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	movl	$33, %edx
	callq	_reg_w
	leaq	_sd_isoc_init.ov_sensor_init(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_i2c_w_buf
	movq	%rbx, %rdi
	movl	$123, %esi
	callq	_reg_r
	leaq	_sd_isoc_init.ov_bridge_init(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_reg_w_buf
LBB0_4:
	movq	_TP6800_R78_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpq	$0, 8(%rbx)
	sete	%dl
	movq	%rbx, %rdi
	callq	_reg_w
	movl	(%rbx), %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @sd_isoc_init.cx_sensor_init
_sd_isoc_init.cx_sensor_init:
	.long	136                             ## 0x88
	.long	129                             ## 0x81
	.long	134                             ## 0x86
	.long	55                              ## 0x37
	.long	135                             ## 0x87
	.long	1                               ## 0x1
	.long	131                             ## 0x83
	.long	0                               ## 0x0
	.long	132                             ## 0x84
	.long	0                               ## 0x0
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	133                             ## 0x85
	.long	0                               ## 0x0
	.long	129                             ## 0x81
	.long	129                             ## 0x81

	.p2align	4                               ## @sd_isoc_init.cx_bridge_init
_sd_isoc_init.cx_bridge_init:
	.long	77                              ## 0x4d
	.long	0                               ## 0x0
	.long	76                              ## 0x4c
	.long	255                             ## 0xff
	.long	78                              ## 0x4e
	.long	255                             ## 0xff
	.long	79                              ## 0x4f
	.long	0                               ## 0x0

	.p2align	4                               ## @sd_isoc_init.ov_sensor_init
_sd_isoc_init.ov_sensor_init:
	.long	16                              ## 0x10
	.long	117                             ## 0x75
	.long	118                             ## 0x76
	.long	3                               ## 0x3
	.space	8

	.p2align	4                               ## @sd_isoc_init.ov_bridge_init
_sd_isoc_init.ov_bridge_init:
	.long	123                             ## 0x7b
	.long	144                             ## 0x90
	.long	128                             ## 0x80
	.long	135                             ## 0x87

	.comm	_BRIDGE_TP6800,8,3              ## @BRIDGE_TP6800
	.comm	_SENSOR_CX0342,8,3              ## @SENSOR_CX0342
	.comm	_TP6800_R12_SIF_ADDR_S,4,2      ## @TP6800_R12_SIF_ADDR_S
	.comm	_color_null,4,2                 ## @color_null
	.comm	_TP6800_R78_FORMAT,4,2          ## @TP6800_R78_FORMAT
	.no_dead_strip	_sd_isoc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_isoc_init
_sd_isoc_init:                          ; @sd_isoc_init
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BRIDGE_TP6800@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BRIDGE_TP6800@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	mov	x19, x0
Lloh3:
	adrp	x8, _SENSOR_CX0342@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SENSOR_CX0342@GOTPAGEOFF]
	ldr	x9, [x0, #8]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x10, _TP6800_R12_SIF_ADDR_S@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TP6800_R12_SIF_ADDR_S@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x10]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w2, #32
	bl	_reg_w
	mov	x0, x19
	mov	w1, #128
	mov	w2, #135
	bl	_reg_w
Lloh9:
	adrp	x20, _sd_isoc_init.cx_sensor_init@PAGE
Lloh10:
	add	x20, x20, _sd_isoc_init.cx_sensor_init@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_w_buf
Lloh11:
	adrp	x20, _sd_isoc_init.cx_bridge_init@PAGE
Lloh12:
	add	x20, x20, _sd_isoc_init.cx_bridge_init@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_reg_w_buf
Lloh13:
	adrp	x8, _color_null@GOTPAGE
Lloh14:
	ldr	x8, [x8, _color_null@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #3
	mov	w3, #4
	bl	_bulk_w
	mov	x0, x19
	mov	w1, #89
	mov	w2, #64
	bl	_reg_w
	b	LBB0_5
LBB0_4:
	mov	w2, #33
	bl	_reg_w
Lloh16:
	adrp	x20, _sd_isoc_init.ov_sensor_init@PAGE
Lloh17:
	add	x20, x20, _sd_isoc_init.ov_sensor_init@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_w_buf
	mov	x0, x19
	mov	w1, #123
	bl	_reg_r
Lloh18:
	adrp	x20, _sd_isoc_init.ov_bridge_init@PAGE
Lloh19:
	add	x20, x20, _sd_isoc_init.ov_bridge_init@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_reg_w_buf
LBB0_5:
Lloh20:
	adrp	x8, _TP6800_R78_FORMAT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TP6800_R78_FORMAT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w2, eq
	mov	x0, x19
	bl	_reg_w
	ldr	w0, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @sd_isoc_init.cx_sensor_init
_sd_isoc_init.cx_sensor_init:
	.long	136                             ; 0x88
	.long	129                             ; 0x81
	.long	134                             ; 0x86
	.long	55                              ; 0x37
	.long	135                             ; 0x87
	.long	1                               ; 0x1
	.long	131                             ; 0x83
	.long	0                               ; 0x0
	.long	132                             ; 0x84
	.long	0                               ; 0x0
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	133                             ; 0x85
	.long	0                               ; 0x0
	.long	129                             ; 0x81
	.long	129                             ; 0x81

	.p2align	2                               ; @sd_isoc_init.cx_bridge_init
_sd_isoc_init.cx_bridge_init:
	.long	77                              ; 0x4d
	.long	0                               ; 0x0
	.long	76                              ; 0x4c
	.long	255                             ; 0xff
	.long	78                              ; 0x4e
	.long	255                             ; 0xff
	.long	79                              ; 0x4f
	.long	0                               ; 0x0

	.p2align	2                               ; @sd_isoc_init.ov_sensor_init
_sd_isoc_init.ov_sensor_init:
	.long	16                              ; 0x10
	.long	117                             ; 0x75
	.long	118                             ; 0x76
	.long	3                               ; 0x3
	.space	8

	.p2align	2                               ; @sd_isoc_init.ov_bridge_init
_sd_isoc_init.ov_bridge_init:
	.long	123                             ; 0x7b
	.long	144                             ; 0x90
	.long	128                             ; 0x80
	.long	135                             ; 0x87

	.comm	_BRIDGE_TP6800,8,3              ; @BRIDGE_TP6800
	.comm	_SENSOR_CX0342,8,3              ; @SENSOR_CX0342
	.comm	_TP6800_R12_SIF_ADDR_S,4,2      ; @TP6800_R12_SIF_ADDR_S
	.comm	_color_null,4,2                 ; @color_null
	.comm	_TP6800_R78_FORMAT,4,2          ; @TP6800_R78_FORMAT
	.no_dead_strip	_sd_isoc_init
.subsections_via_symbols
