	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$1128, %rsp                     ## imm = 0x468
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -1088(%rbp)
	movq	$0, -1120(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -1152(%rbp)
	movaps	%xmm0, -1168(%rbp)
	movq	$0, -1112(%rbp)
	movq	$0, -1104(%rbp)
	movaps	%xmm0, -1136(%rbp)
	movq	$0, -1080(%rbp)
	cmpl	$2, %edi
	jg	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %r13d
	jmp	LBB0_50
LBB0_2:
	movq	8(%r14), %rsi
	leaq	-1088(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_avformat_open_input
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	movq	-1088(%rbp), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_23
## %bb.4:
	movq	8(%rax), %rdx
	movq	_AV_CODEC_ID_H264@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	_AVDISCARD_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	cmpl	$1, %r8d
	jne	LBB0_7
## %bb.5:
	xorl	%edi, %edi
	xorl	%r12d, %r12d
LBB0_17:
	testb	$1, %r8b
	je	LBB0_22
## %bb.18:
	movq	(%rdx,%rdi,8), %rcx
	movq	8(%rcx), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_21
## %bb.19:
	testq	%r12, %r12
	jne	LBB0_21
## %bb.20:
	movq	%rcx, %r12
LBB0_22:
	testq	%r12, %r12
	je	LBB0_23
LBB0_24:
	movq	_AV_HWDEVICE_TYPE_QSV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	leaq	-1136(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_av_hwdevice_ctx_create
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_25
## %bb.27:
	leaq	L_.str.5(%rip), %rdi
	callq	_avcodec_find_decoder_by_name
	testq	%rax, %rax
	je	LBB0_28
## %bb.29:
	movq	%r15, %r13
	movq	%rax, %rdi
	callq	_avcodec_alloc_context3
	movq	%rax, -1120(%rbp)
	testq	%rax, %rax
	je	LBB0_30
## %bb.31:
	movq	%rax, %r15
	movq	(%r13), %rax
	movq	%rax, 32(%r15)
	movq	8(%r12), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.32:
	movq	_AV_INPUT_BUFFER_PADDING_SIZE@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_av_mallocz
	movl	%eax, 24(%r15)
	testl	%eax, %eax
	je	LBB0_30
## %bb.33:
	movq	8(%r12), %rcx
	movl	16(%rcx), %esi
	movq	8(%rcx), %rdx
	movl	%eax, %edi
	callq	_memcpy
	movq	8(%r12), %rax
	movq	8(%rax), %rax
	movq	%rax, 16(%r15)
LBB0_34:
	movq	%rbx, 8(%r15)
	movq	_get_format@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_avcodec_open2
	testl	%eax, %eax
	js	LBB0_35
## %bb.36:
	movq	16(%r14), %rsi
	movq	_AVIO_FLAG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-1080(%rbp), %rdi
	callq	_avio_open
	testl	%eax, %eax
	js	LBB0_37
## %bb.38:
	xorl	%eax, %eax
	callq	_av_frame_alloc
	movq	%rax, %rbx
	movq	%rax, -1112(%rbp)
	xorl	%eax, %eax
	callq	_av_frame_alloc
	movq	%rax, -1104(%rbp)
	movq	%rbx, -1096(%rbp)               ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_30
## %bb.39:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_30
## %bb.40:
	leaq	-1168(%rbp), %r14
	jmp	LBB0_41
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_48
LBB0_7:
	movl	%r8d, %ecx
	andl	$-2, %ecx
	xorl	%edi, %edi
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r9d, 16(%rbx)
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$2, %rdi
	cmpq	%rdi, %rcx
	je	LBB0_17
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %rbx
	movq	8(%rbx), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	testq	%r12, %r12
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %r12
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r9d, 16(%rbx)
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rdx,%rdi,8), %rbx
	movq	8(%rbx), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	testq	%r12, %r12
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %r12
	jmp	LBB0_16
LBB0_44:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	%r14, %rdi
	callq	_av_packet_unref
	testl	%r13d, %r13d
	js	LBB0_45
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movq	-1088(%rbp), %rdi
	movq	%r14, %rsi
	callq	_av_read_frame
	testl	%eax, %eax
	js	LBB0_45
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	movl	%eax, %r13d
	movq	-1168(%rbp), %rax
	cmpq	(%r12), %rax
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_41 Depth=1
	movq	-1080(%rbp), %r9
	leaq	-1136(%rbp), %rdi
	movq	%r15, %rsi
	movq	-1096(%rbp), %rdx               ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_decode_packet
	movl	%eax, %r13d
	jmp	LBB0_44
LBB0_21:
	movl	%r9d, 16(%rcx)
	testq	%r12, %r12
	jne	LBB0_24
LBB0_23:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	testl	%r13d, %r13d
	jns	LBB0_49
	jmp	LBB0_48
LBB0_25:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_26:
	xorl	%eax, %eax
	callq	_fprintf
LBB0_48:
	leaq	-1072(%rbp), %rbx
	movl	%r13d, %edi
	movq	%rbx, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_av_strerror
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_49:
	leaq	-1088(%rbp), %rdi
	callq	_avformat_close_input
	leaq	-1112(%rbp), %rdi
	callq	_av_frame_free
	leaq	-1104(%rbp), %rdi
	callq	_av_frame_free
	leaq	-1120(%rbp), %rdi
	callq	_avcodec_free_context
	leaq	-1136(%rbp), %rdi
	callq	_av_buffer_unref
	movq	-1080(%rbp), %rdi
	callq	_avio_close
LBB0_50:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_52
## %bb.51:
	movl	%r13d, %eax
	addq	$1128, %rsp                     ## imm = 0x468
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_46:
	movl	%eax, %r13d
	testl	%r13d, %r13d
	jns	LBB0_49
	jmp	LBB0_48
LBB0_28:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_49
LBB0_35:
	movl	%eax, %r13d
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_26
LBB0_37:
	movl	%eax, %r13d
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_26
LBB0_45:
	xorps	%xmm0, %xmm0
	movups	%xmm0, -1160(%rbp)
	movq	-1080(%rbp), %r9
	leaq	-1136(%rbp), %rdi
	leaq	-1168(%rbp), %r8
	movq	%r15, %rsi
	movq	-1096(%rbp), %rdx               ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_decode_packet
	jmp	LBB0_46
LBB0_52:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: %s <input file> <output file>\n"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot open input file '%s': "

	.comm	_AV_CODEC_ID_H264,8,3           ## @AV_CODEC_ID_H264
	.comm	_AVDISCARD_ALL,4,2              ## @AVDISCARD_ALL
L_.str.2:                               ## @.str.2
	.asciz	"No H.264 video stream in the input file\n"

	.comm	_AV_HWDEVICE_TYPE_QSV,4,2       ## @AV_HWDEVICE_TYPE_QSV
L_.str.3:                               ## @.str.3
	.asciz	"auto"

L_.str.4:                               ## @.str.4
	.asciz	"Cannot open the hardware device\n"

L_.str.5:                               ## @.str.5
	.asciz	"h264_qsv"

L_.str.6:                               ## @.str.6
	.asciz	"The QSV decoder is not present in libavcodec\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_INPUT_BUFFER_PADDING_SIZE,8,3 ## @AV_INPUT_BUFFER_PADDING_SIZE
	.comm	_get_format,4,2                 ## @get_format
L_.str.7:                               ## @.str.7
	.asciz	"Error opening the decoder: "

	.comm	_AVIO_FLAG_WRITE,4,2            ## @AVIO_FLAG_WRITE
L_.str.8:                               ## @.str.8
	.asciz	"Error opening the output context: "

L_.str.9:                               ## @.str.9
	.asciz	"%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:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #1136
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stp	xzr, xzr, [sp, #88]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #48]
	stp	xzr, xzr, [sp, #32]
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x23, _stderr@GOTPAGE
Lloh4:
	ldr	x23, [x23, _stderr@GOTPAGEOFF]
	cmp	w0, #2
	b.gt	LBB0_2
; %bb.1:
	ldr	w0, [x23]
	ldr	x8, [x20]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w19, #1
	b	LBB0_28
LBB0_2:
	ldr	x1, [x20, #8]
	add	x0, sp, #96
	mov	x2, #0
	mov	x3, #0
	bl	_avformat_open_input
	mov	x19, x0
	tbnz	w0, #31, LBB0_23
; %bb.3:
	ldr	x9, [sp, #96]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.4:
	mov	x24, #0
	ldr	x9, [x9, #8]
Lloh7:
	adrp	x22, _AV_CODEC_ID_H264@GOTPAGE
Lloh8:
	ldr	x22, [x22, _AV_CODEC_ID_H264@GOTPAGEOFF]
	ldr	x10, [x22]
Lloh9:
	adrp	x11, _AVDISCARD_ALL@GOTPAGE
Lloh10:
	ldr	x11, [x11, _AVDISCARD_ALL@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	w11, [x12, #16]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9]
	ldr	x13, [x12, #8]
	ldr	x13, [x13]
	cmp	x13, x10
	ccmp	x24, #0, #0, eq
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, x12
	b	LBB0_6
LBB0_9:
	cbz	x24, LBB0_22
; %bb.10:
Lloh12:
	adrp	x8, _AV_HWDEVICE_TYPE_QSV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_HWDEVICE_TYPE_QSV@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str.3@PAGE
Lloh16:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #16
	mov	x3, #0
	mov	w4, #0
	bl	_av_hwdevice_ctx_create
	mov	x19, x0
	tbnz	w0, #31, LBB0_34
; %bb.11:
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_avcodec_find_decoder_by_name
	cbz	x0, LBB0_35
; %bb.12:
	bl	_avcodec_alloc_context3
	str	x0, [sp, #88]
	cbz	x0, LBB0_20
; %bb.13:
	mov	x21, x0
	ldr	x8, [x22]
	str	x8, [x0, #32]
	ldr	x8, [x24, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_16
; %bb.14:
Lloh19:
	adrp	x9, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_av_mallocz
	str	w0, [x21, #24]
	cbz	w0, LBB0_20
; %bb.15:
	ldr	x8, [x24, #8]
	ldr	w1, [x8, #16]
	ldr	x2, [x8, #8]
	bl	_memcpy
	ldr	x8, [x24, #8]
	ldr	x8, [x8, #8]
	str	x8, [x21, #16]
LBB0_16:
	add	x8, sp, #16
	str	x8, [x21, #8]
Lloh22:
	adrp	x8, _get_format@GOTPAGE
Lloh23:
	ldr	x8, [x8, _get_format@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x21]
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	bl	_avcodec_open2
	tbnz	w0, #31, LBB0_36
; %bb.17:
	ldr	x1, [x20, #16]
Lloh25:
	adrp	x8, _AVIO_FLAG_WRITE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AVIO_FLAG_WRITE@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	add	x0, sp, #8
	bl	_avio_open
	tbnz	w0, #31, LBB0_37
; %bb.18:
	bl	_av_frame_alloc
	mov	x19, x0
	str	x0, [sp, #40]
	bl	_av_frame_alloc
	str	x0, [sp, #32]
	cbz	x19, LBB0_20
; %bb.19:
	mov	x20, x0
	cbnz	x0, LBB0_31
LBB0_20:
Lloh28:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_21:
	mov	x19, x0
	tbz	w19, #31, LBB0_27
	b	LBB0_25
LBB0_22:
	ldr	w0, [x23]
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	tbz	w19, #31, LBB0_27
	b	LBB0_25
LBB0_23:
	ldr	w0, [x23]
	ldr	x8, [x20, #8]
	str	x8, [sp]
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_24:
	bl	_fprintf
LBB0_25:
	add	x20, sp, #104
	add	x1, sp, #104
	mov	x0, x19
	mov	w2, #1024
	bl	_av_strerror
	ldr	w0, [x23]
	str	x20, [sp]
Lloh35:
	adrp	x1, l_.str.9@PAGE
Lloh36:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_26:
	bl	_fprintf
LBB0_27:
	add	x0, sp, #96
	bl	_avformat_close_input
	add	x0, sp, #40
	bl	_av_frame_free
	add	x0, sp, #32
	bl	_av_frame_free
	add	x0, sp, #88
	bl	_avcodec_free_context
	add	x0, sp, #16
	bl	_av_buffer_unref
	ldr	x0, [sp, #8]
	bl	_avio_close
LBB0_28:
	ldur	x8, [x29, #-72]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.29:
	mov	x0, x19
	add	sp, sp, #1136
	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
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	add	x0, sp, #48
	bl	_av_packet_unref
	tbnz	w22, #31, LBB0_38
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #96]
	add	x1, sp, #48
	bl	_av_read_frame
	tbnz	w0, #31, LBB0_38
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	x22, x0
	ldr	x8, [sp, #48]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	x5, [sp, #8]
	add	x0, sp, #16
	add	x4, sp, #48
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	bl	_decode_packet
	mov	x22, x0
	b	LBB0_30
LBB0_34:
	ldr	w0, [x23]
Lloh40:
	adrp	x1, l_.str.4@PAGE
Lloh41:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_24
LBB0_35:
	ldr	w0, [x23]
Lloh42:
	adrp	x1, l_.str.6@PAGE
Lloh43:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_26
LBB0_36:
	mov	x19, x0
	ldr	w0, [x23]
Lloh44:
	adrp	x1, l_.str.7@PAGE
Lloh45:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_24
LBB0_37:
	mov	x19, x0
	ldr	w0, [x23]
Lloh46:
	adrp	x1, l_.str.8@PAGE
Lloh47:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_24
LBB0_38:
	stp	xzr, xzr, [sp, #56]
	ldr	x5, [sp, #8]
	add	x0, sp, #16
	add	x4, sp, #48
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	bl	_decode_packet
	b	LBB0_21
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: %s <input file> <output file>\n"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot open input file '%s': "

	.comm	_AV_CODEC_ID_H264,8,3           ; @AV_CODEC_ID_H264
	.comm	_AVDISCARD_ALL,4,2              ; @AVDISCARD_ALL
l_.str.2:                               ; @.str.2
	.asciz	"No H.264 video stream in the input file\n"

	.comm	_AV_HWDEVICE_TYPE_QSV,4,2       ; @AV_HWDEVICE_TYPE_QSV
l_.str.3:                               ; @.str.3
	.asciz	"auto"

l_.str.4:                               ; @.str.4
	.asciz	"Cannot open the hardware device\n"

l_.str.5:                               ; @.str.5
	.asciz	"h264_qsv"

l_.str.6:                               ; @.str.6
	.asciz	"The QSV decoder is not present in libavcodec\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_INPUT_BUFFER_PADDING_SIZE,8,3 ; @AV_INPUT_BUFFER_PADDING_SIZE
	.comm	_get_format,4,2                 ; @get_format
l_.str.7:                               ; @.str.7
	.asciz	"Error opening the decoder: "

	.comm	_AVIO_FLAG_WRITE,4,2            ; @AVIO_FLAG_WRITE
l_.str.8:                               ; @.str.8
	.asciz	"Error opening the output context: "

l_.str.9:                               ; @.str.9
	.asciz	"%s\n"

.subsections_via_symbols
