	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_av_log_set_level
	cmpl	$1, %ebx
	jg	LBB0_2
## %bb.1:
	movq	(%r14), %rdi
	callq	_usage
	movl	$1, %ebx
	jmp	LBB0_18
LBB0_2:
	xorl	%eax, %eax
	callq	_avformat_network_init
	movq	8(%r14), %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.15:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	xorl	%edi, %edi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_16
LBB0_3:
	cmpl	$2, %ebx
	ja	LBB0_6
## %bb.4:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_5
LBB0_8:
	cmpl	$2, %ebx
	ja	LBB0_10
## %bb.9:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_5
LBB0_6:
	movq	16(%r14), %rdi
	callq	_list_op
	jmp	LBB0_17
LBB0_12:
	cmpl	$3, %ebx
	ja	LBB0_14
## %bb.13:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
LBB0_5:
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_av_log
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_17:
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_avformat_network_deinit
	shrl	$31, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	16(%r14), %rdi
	callq	_del_op
	jmp	LBB0_17
LBB0_14:
	movq	16(%r14), %rdi
	movq	24(%r14), %rsi
	callq	_move_op
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"list"

	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"Missing argument for list operation.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"del"

L_.str.3:                               ## @.str.3
	.asciz	"Missing argument for del operation.\n"

L_.str.4:                               ## @.str.4
	.asciz	"move"

L_.str.5:                               ## @.str.5
	.asciz	"Missing argument for move operation.\n"

L_.str.6:                               ## @.str.6
	.asciz	"Invalid operation %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_av_log_set_level
	cmp	w20, #1
	b.gt	LBB0_2
; %bb.1:
	ldr	x0, [x19]
	bl	_usage
	mov	w0, #1
	b	LBB0_15
LBB0_2:
	bl	_avformat_network_init
	ldr	x21, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.3:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.4:
Lloh7:
	adrp	x1, l_.str.4@PAGE
Lloh8:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.5:
Lloh9:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	str	x21, [sp]
Lloh12:
	adrp	x2, l_.str.6@PAGE
Lloh13:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_13
LBB0_6:
	cmp	w20, #2
	b.hi	LBB0_10
; %bb.7:
Lloh14:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_8:
	cmp	w20, #2
	b.hi	LBB0_16
; %bb.9:
Lloh19:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x2, l_.str.3@PAGE
Lloh23:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_10:
	ldr	x0, [x19, #16]
	bl	_list_op
	b	LBB0_14
LBB0_11:
	cmp	w20, #3
	b.hi	LBB0_17
; %bb.12:
Lloh24:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x2, l_.str.5@PAGE
Lloh28:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_13:
	mov	x0, #0
	bl	_av_log
Lloh29:
	adrp	x8, _EINVAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_14:
	mov	x19, x0
	bl	_avformat_network_deinit
	lsr	w0, w19, #31
LBB0_15:
	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
LBB0_16:
	ldr	x0, [x19, #16]
	bl	_del_op
	b	LBB0_14
LBB0_17:
	ldp	x0, x1, [x19, #16]
	bl	_move_op
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"list"

	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"Missing argument for list operation.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"del"

l_.str.3:                               ; @.str.3
	.asciz	"Missing argument for del operation.\n"

l_.str.4:                               ; @.str.4
	.asciz	"move"

l_.str.5:                               ; @.str.5
	.asciz	"Missing argument for move operation.\n"

l_.str.6:                               ; @.str.6
	.asciz	"Invalid operation %s\n"

.subsections_via_symbols
