	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_scaling_list
_decode_scaling_list:                   ## @decode_scaling_list
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r12
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	cmpl	$16, %edx
	jne	LBB0_2
## %bb.1:
	movq	_ff_zigzag_scan@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_ff_zigzag_direct@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r15
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:
	testl	%ebx, %ebx
	jle	LBB0_15
## %bb.5:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ebx
	movl	$8, %eax
	xorl	%r14d, %r14d
	movl	$8, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	testl	%eax, %eax
	cmovnel	%eax, %r12d
	movq	(%r15,%r14,8), %rcx
	movq	%r12, (%r13,%rcx,8)
	incq	%r14
	cmpq	%r14, %rbx
	je	LBB0_15
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	movl	$0, %eax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_se_golomb
	movsbl	%al, %ecx
	cmpl	%eax, %ecx
	jne	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	addl	%r12d, %eax
	movzbl	%al, %eax
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%r14, %r14
	jne	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	testl	%eax, %eax
	jne	LBB0_6
## %bb.12:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	shll	$3, %edx
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_13:
	shll	$3, %ebx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
LBB0_14:
	callq	_memcpy
LBB0_15:
	xorl	%eax, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movl	%eax, %ecx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_zigzag_scan,8,3             ## @ff_zigzag_scan
	.comm	_ff_zigzag_direct,8,3           ## @ff_zigzag_direct
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"delta scale %d is invalid\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_decode_scaling_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_scaling_list
_decode_scaling_list:                   ; @decode_scaling_list
	.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	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	cmp	w2, #16
Lloh0:
	adrp	x8, _ff_zigzag_scan@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_zigzag_scan@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ff_zigzag_direct@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ff_zigzag_direct@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	x24, [x8]
	bl	_get_bits1
	cbz	w0, LBB0_10
; %bb.1:
	cmp	w21, #1
	b.lt	LBB0_12
; %bb.2:
	mov	x23, #0
	mov	w8, w21
	lsl	x25, x8, #3
	mov	w8, #8
	mov	w26, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #0
	csel	w26, w8, w26, ne
	ldr	x9, [x24, x23]
	str	x26, [x19, x9, lsl #3]
	add	x23, x23, #8
	cmp	x25, x23
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w8, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_get_se_golomb
	mov	x3, x0
	cmp	w0, w0, sxtb
	b.ne	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w3, w26
	and	w8, w8, #0xff
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x23, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w8, LBB0_3
; %bb.9:
	lsl	w2, w21, #3
	mov	x0, x19
	mov	x1, x20
	b	LBB0_11
LBB0_10:
	lsl	w2, w21, #3
	mov	x0, x19
	mov	x1, x23
LBB0_11:
	bl	_memcpy
LBB0_12:
	mov	w0, #0
LBB0_13:
	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
LBB0_14:
Lloh4:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
Lloh9:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_13
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_zigzag_scan,8,3             ; @ff_zigzag_scan
	.comm	_ff_zigzag_direct,8,3           ; @ff_zigzag_direct
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"delta scale %d is invalid\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_decode_scaling_list
.subsections_via_symbols
