	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx274_write_table
_imx274_write_table:                    ## @imx274_write_table
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r14
	leaq	-112(%rbp), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %r12d
	addq	$4, %rbx
	xorl	%ecx, %ecx
	movl	$-1, %esi
	movq	_IMX274_TABLE_END@GOTPCREL(%rip), %r13
	movq	_IMX274_TABLE_WAIT_MS@GOTPCREL(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %esi
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movslq	%ecx, %rax
	incl	%ecx
	movl	%edi, -112(%rbp,%rax,4)
	addq	$8, %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %eax
	leal	(%rcx,%rsi), %edi
	movl	(%r13), %edx
	cmpl	%edi, %eax
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%edx, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	(%r15), %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r12d, %ecx
	je	LBB0_5
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %edi
	cmpl	$-1, %esi
	jne	LBB0_19
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$1, %ecx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-112(%rbp), %edx
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_regmap_write
	testl	%eax, %eax
	je	LBB0_10
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	jle	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	-112(%rbp), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_regmap_bulk_write
	testl	%eax, %eax
	jne	LBB0_13
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-4(%rbx), %eax
	movl	(%r13), %edx
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%edx, %eax
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	movl	(%rbx), %edi
	cmpl	(%r15), %eax
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	callq	_msleep_range
	xorl	%ecx, %ecx
	addq	$8, %rbx
	movl	$-1, %esi
	jmp	LBB0_1
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.20:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IMX274_TABLE_END,4,2           ## @IMX274_TABLE_END
	.comm	_IMX274_TABLE_WAIT_MS,4,2       ## @IMX274_TABLE_WAIT_MS
	.no_dead_strip	_imx274_write_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx274_write_table
_imx274_write_table:                    ; @imx274_write_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x19, [x0]
	add	x22, sp, #8
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	mov	x20, x0
	mov	w3, #0
	add	x21, x21, #4
	mov	w1, #-1
Lloh3:
	adrp	x23, _IMX274_TABLE_END@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IMX274_TABLE_END@GOTPAGEOFF]
Lloh5:
	adrp	x24, _IMX274_TABLE_WAIT_MS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _IMX274_TABLE_WAIT_MS@GOTPAGEOFF]
	b	LBB0_5
LBB0_1:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w3, #0
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x8
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w3, #1
	str	w0, [x22, w3, sxtw #2]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #8
	mov	x3, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x21, #-4]
	ldr	w9, [x23]
	ldr	w10, [x24]
	add	w11, w3, w1
	cmp	w8, w11
	ccmp	w8, w9, #4, eq
	ccmp	w8, w10, #4, ne
	ccmp	w3, w20, #4, ne
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w3, #1
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [sp, #8]
	mov	x0, x19
	bl	_regmap_write
	cbz	w0, LBB0_11
	b	LBB0_16
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21]
	cmn	w1, #1
	b.ne	LBB0_3
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w3, #2
	b.lt	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x2, sp, #8
	mov	x0, x19
	bl	_regmap_bulk_write
	cbnz	w0, LBB0_16
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	w8, [x21, #-4]
	ldr	w9, [x23]
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, w9
	b.eq	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x24]
	ldr	w0, [x21]
	cmp	w8, w9
	b.ne	LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_msleep_range
	mov	w8, #0
	mov	w1, #-1
	b	LBB0_4
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldur	x8, [x29, #-56]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IMX274_TABLE_END,4,2           ; @IMX274_TABLE_END
	.comm	_IMX274_TABLE_WAIT_MS,4,2       ; @IMX274_TABLE_WAIT_MS
	.no_dead_strip	_imx274_write_table
.subsections_via_symbols
