	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_unregistered_user_data
_decode_unregistered_user_data:         ## @decode_unregistered_user_data
	.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
	cmpl	$16, %ecx
	jl	LBB0_2
## %bb.1:
	movl	%ecx, %ebx
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-16, %eax
	cmpl	%ecx, %eax
	jle	LBB0_2
## %bb.3:
	movq	%rsi, %r13
	movq	%rdi, %r14
	leal	17(%rbx), %edi
	callq	_av_malloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	movq	%rax, %r15
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %r12
	addl	$15, %ebx
	xorl	%r14d, %r14d
	testl	%ebx, %ebx
	cmovlel	%r14d, %ebx
	incl	%ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	%rax, (%r12,%r14,8)
	incq	%r14
	cmpq	%r14, %rbx
	jne	LBB0_5
## %bb.6:
	movq	$0, (%r12,%rbx,8)
	subq	$-128, %r15
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sscanf
	movl	-44(%rbp), %ecx
	cmpl	$1, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_9
## %bb.7:
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.8:
	movl	%ecx, (%rbx)
LBB0_9:
	cmpl	$1, %eax
	jne	LBB0_13
## %bb.10:
	cmpl	$1, %ecx
	jne	LBB0_13
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$16, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movl	$67, (%rbx)
LBB0_13:
	movq	%r12, %rdi
	callq	_av_free
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"x264 - core %d"

L_.str.1:                               ## @.str.1
	.asciz	"x264 - core 0000"

	.no_dead_strip	_decode_unregistered_user_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_unregistered_user_data
_decode_unregistered_user_data:         ; @decode_unregistered_user_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	cmp	w3, #16
	b.lt	LBB0_13
; %bb.1:
	mov	x22, x3
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #16
	cmp	w8, w3
	b.le	LBB0_13
; %bb.2:
	mov	x21, x1
	mov	x19, x0
	add	w0, w22, #17
	bl	_av_malloc
	cbz	x0, LBB0_15
; %bb.3:
	mov	x20, x0
	mov	x23, #0
	add	w8, w22, #15
	cmp	w8, #0
	csel	w8, w8, wzr, gt
	add	w22, w8, #1
	lsl	x8, x8, #3
	add	x24, x8, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #8
	bl	_get_bits
	str	x0, [x20, x23]
	add	x23, x23, #8
	cmp	x24, x23
	b.ne	LBB0_4
; %bb.5:
	str	xzr, [x20, x22, lsl #3]
	add	x21, x20, #128
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_sscanf
	ldr	w8, [sp, #12]
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.6:
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.7:
	str	w8, [x19]
LBB0_8:
	cmp	w0, #1
	b.ne	LBB0_12
; %bb.9:
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.10:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w2, #16
	bl	_strncmp
	cbnz	w0, LBB0_12
; %bb.11:
	mov	w8, #67
	str	w8, [x19]
LBB0_12:
	mov	x0, x20
	bl	_av_free
	mov	w0, #0
	b	LBB0_14
LBB0_13:
Lloh7:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
LBB0_14:
	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
	add	sp, sp, #80
	ret
LBB0_15:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	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
	add	sp, sp, #80
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"x264 - core %d"

l_.str.1:                               ; @.str.1
	.asciz	"x264 - core 0000"

	.no_dead_strip	_decode_unregistered_user_data
.subsections_via_symbols
