	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function avi_chunk_id_from_track_num
_avi_chunk_id_from_track_num:           ## @avi_chunk_id_from_track_num
	.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, %ebx
	movq	%rsi, %r14
	movq	(%rdi), %rax
	movl	%edx, %ecx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_VC_CONTAINER_ES_TYPE_VIDEO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	$48, %edi
	movl	$48, %esi
	movl	$100, %edx
	movl	$99, %ecx
	jmp	LBB0_4
LBB0_2:
	movq	_VC_CONTAINER_ES_TYPE_AUDIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movl	$48, %edi
	movl	$48, %esi
	movl	$119, %edx
	movl	$98, %ecx
LBB0_4:
	callq	_VC_FOURCC
	movl	%eax, -28(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-31(%rbp), %r15
	movq	%r15, %rdi
	movl	$3, %esi
	movl	%ebx, %ecx
	callq	_snprintf
	leaq	-28(%rbp), %rdi
	movq	%r15, %rsi
	movl	$2, %edx
	callq	_memcpy
	movl	-28(%rbp), %eax
	jmp	LBB0_5
LBB0_6:
	movl	$74, %edi
	movl	$85, %esi
	movl	$78, %edx
	movl	$75, %ecx
	callq	_VC_FOURCC
LBB0_5:
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ## @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_VC_CONTAINER_ES_TYPE_AUDIO,8,3 ## @VC_CONTAINER_ES_TYPE_AUDIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02d"

	.no_dead_strip	_avi_chunk_id_from_track_num
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function avi_chunk_id_from_track_num
_avi_chunk_id_from_track_num:           ; @avi_chunk_id_from_track_num
	.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	x20, x2
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x8, [x8, w2, uxtw #3]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #48
	mov	w1, #48
	mov	w2, #100
	mov	w3, #99
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x9, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	w0, #48
	mov	w1, #48
	mov	w2, #119
	mov	w3, #98
LBB0_4:
	bl	_VC_FOURCC
	str	w0, [sp, #12]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #9
	mov	w1, #3
	mov	x3, x20
	bl	_snprintf
	add	x0, sp, #12
	add	x1, sp, #9
	mov	w2, #2
	bl	_memcpy
	ldr	w0, [sp, #12]
	b	LBB0_6
LBB0_5:
	mov	w0, #74
	mov	w1, #85
	mov	w2, #78
	mov	w3, #75
	bl	_VC_FOURCC
LBB0_6:
	str	w0, [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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ; @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_VC_CONTAINER_ES_TYPE_AUDIO,8,3 ; @VC_CONTAINER_ES_TYPE_AUDIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02d"

	.no_dead_strip	_avi_chunk_id_from_track_num
.subsections_via_symbols
