	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx23885_ir_tx_v4l2_dev_notify  ## -- Begin function cx23885_ir_tx_v4l2_dev_notify
	.p2align	4, 0x90
_cx23885_ir_tx_v4l2_dev_notify:         ## @cx23885_ir_tx_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, %r12d
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_to_cx23885
	movq	%rax, %rbx
	movq	%rax, %r15
	movq	_V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_CX23885_IR_TX_FIFO_SERVICE_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
LBB0_2:
	addq	$8, %rbx
	cmpq	%r14, 16(%r15)
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cx23885_ir_tx_work_handler     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ,4,2 ## @V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ
	.comm	_CX23885_IR_TX_FIFO_SERVICE_REQ,4,2 ## @CX23885_IR_TX_FIFO_SERVICE_REQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx23885_ir_tx_v4l2_dev_notify  ; -- Begin function cx23885_ir_tx_v4l2_dev_notify
	.p2align	2
_cx23885_ir_tx_v4l2_dev_notify:         ; @cx23885_ir_tx_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_TX_FIFO_SERVICE_REQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _CX23885_IR_TX_FIFO_SERVICE_REQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CX23885_IR_TX_FIFO_SERVICE_REQ@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
LBB0_2:
	ldr	x8, [x20, #16]
	add	x0, x20, #8
	cmp	x8, x19
	b.eq	LBB0_4
; %bb.3:
	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_4:
	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_tx_work_handler
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ,4,2 ; @V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ
	.comm	_CX23885_IR_TX_FIFO_SERVICE_REQ,4,2 ; @CX23885_IR_TX_FIFO_SERVICE_REQ
.subsections_via_symbols
