	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function goto_next_sequence_v3
_goto_next_sequence_v3:                 ## @goto_next_sequence_v3
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$5, %edx
	jge	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	movl	%edx, %r14d
	movq	%rdi, %r13
	movslq	%esi, %rax
	leal	5(%rax), %ebx
	movl	4(%rdi,%rax,4), %eax
	addl	%ebx, %eax
	cmpl	%edx, %eax
	jle	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_DRM_ERROR
LBB0_14:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%r15d, %r15d
	cmpl	%r14d, %ebx
	jge	LBB0_14
## %bb.6:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_MIPI_SEQ_ELEM_END@GOTPCREL(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	addl	%r15d, %ebx
	cmpl	%r14d, %ebx
	jge	LBB0_13
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rax
	movl	(%r13,%rax,4), %esi
	incl	%eax
	cmpl	(%r12), %esi
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	cltq
	movl	(%r13,%rax,4), %r15d
	addl	$2, %ebx
	leal	-128(%rsi), %eax
	cmpl	$6, %eax
	jb	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.3(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_12
LBB0_13:
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_8:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %r15d
	cmpl	%ecx, %eax
	je	LBB0_14
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Too small sequence size\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid sequence size\n"

	.comm	_MIPI_SEQ_ELEM_END,4,2          ## @MIPI_SEQ_ELEM_END
L_.str.2:                               ## @.str.2
	.asciz	"Invalid element structure\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unknown operation byte %u\n"

	.no_dead_strip	_goto_next_sequence_v3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function goto_next_sequence_v3
_goto_next_sequence_v3:                 ; @goto_next_sequence_v3
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cmp	w2, #5
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	mov	x20, x2
	mov	x21, x0
	add	w8, w1, #1
	ldr	w8, [x0, w8, sxtw #2]
	add	w23, w1, #5
	add	w19, w8, w23
	cmp	w19, w2
	b.le	LBB0_7
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_4:
	bl	_DRM_ERROR
LBB0_5:
	mov	w19, #0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	cmp	w23, w20
	b.ge	LBB0_5
; %bb.8:
Lloh4:
	adrp	x24, _MIPI_SEQ_ELEM_END@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MIPI_SEQ_ELEM_END@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str.3@PAGE
Lloh7:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w8, w23, #2
	add	w23, w8, w25
	cmp	w23, w20
	b.ge	LBB0_5
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x9, w23
	ldr	w8, [x21, w23, sxtw #2]
	add	x9, x9, #1
	ldr	w10, [x24]
	cmp	w8, w10
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w25, [x21, x9, lsl #2]
	sub	w9, w8, #128
	cmp	w9, #6
	b.lo	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	str	x8, [sp]
	mov	x0, x22
	bl	_DRM_ERROR
	b	LBB0_9
LBB0_13:
	cmp	w9, w19
	b.eq	LBB0_6
; %bb.14:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Too small sequence size\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid sequence size\n"

	.comm	_MIPI_SEQ_ELEM_END,4,2          ; @MIPI_SEQ_ELEM_END
l_.str.2:                               ; @.str.2
	.asciz	"Invalid element structure\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unknown operation byte %u\n"

	.no_dead_strip	_goto_next_sequence_v3
.subsections_via_symbols
