	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dvbsky_s960_attach
LCPI0_0:
	.long	27000000                        ## 0x19bfcc0
	.long	33                              ## 0x21
	.long	16000                           ## 0x3e80
	.long	153                             ## 0x99
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dvbsky_s960_attach:                    ## @dvbsky_s960_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
	subq	$168, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_adap_to_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_adap_to_d
	xorps	%xmm0, %xmm0
	movups	%xmm0, -56(%rbp)
	movups	%xmm0, -72(%rbp)
	movups	%xmm0, -88(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm0, -192(%rbp)
	movq	$0, -40(%rbp)
	movq	_M88DS3103_TS_CI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)
	movq	$0, -56(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [27000000,33,16000,153]
	movaps	%xmm0, -112(%rbp)
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, -96(%rbp)
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	-112(%rbp), %r8
	xorl	%esi, %esi
	movq	%rax, %rdx
	movl	$104, %ecx
	callq	_dvb_module_probe
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rdi
	callq	*-64(%rbp)
	movq	(%r15), %rcx
	movq	%rax, (%rcx)
	movq	8(%r14), %rdi
	callq	*-72(%rbp)
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -160(%rbp)
	movq	_m88ds3103_get_agc_pwm@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -168(%rbp)
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	-192(%rbp), %r8
	xorl	%esi, %esi
	movq	%rax, %rdx
	movl	$96, %ecx
	callq	_dvb_module_probe
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	4(%rax), %ecx
	movl	8(%rax), %edx
	movl	%edx, 12(%rax)
	movl	%ecx, 4(%r14)
	movq	_dvbsky_usb_read_status@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_dvbsky_usb_set_voltage@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	jmp	LBB0_6
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	8(%r14), %rdi
	callq	_dvb_module_release
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_5:
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M88DS3103_TS_CI,4,2            ## @M88DS3103_TS_CI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"m88ds3103"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_m88ds3103_get_agc_pwm,4,2      ## @m88ds3103_get_agc_pwm
L_.str.1:                               ## @.str.1
	.asciz	"ts2020"

	.comm	_dvbsky_usb_read_status,4,2     ## @dvbsky_usb_read_status
	.comm	_dvbsky_usb_set_voltage,4,2     ## @dvbsky_usb_set_voltage
	.no_dead_strip	_dvbsky_s960_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dvbsky_s960_attach
lCPI0_0:
	.long	27000000                        ; 0x19bfcc0
	.long	33                              ; 0x21
lCPI0_1:
	.long	153                             ; 0x99
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dvbsky_s960_attach:                    ; @dvbsky_s960_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_adap_to_priv
	mov	x19, x0
	mov	x0, x20
	bl	_adap_to_d
	mov	x2, x0
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #136]
	stur	q0, [sp, #120]
	stur	q0, [sp, #104]
	stp	q0, q0, [sp, #48]
	stp	q0, q0, [sp, #16]
	str	q0, [sp]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #80]
	str	xzr, [sp, #152]
Lloh2:
	adrp	x8, _M88DS3103_TS_CI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M88DS3103_TS_CI@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #144]
	mov	w8, #16000
	str	w8, [sp, #88]
	str	xzr, [sp, #136]
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	stur	d0, [sp, #92]
	mov	w8, #1
	str	w8, [sp, #100]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	add	x4, sp, #80
	mov	x1, #0
	mov	w3, #104
	bl	_dvb_module_probe
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [sp, #128]
	blr	x8
	ldr	x8, [x20]
	str	x0, [x8]
	ldr	x8, [sp, #120]
	ldr	x0, [x19, #8]
	blr	x8
	mov	x2, x0
	ldr	x8, [x20]
	ldr	x8, [x8]
	str	x8, [sp, #32]
Lloh9:
	adrp	x8, _m88ds3103_get_agc_pwm@GOTPAGE
Lloh10:
	ldr	x8, [x8, _m88ds3103_get_agc_pwm@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x4, sp
	mov	x1, #0
	mov	w3, #96
	bl	_dvb_module_probe
	str	x0, [x19, #16]
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #0
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w9, [x8, #8]
	str	w9, [x8, #12]
Lloh14:
	adrp	x9, _dvbsky_usb_read_status@GOTPAGE
Lloh15:
	ldr	x9, [x9, _dvbsky_usb_read_status@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	ldr	d0, [x8]
	str	w9, [x8, #4]
	str	d0, [x19]
Lloh17:
	adrp	x9, _dvbsky_usb_set_voltage@GOTPAGE
Lloh18:
	ldr	x9, [x9, _dvbsky_usb_set_voltage@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	str	w9, [x8]
	b	LBB0_5
LBB0_3:
	ldr	x0, [x19, #8]
	bl	_dvb_module_release
LBB0_4:
Lloh20:
	adrp	x8, _ENODEV@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_M88DS3103_TS_CI,4,2            ; @M88DS3103_TS_CI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"m88ds3103"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_m88ds3103_get_agc_pwm,4,2      ; @m88ds3103_get_agc_pwm
l_.str.1:                               ; @.str.1
	.asciz	"ts2020"

	.comm	_dvbsky_usb_read_status,4,2     ; @dvbsky_usb_read_status
	.comm	_dvbsky_usb_set_voltage,4,2     ; @dvbsky_usb_set_voltage
	.no_dead_strip	_dvbsky_s960_attach
.subsections_via_symbols
