	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dst_get_signal
_dst_get_signal:                        ## @dst_get_signal
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movaps	l___const.dst_get_signal.get_signal+16(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	l___const.dst_get_signal.get_signal(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	(%rdi), %eax
	movq	_ATTEMPT_TUNE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_HAS_LOCK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.3:
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$33, %rax
	addl	%ecx, %eax
	movslq	%eax, %rsi
	addq	32(%rbx), %rsi
	callq	_time_after_eq
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_dst_command
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	16(%rbx), %rax
	movq	_DST_TYPE_IS_SAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	24(%rbx), %rcx
	xorl	%eax, %eax
	testb	$16, 24(%rcx)
	sete	%al
	movl	%eax, 4(%rbx)
	movl	20(%rcx), %eax
LBB0_13:
	shll	$8, %eax
	movl	%eax, 8(%rbx)
	movl	8(%rcx), %eax
	shll	$8, %eax
	orl	12(%rcx), %eax
	jmp	LBB0_14
LBB0_1:
	movl	$0, 12(%rbx)
	movq	$0, 4(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_5:
	movl	%eax, %r14d
	jmp	LBB0_16
LBB0_8:
	movq	_DST_TYPE_IS_TERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movq	_DST_TYPE_IS_CABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.11:
	movq	_DST_TYPE_IS_ATSC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.12:
	movq	24(%rbx), %rcx
	xorl	%eax, %eax
	cmpl	$0, 24(%rcx)
	sete	%al
	movl	%eax, 4(%rbx)
	movl	16(%rcx), %eax
	jmp	LBB0_13
LBB0_10:
	movq	24(%rbx), %rax
	xorl	%ecx, %ecx
	cmpl	$0, 4(%rax)
	setne	%cl
	movl	%ecx, 4(%rbx)
	movl	16(%rax), %ecx
	shll	$8, %ecx
	movl	%ecx, 8(%rbx)
	movl	12(%rax), %eax
	shll	$8, %eax
LBB0_14:
	movl	%eax, 12(%rbx)
LBB0_15:
	movq	(%r15), %rax
	movq	%rax, 32(%rbx)
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.dst_get_signal.get_signal
l___const.dst_get_signal.get_signal:
	.long	0                               ## 0x0
	.long	5                               ## 0x5
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	251                             ## 0xfb

	.comm	_ATTEMPT_TUNE,4,2               ## @ATTEMPT_TUNE
	.comm	_HAS_LOCK,4,2                   ## @HAS_LOCK
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_DST_TYPE_IS_SAT,8,3            ## @DST_TYPE_IS_SAT
	.comm	_DST_TYPE_IS_TERR,8,3           ## @DST_TYPE_IS_TERR
	.comm	_DST_TYPE_IS_CABLE,8,3          ## @DST_TYPE_IS_CABLE
	.comm	_DST_TYPE_IS_ATSC,8,3           ## @DST_TYPE_IS_ATSC
	.no_dead_strip	_dst_get_signal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dst_get_signal
_dst_get_signal:                        ; @dst_get_signal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l___const.dst_get_signal.get_signal@PAGE
Lloh4:
	add	x8, x8, l___const.dst_get_signal.get_signal@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	ldr	w8, [x0]
Lloh5:
	adrp	x9, _ATTEMPT_TUNE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ATTEMPT_TUNE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.1:
Lloh8:
	adrp	x9, _HAS_LOCK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HAS_LOCK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.2:
Lloh11:
	adrp	x20, _jiffies@GOTPAGE
Lloh12:
	ldr	x20, [x20, _jiffies@GOTPAGEOFF]
	ldr	x0, [x20]
	ldr	x8, [x19, #32]
Lloh13:
	adrp	x9, _HZ@GOTPAGE
Lloh14:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh15:
	ldrsw	x9, [x9]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #1
	add	x1, x8, w9, sxtw
	bl	_time_after_eq
	cbz	x0, LBB0_15
; %bb.3:
	mov	x1, sp
	mov	x0, x19
	mov	w2, #8
	bl	_dst_command
	tbnz	w0, #31, LBB0_15
; %bb.4:
	ldr	x8, [x19, #16]
Lloh16:
	adrp	x9, _DST_TYPE_IS_SAT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _DST_TYPE_IS_SAT@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x19, #24]
	ldr	w9, [x8, #24]
	mov	w10, #1
	bic	w9, w10, w9, lsr #4
	str	w9, [x19, #4]
	ldr	w9, [x8, #20]
LBB0_6:
	lsl	w9, w9, #8
	str	w9, [x19, #8]
	ldp	w9, w8, [x8, #8]
	orr	w8, w8, w9, lsl #8
	b	LBB0_13
LBB0_7:
	mov	w0, #0
	str	xzr, [x19, #8]
	str	wzr, [x19, #4]
	b	LBB0_15
LBB0_8:
Lloh19:
	adrp	x9, _DST_TYPE_IS_TERR@GOTPAGE
Lloh20:
	ldr	x9, [x9, _DST_TYPE_IS_TERR@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.9:
Lloh22:
	adrp	x9, _DST_TYPE_IS_CABLE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _DST_TYPE_IS_CABLE@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.10:
Lloh25:
	adrp	x9, _DST_TYPE_IS_ATSC@GOTPAGE
Lloh26:
	ldr	x9, [x9, _DST_TYPE_IS_ATSC@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.11:
	ldr	x8, [x19, #24]
	ldr	w9, [x8, #24]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x19, #4]
	ldr	w9, [x8, #16]
	b	LBB0_6
LBB0_12:
	ldr	x8, [x19, #24]
	ldr	w9, [x8, #4]
	cmp	w9, #0
	cset	w9, ne
	str	w9, [x19, #4]
	ldr	w9, [x8, #16]
	lsl	w9, w9, #8
	str	w9, [x19, #8]
	ldr	w8, [x8, #12]
	lsl	w8, w8, #8
LBB0_13:
	str	w8, [x19, #12]
LBB0_14:
	mov	w0, #0
	ldr	x8, [x20]
	str	x8, [x19, #32]
LBB0_15:
	ldur	x8, [x29, #-24]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.dst_get_signal.get_signal
l___const.dst_get_signal.get_signal:
	.long	0                               ; 0x0
	.long	5                               ; 0x5
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	251                             ; 0xfb

	.comm	_ATTEMPT_TUNE,4,2               ; @ATTEMPT_TUNE
	.comm	_HAS_LOCK,4,2                   ; @HAS_LOCK
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_DST_TYPE_IS_SAT,8,3            ; @DST_TYPE_IS_SAT
	.comm	_DST_TYPE_IS_TERR,8,3           ; @DST_TYPE_IS_TERR
	.comm	_DST_TYPE_IS_CABLE,8,3          ; @DST_TYPE_IS_CABLE
	.comm	_DST_TYPE_IS_ATSC,8,3           ; @DST_TYPE_IS_ATSC
	.no_dead_strip	_dst_get_signal
.subsections_via_symbols
