	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s6x0_frontend_attach
_s6x0_frontend_attach:                  ## @s6x0_frontend_attach
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_mt312_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	movq	_zl313_config@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	callq	_dvb_attach
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_zl10039_attach@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	8(%rbx), %rcx
	xorl	%r14d, %r14d
	movq	%rax, %rsi
	movl	$96, %edx
	xorl	%eax, %eax
	callq	_dvb_attach
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_dw210x_set_voltage@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str(%rip), %rdi
	callq	_info
	jmp	LBB0_9
LBB0_3:
	movq	_stv0288_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	movq	_earda_config@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	callq	_dvb_attach
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_stb6000_attach@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	8(%rbx), %rcx
	xorl	%r14d, %r14d
	movq	%rax, %rsi
	movl	$97, %edx
	xorl	%eax, %eax
	callq	_dvb_attach
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_dw210x_set_voltage@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str.1(%rip), %rdi
	callq	_info
	jmp	LBB0_9
LBB0_6:
	movq	_ds3000_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	movq	_dw2104_ds3000_config@GOTPCREL(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_dvb_attach
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_dw210x_set_voltage@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	leaq	L_.str.2(%rip), %rdi
	callq	_info
	jmp	LBB0_9
LBB0_8:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mt312_attach,4,2               ## @mt312_attach
	.comm	_zl313_config,4,2               ## @zl313_config
	.comm	_zl10039_attach,4,2             ## @zl10039_attach
	.comm	_dw210x_set_voltage,8,3         ## @dw210x_set_voltage
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attached zl100313+zl10039!\n"

	.comm	_stv0288_attach,4,2             ## @stv0288_attach
	.comm	_earda_config,4,2               ## @earda_config
	.comm	_stb6000_attach,4,2             ## @stb6000_attach
L_.str.1:                               ## @.str.1
	.asciz	"Attached stv0288+stb6000!\n"

	.comm	_ds3000_attach,4,2              ## @ds3000_attach
	.comm	_dw2104_ds3000_config,4,2       ## @dw2104_ds3000_config
L_.str.2:                               ## @.str.2
	.asciz	"Attached ds3000+ds2020!\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_s6x0_frontend_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s6x0_frontend_attach
_s6x0_frontend_attach:                  ; @s6x0_frontend_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _mt312_attach@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mt312_attach@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x19, #8]
Lloh3:
	adrp	x1, _zl313_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _zl313_config@GOTPAGEOFF]
	bl	_dvb_attach
	str	x0, [x19]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x1, x0
Lloh5:
	adrp	x8, _zl10039_attach@GOTPAGE
Lloh6:
	ldr	x8, [x8, _zl10039_attach@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	str	x8, [sp]
	mov	w2, #96
	bl	_dvb_attach
	cbz	x0, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _dw210x_set_voltage@GOTPAGE
Lloh9:
	ldr	x8, [x8, _dw210x_set_voltage@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x19]
	str	x8, [x9]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_3:
Lloh13:
	adrp	x8, _stv0288_attach@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stv0288_attach@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	w2, [x19, #8]
Lloh16:
	adrp	x1, _earda_config@GOTPAGE
Lloh17:
	ldr	x1, [x1, _earda_config@GOTPAGEOFF]
	bl	_dvb_attach
	str	x0, [x19]
	cbz	x0, LBB0_6
; %bb.4:
	mov	x1, x0
Lloh18:
	adrp	x8, _stb6000_attach@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stb6000_attach@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	str	x8, [sp]
	mov	w2, #97
	bl	_dvb_attach
	cbz	x0, LBB0_6
; %bb.5:
Lloh21:
	adrp	x8, _dw210x_set_voltage@GOTPAGE
Lloh22:
	ldr	x8, [x8, _dw210x_set_voltage@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	x9, [x19]
	str	x8, [x9]
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh26:
	adrp	x8, _ds3000_attach@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ds3000_attach@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ldr	w2, [x19, #8]
Lloh29:
	adrp	x1, _dw2104_ds3000_config@GOTPAGE
Lloh30:
	ldr	x1, [x1, _dw2104_ds3000_config@GOTPAGEOFF]
	bl	_dvb_attach
	str	x0, [x19]
	cbz	x0, LBB0_10
; %bb.7:
Lloh31:
	adrp	x8, _dw210x_set_voltage@GOTPAGE
Lloh32:
	ldr	x8, [x8, _dw210x_set_voltage@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	str	x8, [x0]
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_8:
	bl	_info
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_10:
Lloh36:
	adrp	x8, _EIO@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_mt312_attach,4,2               ; @mt312_attach
	.comm	_zl313_config,4,2               ; @zl313_config
	.comm	_zl10039_attach,4,2             ; @zl10039_attach
	.comm	_dw210x_set_voltage,8,3         ; @dw210x_set_voltage
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attached zl100313+zl10039!\n"

	.comm	_stv0288_attach,4,2             ; @stv0288_attach
	.comm	_earda_config,4,2               ; @earda_config
	.comm	_stb6000_attach,4,2             ; @stb6000_attach
l_.str.1:                               ; @.str.1
	.asciz	"Attached stv0288+stb6000!\n"

	.comm	_ds3000_attach,4,2              ; @ds3000_attach
	.comm	_dw2104_ds3000_config,4,2       ; @dw2104_ds3000_config
l_.str.2:                               ; @.str.2
	.asciz	"Attached ds3000+ds2020!\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_s6x0_frontend_attach
.subsections_via_symbols
