	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function probe_dts_profile
_probe_dts_profile:                     ## @probe_dts_profile
	.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, %rbx
	movl	(%rdi), %edi
	movl	32(%rsi), %esi
	callq	_hb_audio_decoder
	movq	%rax, %r14
	movl	16(%rbx), %eax
	movl	%eax, 8(%r14)
	movl	40(%rbx), %esi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	*(%r14)
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movl	16(%rbx), %edx
	movl	32(%rbx), %esi
	movl	36(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_hb_log
LBB0_2:
	movl	-32(%rbp), %eax
	leal	-130(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_3
## %bb.4:
	movq	_HB_ACODEC_DCA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	$130, %r15d
	jmp	LBB0_5
LBB0_3:
	xorl	%r15d, %r15d
	addl	$-128, %eax
	cmpl	$2, %eax
	jae	LBB0_7
LBB0_5:
	movl	%r15d, (%rbx)
	movq	_A@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	16(%rbx), %edi
	callq	_avcodec_find_decoder
	movl	-32(%rbp), %esi
	movq	%rax, %rdi
	callq	_av_get_profile_name
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	8(%rbx), %rdi
	movq	%rax, %rsi
	movl	$80, %edx
	callq	_strncpy
	movq	8(%rbx), %rax
	movq	$0, 632(%rax)
LBB0_7:
	movq	%r14, %rdi
	callq	_free
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"probe_dts_profile: no info type %d/0x%x for id 0x%x"

	.comm	_HB_ACODEC_DCA,4,2              ## @HB_ACODEC_DCA
	.comm	_A,8,3                          ## @A
	.no_dead_strip	_probe_dts_profile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function probe_dts_profile
_probe_dts_profile:                     ; @probe_dts_profile
	.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	x20, x1
	ldr	w0, [x0]
	ldr	w1, [x1, #32]
	bl	_hb_audio_decoder
	mov	x19, x0
	ldr	w8, [x20, #16]
	str	w8, [x0, #8]
	ldr	x8, [x0]
	ldr	w1, [x20, #40]
	add	x2, sp, #8
	blr	x8
	tbz	w0, #31, LBB0_2
; %bb.1:
	ldr	w2, [x20, #16]
	ldp	w1, w3, [x20, #32]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hb_log
LBB0_2:
	ldr	w9, [sp, #8]
	sub	w8, w9, #130
	cmp	w8, #3
	b.hs	LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _HB_ACODEC_DCA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HB_ACODEC_DCA@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	mov	w8, #130
	b	LBB0_5
LBB0_4:
	mov	w8, #0
	mov	w21, #0
	sub	w9, w9, #128
	cmp	w9, #2
	b.hs	LBB0_8
LBB0_5:
	str	w8, [x20]
Lloh5:
	adrp	x8, _A@GOTPAGE
Lloh6:
	ldr	x8, [x8, _A@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x20, #24]
	ldr	w0, [x20, #16]
	bl	_avcodec_find_decoder
	ldr	w1, [sp, #8]
	bl	_av_get_profile_name
	cbz	x0, LBB0_7
; %bb.6:
	mov	x1, x0
	ldr	x0, [x20, #8]
	mov	w2, #80
	bl	_strncpy
	ldr	x8, [x20, #8]
	str	xzr, [x8, #632]
LBB0_7:
	mov	w21, #1
LBB0_8:
	mov	x0, x19
	bl	_free
	mov	x0, x21
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"probe_dts_profile: no info type %d/0x%x for id 0x%x"

	.comm	_HB_ACODEC_DCA,4,2              ; @HB_ACODEC_DCA
	.comm	_A,8,3                          ; @A
	.no_dead_strip	_probe_dts_profile
.subsections_via_symbols
