	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx23888_ir_irq_handler
_cx23888_ir_irq_handler:                ## @cx23888_ir_irq_handler
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, %r15
	callq	_to_state
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	8(%rax), %rbx
	movq	_CX23888_IR_CNTRL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cx23888_ir_read4
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	_CX23888_IR_IRQEN_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cx23888_ir_read4
	movl	%eax, %r12d
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	_CX23888_IR_STATS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_cx23888_ir_read4
	movl	%eax, %ebx
	movq	_FIFO_RX_DEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -144(%rbp)                ## 8-byte Spill
	movq	_STATS_TSR@GOTPCREL(%rip), %rax
	movq	_STATS_RSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_STATS_RTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_STATS_ROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_IRQEN_TSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r12d, %ecx
	movl	%ecx, -128(%rbp)                ## 4-byte Spill
	movq	_IRQEN_RSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movq	_IRQEN_RTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -96(%rbp)                 ## 4-byte Spill
	movq	_IRQEN_ROE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	(%rax), %eax
	andl	%ebx, %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	$0, (%r14)
	leaq	L_.str.1(%rip), %r8
	leaq	L_.str.2(%rip), %r12
	cmoveq	%r12, %r8
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	testl	%ebx, %esi
	leaq	L_.str.3(%rip), %r9
	cmoveq	%r12, %r9
	movl	%edi, -132(%rbp)                ## 4-byte Spill
	testl	%ebx, %edi
	leaq	L_.str.4(%rip), %r10
	cmoveq	%r12, %r10
	movl	%edx, -124(%rbp)                ## 4-byte Spill
	testl	%ebx, %edx
	leaq	L_.str.5(%rip), %r11
	cmoveq	%r12, %r11
	movq	_STATS_TBY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	leaq	L_.str.6(%rip), %r14
	cmoveq	%r12, %r14
	movq	_STATS_RBY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	andl	%ebx, %eax
	leaq	L_.str.7(%rip), %rbx
	cmoveq	%r12, %rbx
	movq	_ir_888_debug@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	L_.str(%rip), %rcx
	movl	$2, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r14
	pushq	%r11
	pushq	%r10
	callq	_v4l2_dbg
	addq	$32, %rsp
	movl	(%r13), %esi
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	movl	-128(%rbp), %r14d               ## 4-byte Reload
	testl	%r14d, %r14d
	leaq	L_.str.9(%rip), %r8
	cmoveq	%r12, %r8
	testl	%r13d, -72(%rbp)                ## 4-byte Folded Reload
	leaq	L_.str.10(%rip), %r9
	cmoveq	%r12, %r9
	testl	%r13d, -96(%rbp)                ## 4-byte Folded Reload
	leaq	L_.str.11(%rip), %r10
	cmoveq	%r12, %r10
	testl	%r13d, -60(%rbp)                ## 4-byte Folded Reload
	leaq	L_.str.12(%rip), %rbx
	cmoveq	%r12, %rbx
	movq	%r15, %r12
	leaq	L_.str.8(%rip), %rcx
	movl	$2, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_v4l2_dbg
	addq	$16, %rsp
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.1:
	cmpl	$0, -120(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_3
## %bb.2:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	callq	_irqenable_tx
	movq	_V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_V4L2_SUBDEV_IR_TX_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	movq	%r12, %rdi
	callq	_v4l2_subdev_notify
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_3:
	testl	%r13d, -96(%rbp)                ## 4-byte Folded Reload
	setne	%al
	testl	%r13d, -72(%rbp)                ## 4-byte Folded Reload
	setne	%cl
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, -132(%rbp)                ## 4-byte Folded Reload
	setne	%bl
	testl	%edx, -56(%rbp)                 ## 4-byte Folded Reload
	setne	%dl
	andb	%al, %bl
	testb	%dl, %cl
	jne	LBB0_6
## %bb.4:
	testb	%bl, %bl
	jne	LBB0_6
## %bb.5:
	movl	$0, -52(%rbp)
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_18
LBB0_6:
	movb	%bl, -56(%rbp)                  ## 1-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	_FIFO_RX_NDV@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	testl	%ecx, %ecx
	je	LBB0_31
## %bb.7:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addq	$4, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_CX23888_IR_FIFO_REG@GOTPCREL(%rip), %rbx
	movl	%ecx, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	testl	%r15d, %ecx
	je	LBB0_31
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	_FIFO_RX_DEPTH@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_31
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %esi
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_cx23888_ir_read4
	movl	%eax, %r15d
	movl	(%r12), %ecx
	movl	%ecx, %eax
	notl	%eax
	andl	%r15d, %eax
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	movl	%eax, (%rdx,%r13)
	addq	$4, %r13
	leal	1(%r14), %eax
	testl	%r15d, %ecx
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	_FIFO_RX_DEPTH@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	movl	%eax, %r14d
	ja	LBB0_11
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$1, %eax
	je	LBB0_31
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	movl	%r13d, %edx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	callq	_kfifo_in_locked
	movl	(%r12), %ecx
	testl	%r15d, %ecx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpl	%r13d, %eax
	je	LBB0_8
LBB0_16:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, (%rcx)
	movl	$0, -52(%rbp)
	cmpl	%r13d, %eax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movb	-56(%rbp), %bl                  ## 1-byte Reload
	je	LBB0_18
## %bb.17:
	movq	_V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	L_.str.13(%rip), %rsi
	movq	%r12, %rdi
	callq	_v4l2_err
	jmp	LBB0_18
LBB0_31:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movl	$0, -52(%rbp)
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movb	-56(%rbp), %bl                  ## 1-byte Reload
LBB0_18:
	xorl	%r14d, %r14d
	testl	%r13d, %r15d
	je	LBB0_21
## %bb.19:
	movl	-124(%rbp), %eax                ## 4-byte Reload
	andl	-76(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_21
## %bb.20:
	movq	_CNTRL_RFE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -52(%rbp)
	leaq	L_.str.14(%rip), %rsi
	movq	%r12, %rdi
	callq	_v4l2_err
LBB0_21:
	testb	%bl, %bl
	je	LBB0_23
## %bb.22:
	movq	_CNTRL_RXE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	_V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -52(%rbp)
LBB0_23:
	testl	%r14d, %r14d
	je	LBB0_25
## %bb.24:
	movq	_CX23888_IR_CNTRL_REG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	notl	%r14d
	movl	-116(%rbp), %r13d               ## 4-byte Reload
	andl	%r13d, %r14d
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_cx23888_ir_write4
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_cx23888_ir_write4
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_25:
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_kfifo_len
	movq	_CX23888_IR_RX_KFIFO_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	cmpl	%edx, %eax
	jl	LBB0_27
## %bb.26:
	movq	_V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -52(%rbp)
LBB0_27:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	cmpl	$0, -52(%rbp)
	je	LBB0_29
## %bb.28:
	movq	_V4L2_SUBDEV_IR_RX_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	movq	%r12, %rdi
	callq	_v4l2_subdev_notify
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.30:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CX23888_IR_CNTRL_REG,4,2       ## @CX23888_IR_CNTRL_REG
	.comm	_CX23888_IR_IRQEN_REG,4,2       ## @CX23888_IR_IRQEN_REG
	.comm	_CX23888_IR_STATS_REG,4,2       ## @CX23888_IR_STATS_REG
	.comm	_FIFO_RX_DEPTH,4,2              ## @FIFO_RX_DEPTH
	.comm	_STATS_TSR,4,2                  ## @STATS_TSR
	.comm	_STATS_RSR,4,2                  ## @STATS_RSR
	.comm	_STATS_RTO,4,2                  ## @STATS_RTO
	.comm	_STATS_ROR,4,2                  ## @STATS_ROR
	.comm	_IRQEN_TSE,4,2                  ## @IRQEN_TSE
	.comm	_IRQEN_RSE,4,2                  ## @IRQEN_RSE
	.comm	_IRQEN_RTE,4,2                  ## @IRQEN_RTE
	.comm	_IRQEN_ROE,4,2                  ## @IRQEN_ROE
	.comm	_ir_888_debug,4,2               ## @ir_888_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IRQ Status:  %s %s %s %s %s %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"tsr"

L_.str.2:                               ## @.str.2
	.asciz	"   "

L_.str.3:                               ## @.str.3
	.asciz	"rsr"

L_.str.4:                               ## @.str.4
	.asciz	"rto"

L_.str.5:                               ## @.str.5
	.asciz	"ror"

	.comm	_STATS_TBY,4,2                  ## @STATS_TBY
L_.str.6:                               ## @.str.6
	.asciz	"tby"

	.comm	_STATS_RBY,4,2                  ## @STATS_RBY
L_.str.7:                               ## @.str.7
	.asciz	"rby"

L_.str.8:                               ## @.str.8
	.asciz	"IRQ Enables: %s %s %s %s\n"

L_.str.9:                               ## @.str.9
	.asciz	"tse"

L_.str.10:                              ## @.str.10
	.asciz	"rse"

L_.str.11:                              ## @.str.11
	.asciz	"rte"

L_.str.12:                              ## @.str.12
	.asciz	"roe"

	.comm	_V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ,4,2 ## @V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ
	.comm	_V4L2_SUBDEV_IR_TX_NOTIFY,4,2   ## @V4L2_SUBDEV_IR_TX_NOTIFY
	.comm	_FIFO_RX_NDV,4,2                ## @FIFO_RX_NDV
	.comm	_CX23888_IR_FIFO_REG,4,2        ## @CX23888_IR_FIFO_REG
	.comm	_V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN,4,2 ## @V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN
L_.str.13:                              ## @.str.13
	.asciz	"IR receiver software FIFO overrun\n"

	.comm	_CNTRL_RFE,4,2                  ## @CNTRL_RFE
	.comm	_V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN,4,2 ## @V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN
L_.str.14:                              ## @.str.14
	.asciz	"IR receiver hardware FIFO overrun\n"

	.comm	_CNTRL_RXE,4,2                  ## @CNTRL_RXE
	.comm	_V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED,4,2 ## @V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED
	.comm	_CX23888_IR_RX_KFIFO_SIZE,4,2   ## @CX23888_IR_RX_KFIFO_SIZE
	.comm	_V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ,4,2 ## @V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ
	.comm	_V4L2_SUBDEV_IR_RX_NOTIFY,4,2   ## @V4L2_SUBDEV_IR_RX_NOTIFY
	.no_dead_strip	_cx23888_ir_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx23888_ir_irq_handler
_cx23888_ir_irq_handler:                ; @cx23888_ir_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #64
	mov	x20, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	x21, x0
	bl	_to_state
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
	ldr	x22, [x0, #8]
Lloh3:
	adrp	x8, _CX23888_IR_CNTRL_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CX23888_IR_CNTRL_REG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_cx23888_ir_read4
	stur	w0, [x29, #-136]                ; 4-byte Folded Spill
Lloh6:
	adrp	x8, _CX23888_IR_IRQEN_REG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CX23888_IR_IRQEN_REG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_cx23888_ir_read4
	mov	x25, x0
Lloh9:
	adrp	x8, _CX23888_IR_STATS_REG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CX23888_IR_STATS_REG@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_cx23888_ir_read4
Lloh12:
	adrp	x23, _FIFO_RX_DEPTH@GOTPAGE
Lloh13:
	ldr	x23, [x23, _FIFO_RX_DEPTH@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh14:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh15:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
Lloh16:
	adrp	x8, _STATS_TSR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STATS_TSR@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _STATS_RSR@GOTPAGE
Lloh20:
	ldr	x9, [x9, _STATS_RSR@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x19, l_.str.2@PAGE
Lloh23:
	add	x19, x19, l_.str.2@PAGEOFF
Lloh24:
	adrp	x10, l_.str.1@PAGE
Lloh25:
	add	x10, x10, l_.str.1@PAGEOFF
	ands	w8, w8, w0
	stur	w8, [x29, #-132]                ; 4-byte Folded Spill
	csel	x4, x10, x19, ne
	ands	w8, w9, w0
	stur	w8, [x29, #-116]                ; 4-byte Folded Spill
Lloh26:
	adrp	x8, _STATS_RTO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _STATS_RTO@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, l_.str.3@PAGE
Lloh30:
	add	x9, x9, l_.str.3@PAGEOFF
	csel	x5, x9, x19, ne
	ands	w8, w8, w0
	stur	w8, [x29, #-120]                ; 4-byte Folded Spill
Lloh31:
	adrp	x8, _STATS_ROR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _STATS_ROR@GOTPAGEOFF]
Lloh33:
	adrp	x9, l_.str.4@PAGE
Lloh34:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh35:
	ldr	w8, [x8]
	csel	x6, x9, x19, ne
	ands	w8, w8, w0
	stur	w8, [x29, #-128]                ; 4-byte Folded Spill
Lloh36:
	adrp	x8, _IRQEN_TSE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IRQEN_TSE@GOTPAGEOFF]
Lloh38:
	ldr	w26, [x8]
Lloh39:
	adrp	x8, _IRQEN_RSE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IRQEN_RSE@GOTPAGEOFF]
Lloh41:
	ldr	w28, [x8]
Lloh42:
	adrp	x8, _IRQEN_RTE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _IRQEN_RTE@GOTPAGEOFF]
Lloh44:
	ldr	w27, [x8]
Lloh45:
	adrp	x8, _IRQEN_ROE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _IRQEN_ROE@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	stur	w8, [x29, #-124]                ; 4-byte Folded Spill
	stur	x20, [x29, #-112]               ; 8-byte Folded Spill
	str	wzr, [x20]
Lloh48:
	adrp	x8, _ir_888_debug@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ir_888_debug@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
Lloh51:
	adrp	x8, l_.str.5@PAGE
Lloh52:
	add	x8, x8, l_.str.5@PAGEOFF
	csel	x7, x8, x19, ne
Lloh53:
	adrp	x8, _STATS_TBY@GOTPAGE
Lloh54:
	ldr	x8, [x8, _STATS_TBY@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
Lloh56:
	adrp	x9, l_.str.6@PAGE
Lloh57:
	add	x9, x9, l_.str.6@PAGEOFF
	tst	w8, w0
Lloh58:
	adrp	x8, _STATS_RBY@GOTPAGE
Lloh59:
	ldr	x8, [x8, _STATS_RBY@GOTPAGEOFF]
	csel	x9, x19, x9, eq
Lloh60:
	ldr	w8, [x8]
Lloh61:
	adrp	x10, l_.str.7@PAGE
Lloh62:
	add	x10, x10, l_.str.7@PAGEOFF
	tst	w8, w0
	csel	x8, x19, x10, eq
	stp	x9, x8, [sp, #-16]!
Lloh63:
	adrp	x3, l_.str@PAGE
Lloh64:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x21
	bl	_v4l2_dbg
	add	sp, sp, #16
Lloh65:
	adrp	x8, l_.str.9@PAGE
Lloh66:
	add	x8, x8, l_.str.9@PAGEOFF
	ands	w20, w26, w25
	csel	x4, x8, x19, ne
	ands	w28, w28, w25
Lloh67:
	adrp	x8, l_.str.10@PAGE
Lloh68:
	add	x8, x8, l_.str.10@PAGEOFF
	csel	x5, x8, x19, ne
	ands	w26, w27, w25
Lloh69:
	adrp	x8, l_.str.11@PAGE
Lloh70:
	add	x8, x8, l_.str.11@PAGEOFF
	csel	x6, x8, x19, ne
	ldur	w8, [x29, #-124]                ; 4-byte Folded Reload
	ands	w25, w8, w25
Lloh71:
	adrp	x8, _ir_888_debug@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ir_888_debug@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
Lloh74:
	adrp	x8, l_.str.12@PAGE
Lloh75:
	add	x8, x8, l_.str.12@PAGEOFF
	csel	x7, x8, x19, ne
Lloh76:
	adrp	x3, l_.str.8@PAGE
Lloh77:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	w0, #2
	mov	x2, x21
	bl	_v4l2_dbg
	cbz	w20, LBB0_3
; %bb.1:
	ldur	w8, [x29, #-132]                ; 4-byte Folded Reload
	cbz	w8, LBB0_3
; %bb.2:
	mov	x0, x22
	mov	w1, #0
	bl	_irqenable_tx
Lloh78:
	adrp	x8, _V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ@GOTPAGE
Lloh79:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	stur	w8, [x29, #-92]
Lloh81:
	adrp	x8, _V4L2_SUBDEV_IR_TX_NOTIFY@GOTPAGE
Lloh82:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_TX_NOTIFY@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
	sub	x2, x29, #92
	mov	x0, x21
	bl	_v4l2_subdev_notify
	mov	w8, #1
	ldur	x9, [x29, #-112]                ; 8-byte Folded Reload
	str	w8, [x9]
LBB0_3:
	cmp	w26, #0
	ldur	w8, [x29, #-120]                ; 4-byte Folded Reload
	ccmp	w8, #0, #4, ne
	cset	w20, ne
	ldur	w8, [x29, #-116]                ; 4-byte Folded Reload
	cmp	w8, #0
	ccmp	w28, #0, #4, ne
	b.ne	LBB0_6
; %bb.4:
	tbnz	w20, #0, LBB0_6
; %bb.5:
	stur	wzr, [x29, #-92]
	b	LBB0_17
LBB0_6:
	stp	w20, w25, [x29, #-120]          ; 8-byte Folded Spill
	mov	x20, x21
Lloh84:
	adrp	x28, _FIFO_RX_NDV@GOTPAGE
Lloh85:
	ldr	x28, [x28, _FIFO_RX_NDV@GOTPAGEOFF]
	ldr	w8, [x28]
	cbz	w8, LBB0_16
; %bb.7:
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	add	x25, x9, #4
Lloh86:
	adrp	x19, _CX23888_IR_FIFO_REG@GOTPAGE
Lloh87:
	ldr	x19, [x19, _CX23888_IR_FIFO_REG@GOTPAGEOFF]
	mov	x27, x8
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	tst	w8, w27
	b.eq	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x23]
	cbz	w8, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, #0
	mov	w21, #1
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x19]
	mov	x0, x22
	bl	_cx23888_ir_read4
	ldr	w8, [x28]
	bic	w9, w0, w8
	str	w9, [x24, x26]
	and	w9, w8, w0
	ldr	w10, [x23]
	add	x26, x26, #4
	add	w8, w21, #1
	cmp	w9, #0
	ccmp	w10, w21, #0, ne
	mov	x21, x8
	b.hi	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #1
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x27, x0
	mov	x0, x25
	mov	x1, x24
	mov	x2, x26
	ldur	x3, [x29, #-104]                ; 8-byte Folded Reload
	bl	_kfifo_in_locked
	ldr	w8, [x28]
	and	w9, w8, w27
	cmp	w9, #0
	ccmp	w0, w26, #0, ne
	b.eq	LBB0_8
; %bb.14:
	mov	w8, #1
	ldur	x9, [x29, #-112]                ; 8-byte Folded Reload
	str	w8, [x9]
	stur	wzr, [x29, #-92]
	cmp	w0, w26
	mov	x21, x20
	ldp	w20, w25, [x29, #-120]          ; 8-byte Folded Reload
	b.eq	LBB0_17
; %bb.15:
Lloh88:
	adrp	x8, _V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN@GOTPAGE
Lloh89:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	stur	w8, [x29, #-92]
Lloh91:
	adrp	x1, l_.str.13@PAGE
Lloh92:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x21
	bl	_v4l2_err
	b	LBB0_17
LBB0_16:
	mov	w8, #1
	ldur	x9, [x29, #-112]                ; 8-byte Folded Reload
	str	w8, [x9]
	stur	wzr, [x29, #-92]
	mov	x21, x20
	ldp	w20, w25, [x29, #-120]          ; 8-byte Folded Reload
LBB0_17:
	mov	w19, #0
	cbz	w25, LBB0_20
; %bb.18:
	ldur	w8, [x29, #-128]                ; 4-byte Folded Reload
	cbz	w8, LBB0_20
; %bb.19:
Lloh93:
	adrp	x8, _CNTRL_RFE@GOTPAGE
Lloh94:
	ldr	x8, [x8, _CNTRL_RFE@GOTPAGEOFF]
Lloh95:
	ldr	w19, [x8]
Lloh96:
	adrp	x8, _V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN@GOTPAGE
Lloh97:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	ldur	w9, [x29, #-92]
	orr	w8, w9, w8
	stur	w8, [x29, #-92]
Lloh99:
	adrp	x1, l_.str.14@PAGE
Lloh100:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x21
	bl	_v4l2_err
LBB0_20:
	cbz	w20, LBB0_22
; %bb.21:
Lloh101:
	adrp	x8, _CNTRL_RXE@GOTPAGE
Lloh102:
	ldr	x8, [x8, _CNTRL_RXE@GOTPAGEOFF]
Lloh103:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh104:
	adrp	x8, _V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED@GOTPAGE
Lloh105:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED@GOTPAGEOFF]
Lloh106:
	ldr	w8, [x8]
	ldur	w9, [x29, #-92]
	orr	w8, w9, w8
	stur	w8, [x29, #-92]
LBB0_22:
	cbz	w19, LBB0_24
; %bb.23:
Lloh107:
	adrp	x20, _CX23888_IR_CNTRL_REG@GOTPAGE
Lloh108:
	ldr	x20, [x20, _CX23888_IR_CNTRL_REG@GOTPAGEOFF]
	ldr	w1, [x20]
	ldur	w23, [x29, #-136]               ; 4-byte Folded Reload
	bic	w2, w23, w19
	mov	x0, x22
	bl	_cx23888_ir_write4
	ldr	w1, [x20]
	mov	x0, x22
	mov	x2, x23
	bl	_cx23888_ir_write4
	mov	w8, #1
	ldur	x9, [x29, #-112]                ; 8-byte Folded Reload
	str	w8, [x9]
LBB0_24:
	ldur	x19, [x29, #-104]               ; 8-byte Folded Reload
	mov	x0, x19
	bl	_spin_lock_irqsave
	add	x0, x19, #4
	bl	_kfifo_len
Lloh109:
	adrp	x8, _CX23888_IR_RX_KFIFO_SIZE@GOTPAGE
Lloh110:
	ldr	x8, [x8, _CX23888_IR_RX_KFIFO_SIZE@GOTPAGEOFF]
Lloh111:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	cmp	w0, w8, asr #1
	b.lt	LBB0_26
; %bb.25:
Lloh112:
	adrp	x8, _V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ@GOTPAGE
Lloh113:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ@GOTPAGEOFF]
Lloh114:
	ldr	w8, [x8]
	ldur	w9, [x29, #-92]
	orr	w8, w9, w8
	stur	w8, [x29, #-92]
LBB0_26:
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	bl	_spin_unlock_irqrestore
	ldur	w8, [x29, #-92]
	cbz	w8, LBB0_28
; %bb.27:
Lloh115:
	adrp	x8, _V4L2_SUBDEV_IR_RX_NOTIFY@GOTPAGE
Lloh116:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_RX_NOTIFY@GOTPAGEOFF]
Lloh117:
	ldr	w1, [x8]
	sub	x2, x29, #92
	mov	x0, x21
	bl	_v4l2_subdev_notify
LBB0_28:
	ldur	x8, [x29, #-88]
Lloh118:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh119:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh120:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	mov	w0, #0
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh35
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.cfi_endproc
                                        ; -- End function
	.comm	_CX23888_IR_CNTRL_REG,4,2       ; @CX23888_IR_CNTRL_REG
	.comm	_CX23888_IR_IRQEN_REG,4,2       ; @CX23888_IR_IRQEN_REG
	.comm	_CX23888_IR_STATS_REG,4,2       ; @CX23888_IR_STATS_REG
	.comm	_FIFO_RX_DEPTH,4,2              ; @FIFO_RX_DEPTH
	.comm	_STATS_TSR,4,2                  ; @STATS_TSR
	.comm	_STATS_RSR,4,2                  ; @STATS_RSR
	.comm	_STATS_RTO,4,2                  ; @STATS_RTO
	.comm	_STATS_ROR,4,2                  ; @STATS_ROR
	.comm	_IRQEN_TSE,4,2                  ; @IRQEN_TSE
	.comm	_IRQEN_RSE,4,2                  ; @IRQEN_RSE
	.comm	_IRQEN_RTE,4,2                  ; @IRQEN_RTE
	.comm	_IRQEN_ROE,4,2                  ; @IRQEN_ROE
	.comm	_ir_888_debug,4,2               ; @ir_888_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IRQ Status:  %s %s %s %s %s %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"tsr"

l_.str.2:                               ; @.str.2
	.asciz	"   "

l_.str.3:                               ; @.str.3
	.asciz	"rsr"

l_.str.4:                               ; @.str.4
	.asciz	"rto"

l_.str.5:                               ; @.str.5
	.asciz	"ror"

	.comm	_STATS_TBY,4,2                  ; @STATS_TBY
l_.str.6:                               ; @.str.6
	.asciz	"tby"

	.comm	_STATS_RBY,4,2                  ; @STATS_RBY
l_.str.7:                               ; @.str.7
	.asciz	"rby"

l_.str.8:                               ; @.str.8
	.asciz	"IRQ Enables: %s %s %s %s\n"

l_.str.9:                               ; @.str.9
	.asciz	"tse"

l_.str.10:                              ; @.str.10
	.asciz	"rse"

l_.str.11:                              ; @.str.11
	.asciz	"rte"

l_.str.12:                              ; @.str.12
	.asciz	"roe"

	.comm	_V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ,4,2 ; @V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ
	.comm	_V4L2_SUBDEV_IR_TX_NOTIFY,4,2   ; @V4L2_SUBDEV_IR_TX_NOTIFY
	.comm	_FIFO_RX_NDV,4,2                ; @FIFO_RX_NDV
	.comm	_CX23888_IR_FIFO_REG,4,2        ; @CX23888_IR_FIFO_REG
	.comm	_V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN,4,2 ; @V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN
l_.str.13:                              ; @.str.13
	.asciz	"IR receiver software FIFO overrun\n"

	.comm	_CNTRL_RFE,4,2                  ; @CNTRL_RFE
	.comm	_V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN,4,2 ; @V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN
l_.str.14:                              ; @.str.14
	.asciz	"IR receiver hardware FIFO overrun\n"

	.comm	_CNTRL_RXE,4,2                  ; @CNTRL_RXE
	.comm	_V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED,4,2 ; @V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED
	.comm	_CX23888_IR_RX_KFIFO_SIZE,4,2   ; @CX23888_IR_RX_KFIFO_SIZE
	.comm	_V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ,4,2 ; @V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ
	.comm	_V4L2_SUBDEV_IR_RX_NOTIFY,4,2   ; @V4L2_SUBDEV_IR_RX_NOTIFY
	.no_dead_strip	_cx23888_ir_irq_handler
.subsections_via_symbols
