	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt1_init_frontends
_pt1_init_frontends:                    ## @pt1_init_frontends
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	16(%rdi), %r13
	movq	8(%rdi), %rax
	cmpl	$8474, (%rax)                   ## imm = 0x211A
	jne	LBB0_1
## %bb.2:
	movq	_pt1_configs@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_pt2_configs@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r14
	leaq	4(%r14), %rdi
	movq	%r13, %rsi
	callq	_va1j5jf8007s_attach
	movq	%rax, -80(%rbp)
	testq	%rax, %rax
	je	LBB0_28
## %bb.4:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_va1j5jf8007t_attach
	movq	%rax, -72(%rbp)
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_5
## %bb.11:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_va1j5jf8007s_prepare
	movl	$2, %r12d
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_va1j5jf8007t_prepare
	testl	%eax, %eax
	js	LBB0_12
## %bb.14:
	leaq	12(%r14), %rdi
	movq	%r13, %rsi
	callq	_va1j5jf8007s_attach
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.15:
	movq	%rax, %rbx
	addq	$8, %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_va1j5jf8007t_attach
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	%rax, %r13
	movq	%rbx, %r14
	movq	%rbx, %rdi
	callq	_va1j5jf8007s_prepare
	movl	$4, %r12d
	testl	%eax, %eax
	js	LBB0_12
## %bb.18:
	movq	%r13, %rdi
	callq	_va1j5jf8007t_prepare
	testl	%eax, %eax
	js	LBB0_12
## %bb.19:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_pt1_init_frontend
	testl	%eax, %eax
	js	LBB0_20
## %bb.21:
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_pt1_init_frontend
	testl	%eax, %eax
	js	LBB0_22
## %bb.23:
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movq	%r14, %rsi
	callq	_pt1_init_frontend
	xorl	%r15d, %r15d
	testl	%eax, %eax
	js	LBB0_24
## %bb.26:
	movq	(%rbx), %rax
	movl	12(%rax), %edi
	movq	%r13, %rsi
	callq	_pt1_init_frontend
	testl	%eax, %eax
	jns	LBB0_29
## %bb.27:
	movl	$3, %ebx
	jmp	LBB0_25
LBB0_28:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_29
LBB0_12:
	xorl	%ebx, %ebx
	movb	$1, %r14b
	movl	%eax, %r15d
	jmp	LBB0_8
LBB0_5:
	movl	$1, %r12d
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_7:
	movb	$1, %r14b
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp,%r12,8), %rdi
	decq	%r12
	callq	*(%rdi)
	cmpq	%rbx, %r12
	jg	LBB0_8
## %bb.9:
	testb	%r14b, %r14b
	jne	LBB0_29
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp,%rbx,8), %rdi
	callq	_dvb_unregister_frontend
	decq	%rbx
	jne	LBB0_10
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.30:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	$3, %r12d
	jmp	LBB0_6
LBB0_20:
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_22:
	movl	%eax, %r15d
	movl	$1, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_24:
	movl	$2, %ebx
LBB0_25:
	xorl	%r14d, %r14d
	movl	%eax, %r15d
	jmp	LBB0_8
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_pt1_configs,8,3                ## @pt1_configs
	.comm	_pt2_configs,8,3                ## @pt2_configs
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_pt1_init_frontends
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt1_init_frontends
_pt1_init_frontends:                    ; @pt1_init_frontends
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	add	x23, x0, #16
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _pt1_configs@GOTPAGE
Lloh4:
	ldr	x9, [x9, _pt1_configs@GOTPAGEOFF]
Lloh5:
	adrp	x10, _pt2_configs@GOTPAGE
Lloh6:
	ldr	x10, [x10, _pt2_configs@GOTPAGEOFF]
	ldr	w8, [x8]
	mov	w11, #8474
	cmp	w8, w11
	csel	x8, x9, x10, eq
	ldr	x25, [x8]
	add	x0, x25, #4
	mov	x1, x23
	bl	_va1j5jf8007s_attach
	str	x0, [sp, #8]
	cbz	x0, LBB0_13
; %bb.1:
	mov	x21, x0
	mov	x0, x25
	mov	x1, x23
	bl	_va1j5jf8007t_attach
	str	x0, [sp, #16]
	cbz	x0, LBB0_16
; %bb.2:
	mov	x22, x0
	mov	x0, x21
	bl	_va1j5jf8007s_prepare
	tbnz	w0, #31, LBB0_14
; %bb.3:
	mov	x0, x22
	bl	_va1j5jf8007t_prepare
	tbnz	w0, #31, LBB0_14
; %bb.4:
	add	x0, x25, #12
	mov	x1, x23
	bl	_va1j5jf8007s_attach
	str	x0, [sp, #24]
	cbz	x0, LBB0_27
; %bb.5:
	mov	x24, x0
	add	x0, x25, #8
	mov	x1, x23
	bl	_va1j5jf8007t_attach
	str	x0, [sp, #32]
	cbz	x0, LBB0_29
; %bb.6:
	mov	x23, x0
	mov	x0, x24
	bl	_va1j5jf8007s_prepare
	tbnz	w0, #31, LBB0_28
; %bb.7:
	mov	x0, x23
	bl	_va1j5jf8007t_prepare
	tbnz	w0, #31, LBB0_28
; %bb.8:
	ldr	x8, [x20]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_pt1_init_frontend
	tbnz	w0, #31, LBB0_28
; %bb.9:
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	mov	x1, x22
	bl	_pt1_init_frontend
	tbnz	w0, #31, LBB0_30
; %bb.10:
	ldr	x8, [x20]
	ldr	w0, [x8, #8]
	mov	x1, x24
	bl	_pt1_init_frontend
	tbnz	w0, #31, LBB0_31
; %bb.11:
	ldr	x8, [x20]
	ldr	w0, [x8, #12]
	mov	x1, x23
	bl	_pt1_init_frontend
	mov	w19, #0
	tbz	w0, #31, LBB0_25
; %bb.12:
	mov	w21, #0
	mov	w20, #3
	mov	w22, #4
	mov	x19, x0
	b	LBB0_18
LBB0_13:
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_25
LBB0_14:
	mov	x19, x0
	mov	x20, #0
LBB0_15:
	mov	w21, #1
	mov	w22, #2
	b	LBB0_18
LBB0_16:
	mov	w22, #1
LBB0_17:
	mov	x20, #0
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w19, w8
	mov	w21, #1
LBB0_18:
	sub	x24, x22, #1
	add	x23, sp, #8
	ldr	x0, [x23, x24, lsl #3]
	ldr	x8, [x0]
	blr	x8
	cmp	x24, x20
	b.le	LBB0_22
; %bb.19:
	sub	x24, x22, #2
	ldr	x0, [x23, x24, lsl #3]
	ldr	x8, [x0]
	blr	x8
	cmp	x24, x20
	b.le	LBB0_22
; %bb.20:
	sub	x24, x22, #3
	add	x23, sp, #8
	ldr	x0, [x23, x24, lsl #3]
	ldr	x8, [x0]
	blr	x8
	cmp	x24, x20
	b.le	LBB0_22
; %bb.21:
	add	x8, x23, x22, lsl #3
	ldur	x0, [x8, #-32]
	ldr	x8, [x0]
	blr	x8
LBB0_22:
	tbnz	w21, #0, LBB0_25
; %bb.23:
	add	x8, sp, #8
	sub	x21, x8, #8
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	sub	x22, x20, #1
	ldr	x0, [x21, x20, lsl #3]
	bl	_dvb_unregister_frontend
	mov	x20, x22
	cbnz	x22, LBB0_24
LBB0_25:
	ldr	x8, [sp, #40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.26:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_27:
	mov	x20, #0
Lloh16:
	adrp	x8, _ENODEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_15
LBB0_28:
	mov	x19, x0
	mov	x20, #0
	mov	w21, #1
	mov	w22, #4
	b	LBB0_18
LBB0_29:
	mov	w22, #3
	b	LBB0_17
LBB0_30:
	mov	x19, x0
	mov	w21, #0
	mov	w20, #1
	mov	w22, #4
	b	LBB0_18
LBB0_31:
	mov	x19, x0
	mov	w21, #0
	mov	w20, #2
	mov	w22, #4
	b	LBB0_18
LBB0_32:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_pt1_configs,8,3                ; @pt1_configs
	.comm	_pt2_configs,8,3                ; @pt2_configs
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_pt1_init_frontends
.subsections_via_symbols
