	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delta_mjpeg_check_status
_delta_mjpeg_check_status:              ## @delta_mjpeg_check_status
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %r12
	movq	(%rsi), %rdi
	movq	_JPEG_DECODER_NO_ERROR@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpq	(%rax), %rdi
	je	LBB0_5
## %bb.1:
	callq	_is_stream_error
	movq	%rax, %r15
	movl	(%r12), %r13d
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%r14), %rdi
	callq	_err_str
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	callq	_dev_warn_ratelimited
	leaq	12(%rbx), %rax
	xorl	%r15d, %r15d
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	callq	_dev_warn_ratelimited
	leaq	4(%rbx), %rax
	movl	$1, %r15d
LBB0_4:
	incl	(%rax)
LBB0_5:
	movl	(%r12), %edi
	movl	(%rbx), %edx
	movl	8(%r14), %ecx
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_dbg
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JPEG_DECODER_NO_ERROR,8,3      ## @JPEG_DECODER_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s  firmware: stream error @ frame %d (%s)\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s  firmware: decode error @ frame %d (%s)\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s  firmware: decoding time(us)=%d\n"

	.no_dead_strip	_delta_mjpeg_check_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delta_mjpeg_check_status
_delta_mjpeg_check_status:              ; @delta_mjpeg_check_status
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x25, [x0, #16]
	ldr	x0, [x1]
Lloh0:
	adrp	x8, _JPEG_DECODER_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JPEG_DECODER_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_6
LBB0_2:
	bl	_is_stream_error
	mov	x24, x0
	ldr	w23, [x25]
	ldr	w21, [x20]
	ldr	w22, [x20, #8]
	ldr	x0, [x19]
	bl	_err_str
	mov	x4, x0
	cbz	x24, LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	mov	x3, x22
	bl	_dev_warn_ratelimited
	mov	w21, #0
	add	x8, x20, #12
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x2, x21
	mov	x3, x22
	bl	_dev_warn_ratelimited
	add	x8, x20, #4
	mov	w21, #1
LBB0_5:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_6:
	ldr	w0, [x25]
	ldr	w2, [x20]
	ldr	w3, [x19, #8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_JPEG_DECODER_NO_ERROR,8,3      ; @JPEG_DECODER_NO_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s  firmware: stream error @ frame %d (%s)\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s  firmware: decode error @ frame %d (%s)\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s  firmware: decoding time(us)=%d\n"

	.no_dead_strip	_delta_mjpeg_check_status
.subsections_via_symbols
