	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function select_segment_type
_select_segment_type:                   ## @select_segment_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	_SEGMENT_TYPE_AUTO@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	jne	LBB0_8
## %bb.1:
	movq	_AV_CODEC_ID_OPUS@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_5
## %bb.2:
	movq	_AV_CODEC_ID_VORBIS@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_AV_CODEC_ID_VP8@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_AV_CODEC_ID_VP9@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_5
## %bb.6:
	movq	_SEGMENT_TYPE_MP4@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_SEGMENT_TYPE_WEBM@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEGMENT_TYPE_AUTO,8,3          ## @SEGMENT_TYPE_AUTO
	.comm	_AV_CODEC_ID_OPUS,4,2           ## @AV_CODEC_ID_OPUS
	.comm	_AV_CODEC_ID_VORBIS,4,2         ## @AV_CODEC_ID_VORBIS
	.comm	_AV_CODEC_ID_VP8,4,2            ## @AV_CODEC_ID_VP8
	.comm	_AV_CODEC_ID_VP9,4,2            ## @AV_CODEC_ID_VP9
	.comm	_SEGMENT_TYPE_WEBM,8,3          ## @SEGMENT_TYPE_WEBM
	.comm	_SEGMENT_TYPE_MP4,8,3           ## @SEGMENT_TYPE_MP4
	.no_dead_strip	_select_segment_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function select_segment_type
_select_segment_type:                   ; @select_segment_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SEGMENT_TYPE_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEGMENT_TYPE_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _AV_CODEC_ID_OPUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_CODEC_ID_OPUS@GOTPAGEOFF]
Lloh5:
	adrp	x9, _AV_CODEC_ID_VORBIS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_CODEC_ID_VORBIS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _AV_CODEC_ID_VP8@GOTPAGE
Lloh10:
	ldr	x10, [x10, _AV_CODEC_ID_VP8@GOTPAGEOFF]
Lloh11:
	adrp	x11, _AV_CODEC_ID_VP9@GOTPAGE
Lloh12:
	ldr	x11, [x11, _AV_CODEC_ID_VP9@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
Lloh14:
	ldr	w11, [x11]
	cmp	w8, w1
	ccmp	w9, w1, #4, ne
	ccmp	w10, w1, #4, ne
	ccmp	w11, w1, #4, ne
	b.ne	LBB0_3
; %bb.2:
Lloh15:
	adrp	x8, _SEGMENT_TYPE_WEBM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SEGMENT_TYPE_WEBM@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh17:
	adrp	x8, _SEGMENT_TYPE_MP4@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SEGMENT_TYPE_MP4@GOTPAGEOFF]
LBB0_4:
	ldr	x0, [x8]
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SEGMENT_TYPE_AUTO,8,3          ; @SEGMENT_TYPE_AUTO
	.comm	_AV_CODEC_ID_OPUS,4,2           ; @AV_CODEC_ID_OPUS
	.comm	_AV_CODEC_ID_VORBIS,4,2         ; @AV_CODEC_ID_VORBIS
	.comm	_AV_CODEC_ID_VP8,4,2            ; @AV_CODEC_ID_VP8
	.comm	_AV_CODEC_ID_VP9,4,2            ; @AV_CODEC_ID_VP9
	.comm	_SEGMENT_TYPE_WEBM,8,3          ; @SEGMENT_TYPE_WEBM
	.comm	_SEGMENT_TYPE_MP4,8,3           ; @SEGMENT_TYPE_MP4
	.no_dead_strip	_select_segment_type
.subsections_via_symbols
