	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decoder_get_input_name
_decoder_get_input_name:                ## @decoder_get_input_name
	.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
	cmpl	$128, (%rdi)
	jne	LBB0_7
## %bb.1:
	movl	%esi, %eax
	cmpl	$8, %esi
	jb	LBB0_3
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_7:
	movl	$6386277, 3(%rdx)               ## imm = 0x617265
	movl	$1701667139, (%rdx)             ## imm = 0x656D6143
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_3:
	cmpl	$3, %eax
	ja	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_6:
	addl	$-4, %eax
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	xorl	%ebx, %ebx
	movq	%rdx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_sprintf
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CVBS-%d"

L_.str.1:                               ## @.str.1
	.asciz	"S-Video-%d"

L_.str.3:                               ## @.str.3
	.asciz	"Camera"

	.no_dead_strip	_decoder_get_input_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decoder_get_input_name
_decoder_get_input_name:                ; @decoder_get_input_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	w8, [x0]
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.1:
	cmp	w1, #8
	b.lo	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_3:
	mov	w0, #0
	mov	w8, #29285
	movk	w8, #97, lsl #16
	stur	w8, [x2, #3]
	mov	w8, #24899
	movk	w8, #25965, lsl #16
	str	w8, [x2]
	b	LBB0_8
LBB0_4:
	cmp	w1, #3
	b.hi	LBB0_6
; %bb.5:
	str	x1, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
	sub	w8, w1, #4
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x2
	bl	_sprintf
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CVBS-%d"

l_.str.1:                               ; @.str.1
	.asciz	"S-Video-%d"

l_.str.3:                               ; @.str.3
	.asciz	"Camera"

	.no_dead_strip	_decoder_get_input_name
.subsections_via_symbols
