	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av7110_firmversion             ## -- Begin function av7110_firmversion
	.p2align	4, 0x90
_av7110_firmversion:                    ## @av7110_firmversion
	.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	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_COMTYPE_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shll	$8, %ebx
	movq	_ReqVersion@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	movq	%r15, %rdx
	callq	_dprintk
	leaq	-112(%rbp), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$16, %ecx
	callq	_av7110_fw_query
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	20(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_printk
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_6
LBB0_2:
	movl	-112(%rbp), %edx
	shll	$16, %edx
	addl	-108(%rbp), %edx
	movl	%edx, (%r15)
	movl	-104(%rbp), %ecx
	shll	$16, %ecx
	addl	-100(%rbp), %ecx
	movl	%ecx, 4(%r15)
	movl	-96(%rbp), %r8d
	shll	$16, %r8d
	addl	-92(%rbp), %r8d
	movl	%r8d, 8(%r15)
	movl	-88(%rbp), %r9d
	shll	$16, %r9d
	addl	-84(%rbp), %r9d
	movl	%r9d, 12(%r15)
	movl	-80(%rbp), %eax
	shll	$16, %eax
	addl	-76(%rbp), %eax
	movl	%eax, 16(%r15)
	movl	20(%r15), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_printk
	movl	12(%r15), %edi
	callq	_FW_CI_LL_SUPPORT
	movl	20(%r15), %esi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.4(%rip), %rdi
	xorl	%r14d, %r14d
LBB0_5:
	xorl	%eax, %eax
	callq	_printk
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_COMTYPE_REQUEST,4,2            ## @COMTYPE_REQUEST
	.comm	_ReqVersion,4,2                 ## @ReqVersion
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p\n"

L_.str.1:                               ## @.str.1
	.asciz	"dvb-ttpci: failed to boot firmware @ card %d\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.2:                               ## @.str.2
	.asciz	"dvb-ttpci: info @ card %d: firm %08x, rtsl %08x, vid %08x, app %08x\n"

L_.str.3:                               ## @.str.3
	.asciz	"dvb-ttpci: firmware @ card %d supports CI link layer interface\n"

L_.str.4:                               ## @.str.4
	.asciz	"dvb-ttpci: no firmware support for CI link layer interface @ card %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av7110_firmversion             ; -- Begin function av7110_firmversion
	.p2align	2
_av7110_firmversion:                    ; @av7110_firmversion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _COMTYPE_REQUEST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _COMTYPE_REQUEST@GOTPAGEOFF]
	stur	x8, [x29, #-24]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _ReqVersion@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ReqVersion@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	add	w20, w9, w8, lsl #8
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	mov	x2, x19
	bl	_dprintk
	add	x2, sp, #40
	mov	x0, x19
	mov	x1, x20
	mov	w3, #16
	bl	_av7110_fw_query
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19, #20]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_2:
	ldp	w8, w9, [sp, #40]
	add	w8, w9, w8, lsl #16
	ldp	w9, w10, [sp, #48]
	add	w9, w10, w9, lsl #16
	stp	w8, w9, [x19]
	ldp	w10, w11, [sp, #56]
	add	w10, w11, w10, lsl #16
	ldp	w11, w12, [sp, #64]
	add	w11, w12, w11, lsl #16
	stp	w10, w11, [x19, #8]
	ldp	w12, w13, [sp, #72]
	add	w12, w13, w12, lsl #16
	str	w12, [x19, #16]
	ldr	w1, [x19, #20]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printk
	ldr	w0, [x19, #12]
	bl	_FW_CI_LL_SUPPORT
	ldr	w1, [x19, #20]
	cbz	x0, LBB0_4
; %bb.3:
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_5:
	bl	_printk
	mov	w0, #0
LBB0_6:
	ldur	x8, [x29, #-24]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_COMTYPE_REQUEST,4,2            ; @COMTYPE_REQUEST
	.comm	_ReqVersion,4,2                 ; @ReqVersion
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p\n"

l_.str.1:                               ; @.str.1
	.asciz	"dvb-ttpci: failed to boot firmware @ card %d\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.2:                               ; @.str.2
	.asciz	"dvb-ttpci: info @ card %d: firm %08x, rtsl %08x, vid %08x, app %08x\n"

l_.str.3:                               ; @.str.3
	.asciz	"dvb-ttpci: firmware @ card %d supports CI link layer interface\n"

l_.str.4:                               ; @.str.4
	.asciz	"dvb-ttpci: no firmware support for CI link layer interface @ card %d\n"

.subsections_via_symbols
