	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_ca_en50221_frda_irq        ## -- Begin function dvb_ca_en50221_frda_irq
	.p2align	4, 0x90
_dvb_ca_en50221_frda_irq:               ## @dvb_ca_en50221_frda_irq
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	movq	16(%rbx), %r13
	movslq	%esi, %r15
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_dprintk
	movl	(%r13,%r15,8), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.2:
	movq	8(%rbx), %rax
	movq	_CTRLIF_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	*(%rax)
	movq	_STATUSREG_DA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movl	$1, 4(%r13,%r15,8)
	jmp	LBB0_5
LBB0_4:
	cmpl	$0, (%rbx)
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dvb_ca_en50221_thread_wakeup   ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FR/DA IRQ slot:%i\n"

	.comm	_CTRLIF_STATUS,4,2              ## @CTRLIF_STATUS
	.comm	_STATUSREG_DA,4,2               ## @STATUSREG_DA
L_.str.1:                               ## @.str.1
	.asciz	"CAM supports DA IRQ\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_ca_en50221_frda_irq        ; -- Begin function dvb_ca_en50221_frda_irq
	.p2align	2
_dvb_ca_en50221_frda_irq:               ; @dvb_ca_en50221_frda_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0]
	ldr	x22, [x21, #16]
	str	x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	sbfiz	x8, x19, #3, #32
	ldr	w8, [x22, x8]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _CTRLIF_STATUS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CTRLIF_STATUS@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x9]
	mov	x0, x20
	mov	x1, x19
	blr	x8
Lloh5:
	adrp	x8, _STATUSREG_DA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STATUSREG_DA@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.3:
	sxtw	x19, w19
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
	add	x8, x22, x19, lsl #3
	mov	w9, #1
	str	w9, [x8, #4]
	b	LBB0_6
LBB0_4:
	ldr	w8, [x21]
	cbz	w8, LBB0_6
; %bb.5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_dvb_ca_en50221_thread_wakeup
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FR/DA IRQ slot:%i\n"

	.comm	_CTRLIF_STATUS,4,2              ; @CTRLIF_STATUS
	.comm	_STATUSREG_DA,4,2               ; @STATUSREG_DA
l_.str.1:                               ; @.str.1
	.asciz	"CAM supports DA IRQ\n"

.subsections_via_symbols
