	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function cx23885_input_ir_start
LCPI0_0:
	.long	37917                           ## 0x941d
	.long	33000                           ## 0x80e8
	.long	43000                           ## 0xa7f8
	.long	33                              ## 0x21
LCPI0_1:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cx23885_input_ir_start:                ## @cx23885_input_ir_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	addq	$16, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	8(%rbx), %rdi
	movq	_ir@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_rx_g_parameters@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rcx
	callq	_v4l2_subdev_call
	movl	(%rbx), %eax
	leal	-133(%rax), %ecx
	cmpl	$12, %ecx
	jae	LBB0_3
LBB0_5:
	movq	_V4L2_SUBDEV_IR_MODE_PULSE_WIDTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [1,1,0,0]
	movaps	%xmm0, -80(%rbp)
	movabsq	$1431654337010901, %rax         ## imm = 0x516150032DCD5
	movq	%rax, -64(%rbp)
	jmp	LBB0_7
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_3:
	leal	-129(%rax), %ecx
	cmpl	$4, %ecx
	jae	LBB0_4
## %bb.6:
	movq	_V4L2_SUBDEV_IR_MODE_PULSE_WIDTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [37917,33000,43000,33]
	movups	%xmm0, -52(%rbp)
	movabsq	$1510316672081830, %rax         ## imm = 0x55DA000BCDFA6
	movq	%rax, -64(%rbp)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [1,1,0,0]
	movaps	%xmm0, -80(%rbp)
LBB0_7:
	movl	$1, -56(%rbp)
LBB0_8:
	movq	8(%rbx), %rdi
	movl	(%r14), %esi
	movq	_rx_s_parameters@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rcx
	callq	_v4l2_subdev_call
	xorl	%eax, %eax
LBB0_9:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	cmpl	$128, %eax
	je	LBB0_5
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ir,4,2                         ## @ir
	.comm	_rx_g_parameters,4,2            ## @rx_g_parameters
	.comm	_V4L2_SUBDEV_IR_MODE_PULSE_WIDTH,8,3 ## @V4L2_SUBDEV_IR_MODE_PULSE_WIDTH
	.comm	_rx_s_parameters,4,2            ## @rx_s_parameters
	.no_dead_strip	_cx23885_input_ir_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function cx23885_input_ir_start
lCPI0_0:
	.long	37917                           ; 0x941d
	.long	33000                           ; 0x80e8
	.long	43000                           ; 0xa7f8
	.long	33                              ; 0x21
lCPI0_2:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	12378022                        ; 0xbcdfa6
	.long	351648                          ; 0x55da0
lCPI0_3:
	.long	3333333                         ; 0x32dcd5
	.long	333333                          ; 0x51615
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cx23885_input_ir_start:                ; @cx23885_input_ir_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x0, x0, #16
	mov	w1, #0
	bl	_atomic_set
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x20, _ir@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ir@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _rx_g_parameters@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rx_g_parameters@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x3, sp
	bl	_v4l2_subdev_call
	ldr	w8, [x19]
	sub	w9, w8, #133
	cmp	w9, #12
	b.hs	LBB0_4
LBB0_2:
Lloh5:
	adrp	x8, _V4L2_SUBDEV_IR_MODE_PULSE_WIDTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_MODE_PULSE_WIDTH@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [sp, #48]
Lloh8:
	adrp	x8, lCPI0_2@PAGE
Lloh9:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	str	q0, [sp]
Lloh10:
	adrp	x8, lCPI0_3@PAGE
Lloh11:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
	str	d0, [sp, #16]
	b	LBB0_6
LBB0_3:
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
	sub	w9, w8, #129
	cmp	w9, #4
	b.hs	LBB0_9
; %bb.5:
Lloh15:
	adrp	x8, _V4L2_SUBDEV_IR_MODE_PULSE_WIDTH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V4L2_SUBDEV_IR_MODE_PULSE_WIDTH@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	x8, [sp, #48]
Lloh18:
	adrp	x8, lCPI0_0@PAGE
Lloh19:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [sp, #28]
Lloh20:
	adrp	x8, lCPI0_1@PAGE
Lloh21:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp, #16]
Lloh22:
	adrp	x8, lCPI0_2@PAGE
Lloh23:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	str	q0, [sp]
LBB0_6:
	mov	w8, #1
	str	w8, [sp, #24]
LBB0_7:
	ldr	x0, [x19, #8]
	ldr	w1, [x20]
Lloh24:
	adrp	x8, _rx_s_parameters@GOTPAGE
Lloh25:
	ldr	x8, [x8, _rx_s_parameters@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x3, sp
	bl	_v4l2_subdev_call
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	cmp	w8, #128
	b.eq	LBB0_2
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdr	Lloh22, Lloh23
	.loh AdrpAdrp	Lloh20, Lloh22
	.loh AdrpLdr	Lloh20, Lloh21
	.loh AdrpAdrp	Lloh18, Lloh20
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ir,4,2                         ; @ir
	.comm	_rx_g_parameters,4,2            ; @rx_g_parameters
	.comm	_V4L2_SUBDEV_IR_MODE_PULSE_WIDTH,8,3 ; @V4L2_SUBDEV_IR_MODE_PULSE_WIDTH
	.comm	_rx_s_parameters,4,2            ; @rx_s_parameters
	.no_dead_strip	_cx23885_input_ir_start
.subsections_via_symbols
