	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rjpeg_jpeg_decode_block_prog_dc
_rjpeg_jpeg_decode_block_prog_dc:       ## @rjpeg_jpeg_decode_block_prog_dc
	.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
	xorl	%eax, %eax
	cmpq	$0, (%rdi)
	jne	LBB0_11
## %bb.1:
	movl	%ecx, %r15d
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpl	$15, 8(%rdi)
	jg	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_rjpeg_grow_buffer_unsafe
LBB0_3:
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.7:
	movq	%rbx, %rdi
	callq	_rjpeg_jpeg_get_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movb	24(%rbx), %cl
	movl	$65536, %r12d                   ## imm = 0x10000
	shll	%cl, %r12d
	shrl	$16, %r12d
	addw	(%r14), %r12w
	jmp	LBB0_9
LBB0_4:
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$128, %edx
	callq	_memset
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_rjpeg_jpeg_huff_decode
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_rjpeg_extend_receive
	movl	%eax, %r12d
LBB0_6:
	movq	32(%rbx), %rax
	movslq	%r15d, %rcx
	addl	(%rax,%rcx,4), %r12d
	movl	%r12d, (%rax,%rcx,4)
	movb	24(%rbx), %cl
	shll	%cl, %r12d
LBB0_9:
	movw	%r12w, (%r14)
LBB0_10:
	movl	$1, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rjpeg_jpeg_decode_block_prog_dc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rjpeg_jpeg_decode_block_prog_dc
_rjpeg_jpeg_decode_block_prog_dc:       ; @rjpeg_jpeg_decode_block_prog_dc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_12
LBB0_2:
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0, #8]
	cmp	w8, #15
	b.gt	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_rjpeg_grow_buffer_unsafe
LBB0_4:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_rjpeg_jpeg_get_bit
	cbz	x0, LBB0_11
; %bb.6:
	ldr	w8, [x20, #24]
	mov	w9, #65536
	lsl	w8, w9, w8
	ldrh	w9, [x19]
	add	w8, w9, w8, lsr #16
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #128
	bl	_memset
	mov	x0, x20
	mov	x1, x22
	bl	_rjpeg_jpeg_huff_decode
	cbz	w0, LBB0_9
; %bb.8:
	mov	x1, x0
	mov	x0, x20
	bl	_rjpeg_extend_receive
LBB0_9:
	ldr	x8, [x20, #32]
	sbfiz	x9, x21, #2, #32
	ldr	w10, [x8, x9]
	add	w10, w10, w0
	str	w10, [x8, x9]
	ldr	w8, [x20, #24]
	lsl	w8, w10, w8
LBB0_10:
	strh	w8, [x19]
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rjpeg_jpeg_decode_block_prog_dc
.subsections_via_symbols
