	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv090x_activate_modcod
_stv090x_activate_modcod:               ## @stv090x_activate_modcod
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_MODCODLST0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$255, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.1:
	movq	_MODCODLST1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$252, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.2:
	movq	_MODCODLST2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.3:
	movq	_MODCODLST3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.4:
	movq	_MODCODLST4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.5:
	movq	_MODCODLST5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.6:
	movq	_MODCODLST6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.7:
	movq	_MODCODLST7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.8:
	movq	_MODCODLST8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.9:
	movq	_MODCODLST9@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.10:
	movq	_MODCODLSTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.11:
	movq	_MODCODLSTB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.12:
	movq	_MODCODLSTC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.13:
	movq	_MODCODLSTD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.14:
	movq	_MODCODLSTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$204, %edx
	callq	_STV090x_WRITE_DEMOD
	testq	%rax, %rax
	js	LBB0_16
## %bb.15:
	movq	_MODCODLSTF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$207, %edx
	callq	_STV090x_WRITE_DEMOD
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jns	LBB0_17
LBB0_16:
	movq	_FE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
	movl	$-1, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODCODLST0,4,2                 ## @MODCODLST0
	.comm	_MODCODLST1,4,2                 ## @MODCODLST1
	.comm	_MODCODLST2,4,2                 ## @MODCODLST2
	.comm	_MODCODLST3,4,2                 ## @MODCODLST3
	.comm	_MODCODLST4,4,2                 ## @MODCODLST4
	.comm	_MODCODLST5,4,2                 ## @MODCODLST5
	.comm	_MODCODLST6,4,2                 ## @MODCODLST6
	.comm	_MODCODLST7,4,2                 ## @MODCODLST7
	.comm	_MODCODLST8,4,2                 ## @MODCODLST8
	.comm	_MODCODLST9,4,2                 ## @MODCODLST9
	.comm	_MODCODLSTA,4,2                 ## @MODCODLSTA
	.comm	_MODCODLSTB,4,2                 ## @MODCODLSTB
	.comm	_MODCODLSTC,4,2                 ## @MODCODLSTC
	.comm	_MODCODLSTD,4,2                 ## @MODCODLSTD
	.comm	_MODCODLSTE,4,2                 ## @MODCODLSTE
	.comm	_MODCODLSTF,4,2                 ## @MODCODLSTF
	.comm	_FE_ERROR,4,2                   ## @FE_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I/O error"

	.no_dead_strip	_stv090x_activate_modcod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv090x_activate_modcod
_stv090x_activate_modcod:               ; @stv090x_activate_modcod
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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, _MODCODLST0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODCODLST0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #255
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.1:
Lloh3:
	adrp	x8, _MODCODLST1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MODCODLST1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #252
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.2:
Lloh6:
	adrp	x8, _MODCODLST2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MODCODLST2@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.3:
Lloh9:
	adrp	x8, _MODCODLST3@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MODCODLST3@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.4:
Lloh12:
	adrp	x8, _MODCODLST4@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MODCODLST4@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.5:
Lloh15:
	adrp	x8, _MODCODLST5@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MODCODLST5@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.6:
Lloh18:
	adrp	x8, _MODCODLST6@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MODCODLST6@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.7:
Lloh21:
	adrp	x8, _MODCODLST7@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MODCODLST7@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.8:
Lloh24:
	adrp	x8, _MODCODLST8@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MODCODLST8@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.9:
Lloh27:
	adrp	x8, _MODCODLST9@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MODCODLST9@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.10:
Lloh30:
	adrp	x8, _MODCODLSTA@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MODCODLSTA@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.11:
Lloh33:
	adrp	x8, _MODCODLSTB@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MODCODLSTB@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.12:
Lloh36:
	adrp	x8, _MODCODLSTC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MODCODLSTC@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.13:
Lloh39:
	adrp	x8, _MODCODLSTD@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MODCODLSTD@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.14:
Lloh42:
	adrp	x8, _MODCODLSTE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MODCODLSTE@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #204
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.15:
Lloh45:
	adrp	x8, _MODCODLSTF@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MODCODLSTF@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #207
	bl	_STV090x_WRITE_DEMOD
	tbnz	x0, #63, LBB0_17
; %bb.16:
	mov	w0, #0
	b	LBB0_18
LBB0_17:
Lloh48:
	adrp	x8, _FE_ERROR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _FE_ERROR@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
Lloh51:
	adrp	x2, l_.str@PAGE
Lloh52:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #1
	bl	_dprintk
	mov	w0, #-1
LBB0_18:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_MODCODLST0,4,2                 ; @MODCODLST0
	.comm	_MODCODLST1,4,2                 ; @MODCODLST1
	.comm	_MODCODLST2,4,2                 ; @MODCODLST2
	.comm	_MODCODLST3,4,2                 ; @MODCODLST3
	.comm	_MODCODLST4,4,2                 ; @MODCODLST4
	.comm	_MODCODLST5,4,2                 ; @MODCODLST5
	.comm	_MODCODLST6,4,2                 ; @MODCODLST6
	.comm	_MODCODLST7,4,2                 ; @MODCODLST7
	.comm	_MODCODLST8,4,2                 ; @MODCODLST8
	.comm	_MODCODLST9,4,2                 ; @MODCODLST9
	.comm	_MODCODLSTA,4,2                 ; @MODCODLSTA
	.comm	_MODCODLSTB,4,2                 ; @MODCODLSTB
	.comm	_MODCODLSTC,4,2                 ; @MODCODLSTC
	.comm	_MODCODLSTD,4,2                 ; @MODCODLSTD
	.comm	_MODCODLSTE,4,2                 ; @MODCODLSTE
	.comm	_MODCODLSTF,4,2                 ; @MODCODLSTF
	.comm	_FE_ERROR,4,2                   ; @FE_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I/O error"

	.no_dead_strip	_stv090x_activate_modcod
.subsections_via_symbols
