	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function demod_attach_stv0910
_demod_attach_stv0910:                  ## @demod_attach_stv0910
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movq	_stv0910_p@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_stv0910_attach@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	(%rbx), %ecx
	andl	$1, %ecx
	xorl	%r12d, %r12d
	leaq	-56(%rbp), %rdx
	xorl	%eax, %eax
	callq	_dvb_attach
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	$108, -56(%rbp)
	movl	(%r13), %edi
	movl	(%rbx), %ecx
	andl	$1, %ecx
	xorl	%r13d, %r13d
	leaq	-56(%rbp), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_dvb_attach
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movl	(%rbx), %ecx
	andl	$1, %ecx
	addl	%ecx, %ecx
	addl	$24, %ecx
	movl	%ecx, -48(%rbp)
	movq	_lnbh25_attach@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	-48(%rbp), %rdx
	movq	%rax, %rsi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_dvb_attach
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movl	(%rbx), %eax
	andl	$1, %eax
	addl	%eax, %eax
	addl	$16, %eax
	movl	%eax, -48(%rbp)
	movl	(%r13), %edi
	movq	8(%rbx), %rsi
	xorl	%r12d, %r12d
	leaq	-48(%rbp), %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_dvb_attach
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	8(%rbx), %rdi
	callq	_dvb_frontend_detach
	movq	$0, 8(%rbx)
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	movl	%r13d, %r12d
LBB0_6:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stv0910_p,4,2                  ## @stv0910_p
	.comm	_lnbh25_cfg,4,2                 ## @lnbh25_cfg
	.comm	_stv0910_attach,4,2             ## @stv0910_attach
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stv0910_attach() failed!\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_lnbh25_attach,4,2              ## @lnbh25_attach
L_.str.1:                               ## @.str.1
	.asciz	"lnbh25_attach() failed!\n"

	.no_dead_strip	_demod_attach_stv0910
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function demod_attach_stv0910
_demod_attach_stv0910:                  ; @demod_attach_stv0910
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _stv0910_p@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stv0910_p@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh3:
	adrp	x23, _stv0910_attach@GOTPAGE
Lloh4:
	ldr	x23, [x23, _stv0910_attach@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w8, [x19]
	and	w8, w8, #0x1
	add	x22, sp, #24
	stp	x22, x8, [sp]
	bl	_dvb_attach
	mov	x1, x0
	str	x0, [x19, #8]
	cbnz	x0, LBB0_2
; %bb.1:
	mov	w8, #108
	str	w8, [sp, #24]
	ldr	w0, [x23]
	ldr	w8, [x19]
	and	w8, w8, #0x1
	stp	x22, x8, [sp]
	mov	x1, x21
	bl	_dvb_attach
	mov	x1, x0
	str	x0, [x19, #8]
	cbz	x0, LBB0_5
LBB0_2:
	ldr	w8, [x19]
	mov	w9, #24
	bfi	w9, w8, #1, #1
	str	w9, [sp, #16]
Lloh5:
	adrp	x23, _lnbh25_attach@GOTPAGE
Lloh6:
	ldr	x23, [x23, _lnbh25_attach@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x22, sp, #16
	stp	x22, x21, [sp]
	bl	_dvb_attach
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x19]
	mov	w9, #16
	bfi	w9, w8, #1, #1
	str	w9, [sp, #16]
	ldr	w0, [x23]
	ldr	x1, [x19, #8]
	stp	x22, x21, [sp]
	bl	_dvb_attach
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_7
LBB0_6:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #8]
	bl	_dvb_frontend_detach
	str	xzr, [x19, #8]
LBB0_7:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_stv0910_p,4,2                  ; @stv0910_p
	.comm	_lnbh25_cfg,4,2                 ; @lnbh25_cfg
	.comm	_stv0910_attach,4,2             ; @stv0910_attach
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stv0910_attach() failed!\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_lnbh25_attach,4,2              ; @lnbh25_attach
l_.str.1:                               ; @.str.1
	.asciz	"lnbh25_attach() failed!\n"

	.no_dead_strip	_demod_attach_stv0910
.subsections_via_symbols
