	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx23885_input_ir_stop
_cx23885_input_ir_stop:                 ## @cx23885_input_ir_stop
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 16(%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	addq	$24, %rdi
	movl	$1, %esi
	callq	_atomic_set
	movq	16(%rbx), %rdi
	movq	_ir@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_rx_g_parameters@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-56(%rbp), %rcx
	callq	_v4l2_subdev_call
	cmpl	$0, -56(%rbp)
	jne	LBB0_4
## %bb.2:
	movq	_rx_s_parameters@GOTPCREL(%rip), %r13
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, -48(%rbp)
	movq	$1, -56(%rbp)
	movq	16(%rbx), %rdi
	movl	(%r15), %esi
	movl	(%r13), %edx
	movq	%r14, %rcx
	callq	_v4l2_subdev_call
	movq	16(%rbx), %rdi
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%r14, %rcx
	callq	_v4l2_subdev_call
	cmpl	$0, -56(%rbp)
	je	LBB0_3
LBB0_4:
	leaq	8(%rbx), %rdi
	callq	_flush_work
	leaq	4(%rbx), %rdi
	callq	_flush_work
	movq	%rbx, %rdi
	callq	_flush_work
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ir,4,2                         ## @ir
	.comm	_rx_g_parameters,4,2            ## @rx_g_parameters
	.comm	_rx_s_parameters,4,2            ## @rx_s_parameters
	.no_dead_strip	_cx23885_input_ir_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function cx23885_input_ir_stop
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cx23885_input_ir_stop:                 ; @cx23885_input_ir_stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -56
	.cfi_offset b9, -64
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x0
	add	x0, x0, #24
	mov	w1, #1
	bl	_atomic_set
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x20, _ir@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ir@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _rx_g_parameters@GOTPAGE
Lloh3:
	ldr	x21, [x21, _rx_g_parameters@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x3, sp
	bl	_v4l2_subdev_call
	ldr	w8, [sp]
	cbnz	w8, LBB0_4
; %bb.2:
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
Lloh6:
	adrp	x22, _rx_s_parameters@GOTPAGE
Lloh7:
	ldr	x22, [x22, _rx_s_parameters@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [sp, #8]
	str	d8, [sp]
	ldr	x0, [x19, #16]
	ldr	w1, [x20]
	ldr	w2, [x22]
	mov	x3, sp
	bl	_v4l2_subdev_call
	ldr	x0, [x19, #16]
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x3, sp
	bl	_v4l2_subdev_call
	ldr	w8, [sp]
	cbz	w8, LBB0_3
LBB0_4:
	add	x0, x19, #8
	bl	_flush_work
	add	x0, x19, #4
	bl	_flush_work
	mov	x0, x19
	bl	_flush_work
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdr	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ir,4,2                         ; @ir
	.comm	_rx_g_parameters,4,2            ; @rx_g_parameters
	.comm	_rx_s_parameters,4,2            ; @rx_s_parameters
	.no_dead_strip	_cx23885_input_ir_stop
.subsections_via_symbols
