	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mjpeg_encode_dc             ## -- Begin function ff_mjpeg_encode_dc
	.p2align	4, 0x90
_ff_mjpeg_encode_dc:                    ## @ff_mjpeg_encode_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
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rdi, %r12
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	%esi, %ebx
	sarl	$31, %ebx
	addl	%esi, %ebx
	movl	%esi, %edi
	negl	%edi
	cmovsl	%esi, %edi
	callq	_av_log2_16bit
                                        ## kill: def $eax killed $eax def $rax
	movslq	%eax, %rcx
	leal	1(%rax), %r13d
	movl	4(%r15,%rcx,4), %esi
	movl	4(%r14,%rcx,4), %edx
	movq	%r12, %rdi
	callq	_put_bits
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_sbits                      ## TAILCALL
LBB0_1:
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_bits                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mjpeg_encode_dc             ; -- Begin function ff_mjpeg_encode_dc
	.p2align	2
_ff_mjpeg_encode_dc:                    ; @ff_mjpeg_encode_dc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x3
	mov	x21, x2
	mov	x19, x0
	cbz	w1, LBB0_2
; %bb.1:
	add	w22, w1, w1, asr #31
	cmp	w1, #0
	cneg	w0, w1, mi
	bl	_av_log2_16bit
	add	w23, w0, #1
	sbfiz	x8, x23, #2, #32
	ldr	w1, [x21, x8]
	ldr	w2, [x20, x8]
	mov	x0, x19
	bl	_put_bits
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_put_sbits
LBB0_2:
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_put_bits
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
