	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codec_id
_codec_id:                              ## @codec_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movl	%esi, %eax
	movl	%edi, %ecx
	testl	$32896, %edi                    ## imm = 0x8080
	je	LBB0_2
## %bb.1:
	movq	_CODEC_ID_BUFSZ@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_3
LBB0_2:
	movb	%ch, (%rbx)
	movb	%cl, 1(%rbx)
	movb	%ah, 2(%rbx)
	leaq	3(%rbx), %rdi
	movq	_CODEC_ID_BUFSZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	$-3, %rsi
	movzbl	%al, %ecx
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CODEC_ID_BUFSZ,8,3             ## @CODEC_ID_BUFSZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%04x:0x%04x"

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

	.no_dead_strip	_codec_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function codec_id
_codec_id:                              ; @codec_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x3, x0
	mov	w8, #32896
	tst	w0, w8
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _CODEC_ID_BUFSZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CODEC_ID_BUFSZ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x1, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	b	LBB0_3
LBB0_2:
	lsr	w8, w3, #8
	strb	w8, [x19]
	strb	w3, [x19, #1]
	lsr	w8, w1, #8
	strb	w8, [x19, #2]
	add	x0, x19, #3
Lloh5:
	adrp	x8, _CODEC_ID_BUFSZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CODEC_ID_BUFSZ@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	sub	x8, x8, #3
	and	w3, w1, #0xff
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_3:
	mov	x1, x8
	bl	_snprintf
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CODEC_ID_BUFSZ,8,3             ; @CODEC_ID_BUFSZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%04x:0x%04x"

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

	.no_dead_strip	_codec_id
.subsections_via_symbols
