	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_register_adapters
_dvb_register_adapters:                 ## @dvb_register_adapters
	.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
	movq	%rdi, %r15
	movq	_adapter_alloc@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	8(%r15), %r14
	movq	8(%r14), %rax
	movq	16(%r14), %rcx
	movq	8(%rax), %rbx
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rcx), %ecx
	movq	_adapter_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dvb_register_adapter
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_25
## %bb.2:
	movq	8(%r14), %rax
	movl	$1, (%rax)
	movl	(%r15), %esi
	testl	%esi, %esi
	jle	LBB0_19
## %bb.3:
	movq	8(%r15), %r8
	leaq	-1(%rsi), %rcx
	movl	%esi, %r9d
	andl	$3, %r9d
	xorl	%eax, %eax
	cmpq	$3, %rcx
	jae	LBB0_20
## %bb.4:
	xorl	%edi, %edi
	jmp	LBB0_22
LBB0_5:
	cmpl	$0, (%r15)
	jle	LBB0_19
## %bb.6:
	xorl	%r13d, %r13d
	movl	$16, %ebx
	leaq	L_.str(%rip), %r14
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rcx), %rdx
	movq	%rdx, 24(%rcx)
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%r13
	movslq	(%r15), %rcx
	addq	$24, %rbx
	cmpq	%rcx, %r13
	jge	LBB0_25
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %r12
	movl	-16(%r12,%rbx), %ecx
	leal	-129(%rcx), %edx
	cmpl	$2, %edx
	jae	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-8(%r12,%rbx), %rax
	movq	(%r12,%rbx), %rcx
	movq	8(%rax), %rdi
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rcx), %ecx
	movq	_adapter_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	callq	_dvb_register_adapter
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_25
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-8(%r12,%rbx), %rcx
	movl	$1, (%rcx)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$128, %ecx
	jne	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-8(%r12,%rbx), %rax
	movq	(%r12,%rbx), %rcx
	movq	8(%rax), %rdi
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rcx), %ecx
	movq	_adapter_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	callq	_dvb_register_adapter
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-8(%r12,%rbx), %rcx
	movl	$1, (%rcx)
	movq	_adapter_alloc@GOTPCREL(%rip), %rdx
	cmpl	$0, (%rdx)
	jg	LBB0_7
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	24(%rcx), %rdi
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r12,%rbx), %rax
	movl	(%rax), %ecx
	movq	_adapter_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	callq	_dvb_register_adapter
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_25
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-8(%r12,%rbx), %rcx
	movl	$1, 16(%rcx)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_adapter_alloc@GOTPCREL(%rip), %rcx
	cmpl	$2, (%rcx)
	jl	LBB0_8
	jmp	LBB0_10
LBB0_19:
	xorl	%eax, %eax
	jmp	LBB0_25
LBB0_20:
	andl	$-4, %esi
	leaq	80(%r8), %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rcx), %rdx
	movq	%rbx, 8(%rdx)
	movq	%rbx, 24(%rdx)
	movq	-48(%rcx), %rdx
	movq	%rbx, 8(%rdx)
	movq	%rbx, 24(%rdx)
	movq	-24(%rcx), %rdx
	movq	%rbx, 8(%rdx)
	movq	%rbx, 24(%rdx)
	movq	(%rcx), %rdx
	movq	%rbx, 8(%rdx)
	movq	%rbx, 24(%rdx)
	addq	$4, %rdi
	addq	$96, %rcx
	cmpq	%rdi, %rsi
	jne	LBB0_21
LBB0_22:
	testq	%r9, %r9
	je	LBB0_25
## %bb.23:
	leaq	(%rdi,%rdi,2), %rax
	leaq	(%r8,%rax,8), %rcx
	addq	$8, %rcx
	shlq	$3, %r9
	leaq	(%r9,%r9,2), %rdx
	xorl	%eax, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi), %rdi
	movq	%rbx, 8(%rdi)
	movq	%rbx, 24(%rdi)
	addq	$24, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_24
LBB0_25:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_adapter_alloc,4,2              ## @adapter_alloc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DDBridge"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_adapter_nr,4,2                 ## @adapter_nr
	.no_dead_strip	_dvb_register_adapters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_register_adapters
_dvb_register_adapters:                 ; @dvb_register_adapters
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x21, _adapter_alloc@GOTPAGE
Lloh1:
	ldr	x21, [x21, _adapter_alloc@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #3
	b.ne	LBB0_5
; %bb.1:
	ldr	x21, [x19, #8]
Lloh2:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
	ldp	x9, x10, [x21, #8]
	ldr	x20, [x9, #8]
Lloh4:
	ldr	w2, [x8]
	ldr	w3, [x10]
Lloh5:
	adrp	x8, _adapter_nr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _adapter_nr@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dvb_register_adapter
	tbnz	w0, #31, LBB0_19
; %bb.2:
	ldr	x8, [x21, #8]
	mov	w9, #1
	str	w9, [x8]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.3:
	ldr	x9, [x19, #8]
	add	x9, x9, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #24
	str	x20, [x10, #8]
	str	x20, [x10, #24]
	subs	x8, x8, #1
	b.ne	LBB0_4
	b	LBB0_18
LBB0_5:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.6:
	mov	x22, #0
	mov	x23, #0
	mov	w0, #0
Lloh10:
	adrp	x24, _THIS_MODULE@GOTPAGE
Lloh11:
	ldr	x24, [x24, _THIS_MODULE@GOTPAGEOFF]
Lloh12:
	adrp	x25, _adapter_nr@GOTPAGE
Lloh13:
	ldr	x25, [x25, _adapter_nr@GOTPAGEOFF]
	mov	w26, #1
Lloh14:
	adrp	x20, l_.str@PAGE
Lloh15:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x8, #8]
	str	x9, [x8, #24]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	add	x22, x22, #24
	cmp	x23, x8
	b.ge	LBB0_19
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w9, [x8, x22]
	sub	w10, w9, #129
	cmp	w10, #2
	b.lo	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w9, #128
	b.ne	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x27, x8, x22
	ldp	x8, x9, [x27, #8]
	ldr	x0, [x8, #8]
	ldr	w2, [x24]
	ldr	w3, [x9]
	ldr	w4, [x25]
	mov	x1, x20
	bl	_dvb_register_adapter
	tbnz	w0, #31, LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x27, #8]
	str	w26, [x8]
	ldr	w9, [x21]
	cmp	w9, #1
	b.ge	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x8, #24]
	ldr	w2, [x24]
	ldr	x8, [x27, #16]
	ldr	w3, [x8]
	ldr	w4, [x25]
	mov	x1, x20
	bl	_dvb_register_adapter
	tbnz	w0, #31, LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x27, #8]
	str	w26, [x8, #16]
	b	LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [x21]
	cmp	w9, #2
	b.lt	LBB0_8
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x27, x8, x22
	ldp	x8, x9, [x27, #8]
	ldr	x0, [x8, #8]
	ldr	w2, [x24]
	ldr	w3, [x9]
	ldr	w4, [x25]
	mov	x1, x20
	bl	_dvb_register_adapter
	tbnz	w0, #31, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x27, #8]
	str	w26, [x8]
	b	LBB0_8
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_adapter_alloc,4,2              ; @adapter_alloc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DDBridge"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_adapter_nr,4,2                 ; @adapter_nr
	.no_dead_strip	_dvb_register_adapters
.subsections_via_symbols
