	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsdvb_onresponse
_smsdvb_onresponse:                     ## @smsdvb_onresponse
	.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, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rcx
	movslq	(%rsi), %rdx
	movl	(%rcx,%rdx,4), %eax
	addl	$-128, %eax
	cmpl	$8, %eax
	ja	LBB0_13
## %bb.1:
	leaq	(%rcx,%rdx,4), %r15
	addq	$4, %r15
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	leaq	24(%rbx), %rdi
	callq	_complete
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	jmp	LBB0_14
LBB0_7:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_smsdvb_update_tx_params
	jmp	LBB0_16
LBB0_15:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
	jmp	LBB0_16
LBB0_6:
	movl	$0, 4(%rbx)
	jmp	LBB0_16
LBB0_8:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_smsdvb_update_per_slices
	jmp	LBB0_16
LBB0_9:
	movl	20(%rbx), %edi
	callq	_smscore_get_device_mode
	addl	$-137, %eax
	cmpl	$1, %eax
	ja	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_smsdvb_update_isdbt_stats
	jmp	LBB0_16
LBB0_12:
	addq	$4, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_smsdvb_update_isdbt_stats_ex
	jmp	LBB0_16
LBB0_2:
	cmpl	$0, 32(%rbx)
	je	LBB0_14
## %bb.3:
	cmpl	$0, (%rbx)
	je	LBB0_14
## %bb.4:
	leaq	28(%rbx), %rdi
	movl	4(%r14), %edx
	addl	$-4, %edx
	movq	%r15, %rsi
	callq	_dvb_dmx_swfilter
LBB0_14:
	movl	20(%rbx), %edi
	movq	%r14, %rsi
	callq	_smscore_putbuffer
	jmp	LBB0_23
LBB0_11:
	addq	$4, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_smsdvb_update_dvb_stats
LBB0_16:
	movl	20(%rbx), %edi
	movq	%r14, %rsi
	callq	_smscore_putbuffer
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_21
## %bb.17:
	movq	_DVB3_EVENT_FE_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sms_board_dvb3_event
	movq	8(%rbx), %rax
	movq	40(%rbx), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.19:
	movq	_DVB3_EVENT_UNC_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_21:
	leaq	40(%rbx), %rdi
	callq	_smsdvb_stats_not_ready
	movl	$0, (%rbx)
	movq	_DVB3_EVENT_FE_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sms_board_dvb3_event
	jmp	LBB0_22
LBB0_18:
	movq	_DVB3_EVENT_UNC_ERR@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sms_board_dvb3_event
	movl	$1, (%rbx)
LBB0_22:
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_complete
LBB0_23:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_15
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_FE_HAS_SIGNAL,4,2              ## @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ## @FE_HAS_CARRIER
	.comm	_FE_HAS_VITERBI,4,2             ## @FE_HAS_VITERBI
	.comm	_FE_HAS_SYNC,4,2                ## @FE_HAS_SYNC
	.comm	_FE_HAS_LOCK,4,2                ## @FE_HAS_LOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"message not handled\n"

	.comm	_DVB3_EVENT_FE_LOCK,4,2         ## @DVB3_EVENT_FE_LOCK
	.comm	_DVB3_EVENT_UNC_OK,4,2          ## @DVB3_EVENT_UNC_OK
	.comm	_DVB3_EVENT_UNC_ERR,4,2         ## @DVB3_EVENT_UNC_ERR
	.comm	_DVB3_EVENT_FE_UNLOCK,4,2       ## @DVB3_EVENT_FE_UNLOCK
	.no_dead_strip	_smsdvb_onresponse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsdvb_onresponse
_smsdvb_onresponse:                     ; @smsdvb_onresponse
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #8]
	ldrsw	x9, [x1]
	add	x21, x8, x9, lsl #2
	ldr	w8, [x21], #4
	sub	w8, w8, #128
	cmp	w8, #8
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	add	x0, x19, #24
	bl	_complete
	b	LBB0_14
LBB0_3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	b	LBB0_14
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	bl	_smsdvb_update_tx_params
	b	LBB0_16
LBB0_5:
Lloh4:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _FE_HAS_VITERBI@GOTPAGE
Lloh11:
	ldr	x10, [x10, _FE_HAS_VITERBI@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh12:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh13:
	adrp	x9, _FE_HAS_SYNC@GOTPAGE
Lloh14:
	ldr	x9, [x9, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh16:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #4]
	b	LBB0_16
LBB0_6:
	str	wzr, [x19, #4]
	b	LBB0_16
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_smsdvb_update_per_slices
	b	LBB0_16
LBB0_8:
	ldr	w0, [x19, #20]
	bl	_smscore_get_device_mode
	sub	w8, w0, #137
	cmp	w8, #1
	b.hi	LBB0_15
; %bb.9:
	mov	x0, x19
	mov	x1, x21
	bl	_smsdvb_update_isdbt_stats
	b	LBB0_16
LBB0_10:
	add	x1, x21, #4
	mov	x0, x19
	bl	_smsdvb_update_isdbt_stats_ex
	b	LBB0_16
LBB0_11:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_14
; %bb.12:
	ldr	w8, [x19]
	cbz	w8, LBB0_14
; %bb.13:
	add	x0, x19, #28
	ldr	w8, [x20, #4]
	sub	w2, w8, #4
	mov	x1, x21
	bl	_dvb_dmx_swfilter
LBB0_14:
	ldr	w0, [x19, #20]
	mov	x1, x20
	bl	_smscore_putbuffer
	b	LBB0_20
LBB0_15:
	add	x1, x21, #4
	mov	x0, x19
	bl	_smsdvb_update_dvb_stats
LBB0_16:
	ldr	w0, [x19, #20]
	mov	x1, x20
	bl	_smscore_putbuffer
	ldr	w8, [x19, #4]
Lloh19:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh20:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
Lloh22:
	adrp	x8, _DVB3_EVENT_FE_LOCK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DVB3_EVENT_FE_LOCK@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sms_board_dvb3_event
	ldr	x8, [x19, #8]
	ldr	x9, [x19, #40]
Lloh25:
	adrp	x10, _DVB3_EVENT_UNC_OK@GOTPAGE
Lloh26:
	ldr	x10, [x10, _DVB3_EVENT_UNC_OK@GOTPAGEOFF]
	ldr	x9, [x9]
Lloh27:
	adrp	x11, _DVB3_EVENT_UNC_ERR@GOTPAGE
Lloh28:
	ldr	x11, [x11, _DVB3_EVENT_UNC_ERR@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sms_board_dvb3_event
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_19
LBB0_18:
	add	x0, x19, #40
	bl	_smsdvb_stats_not_ready
	str	wzr, [x19]
Lloh29:
	adrp	x8, _DVB3_EVENT_FE_UNLOCK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DVB3_EVENT_FE_UNLOCK@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sms_board_dvb3_event
LBB0_19:
	add	x0, x19, #16
	bl	_complete
LBB0_20:
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_FE_HAS_SIGNAL,4,2              ; @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ; @FE_HAS_CARRIER
	.comm	_FE_HAS_VITERBI,4,2             ; @FE_HAS_VITERBI
	.comm	_FE_HAS_SYNC,4,2                ; @FE_HAS_SYNC
	.comm	_FE_HAS_LOCK,4,2                ; @FE_HAS_LOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"message not handled\n"

	.comm	_DVB3_EVENT_FE_LOCK,4,2         ; @DVB3_EVENT_FE_LOCK
	.comm	_DVB3_EVENT_UNC_OK,4,2          ; @DVB3_EVENT_UNC_OK
	.comm	_DVB3_EVENT_UNC_ERR,4,2         ; @DVB3_EVENT_UNC_ERR
	.comm	_DVB3_EVENT_FE_UNLOCK,4,2       ; @DVB3_EVENT_FE_UNLOCK
	.no_dead_strip	_smsdvb_onresponse
.subsections_via_symbols
