	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_codec_str
_set_codec_str:                         ## @set_codec_str
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$129, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.2:
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_snprintf
	cmpl	$4, 4(%rbx)
	jl	LBB0_9
## %bb.3:
	movq	8(%rbx), %rax
	cmpl	$1, (%rax)
	jne	LBB0_9
## %bb.4:
	movl	4(%rax), %ecx
	movl	8(%rax), %r8d
	movl	12(%rax), %r9d
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_strlcatf                    ## TAILCALL
LBB0_5:
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_snprintf
	cmpl	$2, 4(%rbx)
	jl	LBB0_9
## %bb.6:
	movq	8(%rbx), %rdi
	movl	(%rdi), %ecx
	sarl	$3, %ecx
	cmpl	$31, %ecx
	jne	LBB0_8
## %bb.7:
	callq	_AV_RB16
	movl	%eax, %ecx
	shrl	$5, %ecx
	andl	$63, %ecx
	addl	$32, %ecx
LBB0_8:
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_strlcatf                    ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"avc1"

L_.str.1:                               ## @.str.1
	.asciz	".%02x%02x%02x"

L_.str.2:                               ## @.str.2
	.asciz	"mp4a.40"

L_.str.3:                               ## @.str.3
	.asciz	".%d"

	.no_dead_strip	_set_codec_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_codec_str
_set_codec_str:                         ; @set_codec_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x0]
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.2:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_snprintf
	ldr	w8, [x21, #4]
	cmp	w8, #4
	b.lt	LBB0_9
; %bb.3:
	ldr	x8, [x21, #8]
	ldr	w9, [x8]
	cmp	w9, #1
	b.ne	LBB0_9
; %bb.4:
	ldp	w3, w9, [x8, #4]
	ldr	w8, [x8, #12]
	stp	x9, x8, [sp]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_av_strlcatf
	b	LBB0_9
LBB0_5:
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_snprintf
	ldr	w8, [x21, #4]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.6:
	ldr	x0, [x21, #8]
	ldr	w8, [x0]
	asr	w3, w8, #3
	cmp	w3, #31
	b.ne	LBB0_8
; %bb.7:
	bl	_AV_RB16
	ubfx	w8, w0, #5, #6
	add	w3, w8, #32
LBB0_8:
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, 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
	add	sp, sp, #64
	b	_av_strlcatf
LBB0_9:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"avc1"

l_.str.1:                               ; @.str.1
	.asciz	".%02x%02x%02x"

l_.str.2:                               ; @.str.2
	.asciz	"mp4a.40"

l_.str.3:                               ; @.str.3
	.asciz	".%d"

	.no_dead_strip	_set_codec_str
.subsections_via_symbols
