	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_init_otp_deassert_fragment_len
_get_init_otp_deassert_fragment_len:    ## @get_init_otp_deassert_fragment_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rcx
	movq	_MIPI_SEQ_INIT_OTP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rax
	xorl	%edi, %edi
	cmpl	$1, 8(%rax)
	setne	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_WARN_ON
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_12
## %bb.4:
	movq	_MIPI_SEQ_ELEM_END@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	4(%rbx), %esi
	cmpl	%ecx, %esi
	je	LBB0_12
## %bb.5:
	movl	$1, %edx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$3, %edi
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	addl	%edx, %edi
	movl	(%rbx,%rdi,4), %esi
	movl	%edi, %edx
	cmpl	%ecx, %esi
	je	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$129, %esi
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$5, %edi
	cmpl	$130, %esi
	je	LBB0_11
## %bb.8:
	cmpl	$128, %esi
	jne	LBB0_12
## %bb.9:
	xorl	%eax, %eax
	cmpl	$1, %edx
	cmovnel	%edx, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIPI_SEQ_INIT_OTP,8,3          ## @MIPI_SEQ_INIT_OTP
	.comm	_MIPI_SEQ_ELEM_END,4,2          ## @MIPI_SEQ_ELEM_END
	.no_dead_strip	_get_init_otp_deassert_fragment_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_init_otp_deassert_fragment_len
_get_init_otp_deassert_fragment_len:    ; @get_init_otp_deassert_fragment_len
	.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, _MIPI_SEQ_INIT_OTP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MIPI_SEQ_INIT_OTP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x19, [x8, x9, lsl #3]
	cbz	x19, LBB0_2
; %bb.1:
	ldr	w8, [x0, #8]
	cmp	w8, #1
	cset	w0, ne
	bl	_WARN_ON
	cbnz	x0, LBB0_4
	b	LBB0_3
LBB0_2:
	mov	w0, #1
	bl	_WARN_ON
	cbnz	x0, LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _MIPI_SEQ_ELEM_END@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MIPI_SEQ_ELEM_END@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w10, [x19, #4]
	cmp	w10, w8
	b.ne	LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w9, #1
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	w10, #3
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w9, w10, w9
	ldr	w10, [x19, w9, uxtw #2]
	cmp	w10, w8
	b.eq	LBB0_4
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, #129
	b.eq	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w10, #130
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w10, #5
	b	LBB0_8
LBB0_12:
	cmp	w9, #1
	csel	w8, wzr, w9, eq
	cmp	w10, #128
	csel	w0, wzr, w8, ne
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MIPI_SEQ_INIT_OTP,8,3          ; @MIPI_SEQ_INIT_OTP
	.comm	_MIPI_SEQ_ELEM_END,4,2          ; @MIPI_SEQ_ELEM_END
	.no_dead_strip	_get_init_otp_deassert_fragment_len
.subsections_via_symbols
