	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_content_type
_get_content_type:                      ## @get_content_type
	.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	_AVMEDIA_TYPE_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.1:
	movq	%rdi, %rbx
	leaq	L_.str.1(%rip), %rsi
	callq	_xmlGetProp
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	callq	_av_stristr
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_av_stristr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_av_stristr
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	_AVMEDIA_TYPE_SUBTITLE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r14d
LBB0_9:
	movq	%r15, %rdi
	callq	_xmlFree
LBB0_10:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_xmlGetProp
	testq	%rax, %rax
	je	LBB0_19
## %bb.11:
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	callq	_av_stristr
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_13:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_av_stristr
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_av_stristr
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	_AVMEDIA_TYPE_SUBTITLE@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %r14d
LBB0_18:
	movq	%rbx, %rdi
	callq	_xmlFree
LBB0_19:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVMEDIA_TYPE_UNKNOWN,4,2       ## @AVMEDIA_TYPE_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mimeType"

L_.str.1:                               ## @.str.1
	.asciz	"contentType"

L_.str.2:                               ## @.str.2
	.asciz	"video"

	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ## @AVMEDIA_TYPE_VIDEO
L_.str.3:                               ## @.str.3
	.asciz	"audio"

	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ## @AVMEDIA_TYPE_AUDIO
L_.str.4:                               ## @.str.4
	.asciz	"text"

	.comm	_AVMEDIA_TYPE_SUBTITLE,4,2      ## @AVMEDIA_TYPE_SUBTITLE
	.no_dead_strip	_get_content_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_content_type
_get_content_type:                      ; @get_content_type
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _AVMEDIA_TYPE_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVMEDIA_TYPE_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	cbz	x0, LBB0_15
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_xmlGetProp
	cbz	x0, LBB0_8
; %bb.2:
	mov	x21, x0
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_av_stristr
	cbz	x0, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh9:
	ldr	w19, [x8]
	b	LBB0_7
LBB0_4:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_av_stristr
	cbz	x0, LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_av_stristr
Lloh17:
	adrp	x8, _AVMEDIA_TYPE_SUBTITLE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AVMEDIA_TYPE_SUBTITLE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w19, w19, w8, eq
LBB0_7:
	mov	x0, x21
	bl	_xmlFree
LBB0_8:
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_xmlGetProp
	cbz	x0, LBB0_15
; %bb.9:
	mov	x20, x0
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_av_stristr
	cbz	x0, LBB0_11
; %bb.10:
Lloh24:
	adrp	x8, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh26:
	ldr	w19, [x8]
	b	LBB0_14
LBB0_11:
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_av_stristr
	cbz	x0, LBB0_13
; %bb.12:
Lloh29:
	adrp	x8, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh31:
	ldr	w19, [x8]
	b	LBB0_14
LBB0_13:
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_av_stristr
Lloh34:
	adrp	x8, _AVMEDIA_TYPE_SUBTITLE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _AVMEDIA_TYPE_SUBTITLE@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w19, w19, w8, eq
LBB0_14:
	mov	x0, x20
	bl	_xmlFree
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_AVMEDIA_TYPE_UNKNOWN,4,2       ; @AVMEDIA_TYPE_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mimeType"

l_.str.1:                               ; @.str.1
	.asciz	"contentType"

l_.str.2:                               ; @.str.2
	.asciz	"video"

	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ; @AVMEDIA_TYPE_VIDEO
l_.str.3:                               ; @.str.3
	.asciz	"audio"

	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ; @AVMEDIA_TYPE_AUDIO
l_.str.4:                               ; @.str.4
	.asciz	"text"

	.comm	_AVMEDIA_TYPE_SUBTITLE,4,2      ; @AVMEDIA_TYPE_SUBTITLE
	.no_dead_strip	_get_content_type
.subsections_via_symbols
