	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dst_set_symbolrate
_dst_set_symbolrate:                    ## @dst_set_symbolrate
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, (%rdi)
	movq	8(%rdi), %rax
	movq	_DST_TYPE_IS_TERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_14
LBB0_2:
	movl	%esi, %r12d
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%r12d, %edx
	callq	_dprintk
	movslq	%r12d, %rax
	imulq	$274877907, %rax, %r13          ## imm = 0x10624DD3
	movq	%r13, %rax
	shrq	$63, %rax
	sarq	$38, %r13
	addl	%eax, %r13d
	movq	8(%r15), %rax
	movq	_DST_TYPE_IS_SAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.3:
	movq	_DST_TYPE_HAS_SYMDIV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r15)
	je	LBB0_5
## %bb.4:
	movl	%r13d, %ebx
	shll	$20, %ebx
	movl	%ebx, %edi
	movl	$88000, %esi                    ## imm = 0x157C0
	callq	_do_div
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	movl	%ebx, %edx
	callq	_dprintk
	movl	%ebx, %ecx
	sarl	$12, %ecx
	movq	24(%r15), %rax
	movl	%ecx, 20(%rax)
	sarl	$4, %ebx
	movl	%ebx, 24(%rax)
	shll	$24, %r13d
	jmp	LBB0_6
LBB0_9:
	movq	_DST_TYPE_IS_CABLE@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.10:
	movl	32(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	movl	$3, %edi
	callq	_dprintk
	movl	32(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movl	32(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	24(%r15), %rax
	movl	$0, 20(%rax)
	movl	%r13d, %ecx
	sarl	$8, %ecx
	movl	%ecx, 24(%rax)
	movl	%r13d, 28(%rax)
	jmp	LBB0_14
LBB0_5:
	movl	%r13d, %ecx
	shrl	$16, %ecx
	andl	$127, %ecx
	movq	24(%r15), %rax
	movl	%ecx, 20(%rax)
	movl	%r13d, %ecx
	sarl	$8, %ecx
	movl	%ecx, 24(%rax)
LBB0_6:
	movl	%r13d, 28(%rax)
	movl	32(%rax), %ecx
	movl	%ecx, %edx
	andl	$-33, %edx
	movl	%edx, 32(%rax)
	xorl	%r14d, %r14d
	cmpl	$8001000, %r12d                 ## imm = 0x7A15E8
	jl	LBB0_14
## %bb.7:
	movq	_DST_TYPE_HAS_OBS_REGS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	16(%r15), %edx
	je	LBB0_14
## %bb.8:
	orl	$32, %ecx
	movl	%ecx, 32(%rax)
	jmp	LBB0_14
LBB0_11:
	movl	%r13d, %eax
	sarl	$8, %eax
	movq	24(%r15), %rcx
	movl	%eax, 20(%rcx)
	movl	%r13d, 24(%rcx)
	movl	$0, 28(%rcx)
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DST_TYPE_IS_TERR,8,3           ## @DST_TYPE_IS_TERR
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set symrate %u\n"

	.comm	_DST_TYPE_IS_SAT,8,3            ## @DST_TYPE_IS_SAT
	.comm	_DST_TYPE_HAS_SYMDIV,4,2        ## @DST_TYPE_HAS_SYMDIV
L_.str.1:                               ## @.str.1
	.asciz	"set symcalc %u\n"

	.comm	_DST_TYPE_HAS_OBS_REGS,4,2      ## @DST_TYPE_HAS_OBS_REGS
	.comm	_DST_TYPE_IS_CABLE,8,3          ## @DST_TYPE_IS_CABLE
L_.str.2:                               ## @.str.2
	.asciz	"%s\n"

L_.str.3:                               ## @.str.3
	.asciz	"DCTNEW"

L_.str.4:                               ## @.str.4
	.asciz	"DCT-CI"

	.no_dead_strip	_dst_set_symbolrate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dst_set_symbolrate
lCPI0_0:
	.long	4294967284                      ; 0xfffffff4
	.long	4294967292                      ; 0xfffffffc
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dst_set_symbolrate:                    ; @dst_set_symbolrate
	.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
	str	w1, [x0]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _DST_TYPE_IS_TERR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DST_TYPE_IS_TERR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
LBB0_2:
	mov	x20, x1
	mov	x19, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x20
	bl	_dprintk
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w20, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w22, w8, w9
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _DST_TYPE_IS_SAT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DST_TYPE_IS_SAT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x19, #16]
Lloh11:
	adrp	x9, _DST_TYPE_HAS_SYMDIV@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DST_TYPE_HAS_SYMDIV@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.4:
	lsl	w21, w22, #20
	mov	x0, x21
	mov	w1, #22464
	movk	w1, #1, lsl #16
	bl	_do_div
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	mov	x2, x21
	bl	_dprintk
	dup.2s	v0, w21
	ldr	x8, [x19, #24]
Lloh16:
	adrp	x9, lCPI0_0@PAGE
Lloh17:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	sshl.2s	v0, v0, v1
	stur	d0, [x8, #20]
	lsl	w22, w22, #24
	b	LBB0_10
LBB0_5:
Lloh18:
	adrp	x9, _DST_TYPE_IS_CABLE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _DST_TYPE_IS_CABLE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	w2, [x19, #32]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #3
	bl	_dprintk
	ldr	w0, [x19, #32]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #6
	bl	_strncmp
	cbz	w0, LBB0_13
; %bb.7:
	ldr	w0, [x19, #32]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #6
	bl	_strncmp
	cbz	w0, LBB0_14
LBB0_8:
	mov	w0, #0
	b	LBB0_15
LBB0_9:
	ubfx	w9, w22, #16, #7
	ldr	x8, [x19, #24]
	asr	w10, w22, #8
	stp	w9, w10, [x8, #20]
LBB0_10:
	mov	w0, #0
	ldr	w9, [x8, #32]
	and	w10, w9, #0xffffffdf
	stp	w22, w10, [x8, #28]
	mov	w10, #5608
	movk	w10, #122, lsl #16
	cmp	w20, w10
	b.lt	LBB0_15
; %bb.11:
	ldr	w10, [x19, #16]
Lloh27:
	adrp	x11, _DST_TYPE_HAS_OBS_REGS@GOTPAGE
Lloh28:
	ldr	x11, [x11, _DST_TYPE_HAS_OBS_REGS@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
	and	w10, w11, w10
	cbz	w10, LBB0_15
; %bb.12:
	mov	w0, #0
	orr	w9, w9, #0x20
	str	w9, [x8, #32]
	b	LBB0_15
LBB0_13:
	ldr	x8, [x19, #24]
	asr	w9, w22, #8
	stp	w9, w22, [x8, #20]
	str	wzr, [x8, #28]
	b	LBB0_15
LBB0_14:
	ldr	x8, [x19, #24]
	asr	w9, w22, #8
	stp	wzr, w9, [x8, #20]
	str	w22, [x8, #28]
LBB0_15:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_DST_TYPE_IS_TERR,8,3           ; @DST_TYPE_IS_TERR
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set symrate %u\n"

	.comm	_DST_TYPE_IS_SAT,8,3            ; @DST_TYPE_IS_SAT
	.comm	_DST_TYPE_HAS_SYMDIV,4,2        ; @DST_TYPE_HAS_SYMDIV
l_.str.1:                               ; @.str.1
	.asciz	"set symcalc %u\n"

	.comm	_DST_TYPE_HAS_OBS_REGS,4,2      ; @DST_TYPE_HAS_OBS_REGS
	.comm	_DST_TYPE_IS_CABLE,8,3          ; @DST_TYPE_IS_CABLE
l_.str.2:                               ; @.str.2
	.asciz	"%s\n"

l_.str.3:                               ; @.str.3
	.asciz	"DCTNEW"

l_.str.4:                               ; @.str.4
	.asciz	"DCT-CI"

	.no_dead_strip	_dst_set_symbolrate
.subsections_via_symbols
