	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx23885_ir_rx_v4l2_dev_notify  ## -- Begin function cx23885_ir_rx_v4l2_dev_notify
	.p2align	4, 0x90
_cx23885_ir_rx_v4l2_dev_notify:         ## @cx23885_ir_rx_v4l2_dev_notify
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_to_cx23885
	movq	%rax, %r12
	movq	%rax, %r15
	movq	_V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_CX23885_IR_RX_FIFO_SERVICE_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
LBB0_2:
	movq	_V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_CX23885_IR_RX_END_OF_RX_DETECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
LBB0_4:
	movq	_V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_CX23885_IR_RX_HW_FIFO_OVERRUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
LBB0_6:
	movq	_V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_CX23885_IR_RX_SW_FIFO_OVERRUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
LBB0_8:
	addq	$8, %r12
	cmpq	%r14, 16(%r15)
	je	LBB0_9
## %bb.10:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_9:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cx23885_ir_rx_work_handler     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ,4,2 ## @V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ
	.comm	_CX23885_IR_RX_FIFO_SERVICE_REQ,4,2 ## @CX23885_IR_RX_FIFO_SERVICE_REQ
	.comm	_V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED,4,2 ## @V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED
	.comm	_CX23885_IR_RX_END_OF_RX_DETECTED,4,2 ## @CX23885_IR_RX_END_OF_RX_DETECTED
	.comm	_V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN,4,2 ## @V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN
	.comm	_CX23885_IR_RX_HW_FIFO_OVERRUN,4,2 ## @CX23885_IR_RX_HW_FIFO_OVERRUN
	.comm	_V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN,4,2 ## @V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN
	.comm	_CX23885_IR_RX_SW_FIFO_OVERRUN,4,2 ## @CX23885_IR_RX_SW_FIFO_OVERRUN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx23885_ir_rx_v4l2_dev_notify  ; -- Begin function cx23885_ir_rx_v4l2_dev_notify
	.p2align	2
_cx23885_ir_rx_v4l2_dev_notify:         ; @cx23885_ir_rx_v4l2_dev_notify
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	mov	x19, x0
	ldr	w0, [x0]
	bl	_to_cx23885
	mov	x20, x0
Lloh0:
	adrp	x8, _V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _CX23885_IR_RX_FIFO_SERVICE_REQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CX23885_IR_RX_FIFO_SERVICE_REQ@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
LBB0_2:
Lloh6:
	adrp	x8, _V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _CX23885_IR_RX_END_OF_RX_DETECTED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CX23885_IR_RX_END_OF_RX_DETECTED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
LBB0_4:
Lloh12:
	adrp	x8, _V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _CX23885_IR_RX_HW_FIFO_OVERRUN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CX23885_IR_RX_HW_FIFO_OVERRUN@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
LBB0_6:
Lloh18:
	adrp	x8, _V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
Lloh21:
	adrp	x8, _CX23885_IR_RX_SW_FIFO_OVERRUN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CX23885_IR_RX_SW_FIFO_OVERRUN@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
LBB0_8:
	ldr	x8, [x20, #16]
	add	x0, x20, #8
	cmp	x8, x19
	b.eq	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_schedule_work
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cx23885_ir_rx_work_handler
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ,4,2 ; @V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ
	.comm	_CX23885_IR_RX_FIFO_SERVICE_REQ,4,2 ; @CX23885_IR_RX_FIFO_SERVICE_REQ
	.comm	_V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED,4,2 ; @V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED
	.comm	_CX23885_IR_RX_END_OF_RX_DETECTED,4,2 ; @CX23885_IR_RX_END_OF_RX_DETECTED
	.comm	_V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN,4,2 ; @V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN
	.comm	_CX23885_IR_RX_HW_FIFO_OVERRUN,4,2 ; @CX23885_IR_RX_HW_FIFO_OVERRUN
	.comm	_V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN,4,2 ; @V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN
	.comm	_CX23885_IR_RX_SW_FIFO_OVERRUN,4,2 ; @CX23885_IR_RX_SW_FIFO_OVERRUN
.subsections_via_symbols
