	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw2102_frontend_attach
_dw2102_frontend_attach:                ## @dw2102_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_dw2102_properties@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	_dw2102_serit_i2c_algo@GOTPCREL(%rip), %rax
	je	LBB0_4
## %bb.1:
	cmpq	_dw2102_earda_i2c_algo@GOTPCREL(%rip), %rax
	je	LBB0_9
LBB0_2:
	movq	(%r15), %rax
	cmpq	_dw2102_i2c_algo@GOTPCREL(%rip), %rax
	je	LBB0_6
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_4:
	movq	_si21xx_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %edx
	movq	_serit_sp1511lhb_config@GOTPCREL(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dvb_attach
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_dw210x_set_voltage@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_12
LBB0_6:
	movq	_stv0299_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %edx
	movq	_sharp_z0194a_config@GOTPCREL(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dvb_attach
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	_dw210x_set_voltage@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_12
LBB0_8:
	movq	(%r15), %rax
	cmpq	_dw2102_earda_i2c_algo@GOTPCREL(%rip), %rax
	jne	LBB0_2
LBB0_9:
	movq	_stv0288_attach@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %edx
	movq	_earda_config@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	callq	_dvb_attach
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.10:
	movq	_stb6000_attach@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	8(%r14), %rcx
	xorl	%ebx, %ebx
	movq	%rax, %rsi
	movl	$97, %edx
	xorl	%eax, %eax
	callq	_dvb_attach
	testq	%rax, %rax
	je	LBB0_2
## %bb.11:
	movq	_dw210x_set_voltage@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str.1(%rip), %rdi
LBB0_12:
	callq	_info
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dw2102_properties,8,3          ## @dw2102_properties
	.comm	_dw2102_serit_i2c_algo,4,2      ## @dw2102_serit_i2c_algo
	.comm	_si21xx_attach,4,2              ## @si21xx_attach
	.comm	_serit_sp1511lhb_config,4,2     ## @serit_sp1511lhb_config
	.comm	_dw210x_set_voltage,8,3         ## @dw210x_set_voltage
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attached si21xx!"

	.comm	_dw2102_earda_i2c_algo,4,2      ## @dw2102_earda_i2c_algo
	.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!"

	.comm	_dw2102_i2c_algo,4,2            ## @dw2102_i2c_algo
	.comm	_stv0299_attach,4,2             ## @stv0299_attach
	.comm	_sharp_z0194a_config,4,2        ## @sharp_z0194a_config
L_.str.2:                               ## @.str.2
	.asciz	"Attached stv0299!"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw2102_frontend_attach
_dw2102_frontend_attach:                ; @dw2102_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	x20, _dw2102_properties@GOTPAGE
Lloh1:
	ldr	x20, [x20, _dw2102_properties@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _dw2102_serit_i2c_algo@GOTPAGE
Lloh3:
	ldr	x9, [x9, _dw2102_serit_i2c_algo@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_4
LBB0_1:
Lloh4:
	adrp	x9, _dw2102_earda_i2c_algo@GOTPAGE
Lloh5:
	ldr	x9, [x9, _dw2102_earda_i2c_algo@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_6
LBB0_2:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _dw2102_i2c_algo@GOTPAGE
Lloh7:
	ldr	x9, [x9, _dw2102_i2c_algo@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_9
LBB0_3:
Lloh8:
	adrp	x8, _EIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_4:
Lloh11:
	adrp	x8, _si21xx_attach@GOTPAGE
Lloh12:
	ldr	x8, [x8, _si21xx_attach@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w2, [x19, #8]
Lloh14:
	adrp	x1, _serit_sp1511lhb_config@GOTPAGE
Lloh15:
	ldr	x1, [x1, _serit_sp1511lhb_config@GOTPAGEOFF]
	bl	_dvb_attach
	ldr	x8, [x19]
	str	x0, [x8]
	cbz	x0, LBB0_13
; %bb.5:
Lloh16:
	adrp	x8, _dw210x_set_voltage@GOTPAGE
Lloh17:
	ldr	x8, [x8, _dw210x_set_voltage@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x0]
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_11
LBB0_6:
Lloh21:
	adrp	x8, _stv0288_attach@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stv0288_attach@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w2, [x19, #8]
Lloh24:
	adrp	x1, _earda_config@GOTPAGE
Lloh25:
	ldr	x1, [x1, _earda_config@GOTPAGEOFF]
	bl	_dvb_attach
	ldr	x8, [x19]
	str	x0, [x8]
	cbz	x0, LBB0_2
; %bb.7:
	mov	x1, x0
Lloh26:
	adrp	x8, _stb6000_attach@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stb6000_attach@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	str	x8, [sp]
	mov	w2, #97
	bl	_dvb_attach
	cbz	x0, LBB0_2
; %bb.8:
Lloh29:
	adrp	x8, _dw210x_set_voltage@GOTPAGE
Lloh30:
	ldr	x8, [x8, _dw210x_set_voltage@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	str	x8, [x9]
Lloh32:
	adrp	x0, l_.str.1@PAGE
Lloh33:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh34:
	adrp	x8, _stv0299_attach@GOTPAGE
Lloh35:
	ldr	x8, [x8, _stv0299_attach@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	w2, [x19, #8]
Lloh37:
	adrp	x1, _sharp_z0194a_config@GOTPAGE
Lloh38:
	ldr	x1, [x1, _sharp_z0194a_config@GOTPAGEOFF]
	bl	_dvb_attach
	ldr	x8, [x19]
	str	x0, [x8]
	cbz	x0, LBB0_3
; %bb.10:
Lloh39:
	adrp	x8, _dw210x_set_voltage@GOTPAGE
Lloh40:
	ldr	x8, [x8, _dw210x_set_voltage@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	str	x8, [x0]
Lloh42:
	adrp	x0, l_.str.2@PAGE
Lloh43:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_11:
	bl	_info
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_13:
	ldr	x8, [x20]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_dw2102_properties,8,3          ; @dw2102_properties
	.comm	_dw2102_serit_i2c_algo,4,2      ; @dw2102_serit_i2c_algo
	.comm	_si21xx_attach,4,2              ; @si21xx_attach
	.comm	_serit_sp1511lhb_config,4,2     ; @serit_sp1511lhb_config
	.comm	_dw210x_set_voltage,8,3         ; @dw210x_set_voltage
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attached si21xx!"

	.comm	_dw2102_earda_i2c_algo,4,2      ; @dw2102_earda_i2c_algo
	.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!"

	.comm	_dw2102_i2c_algo,4,2            ; @dw2102_i2c_algo
	.comm	_stv0299_attach,4,2             ; @stv0299_attach
	.comm	_sharp_z0194a_config,4,2        ; @sharp_z0194a_config
l_.str.2:                               ; @.str.2
	.asciz	"Attached stv0299!"

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