	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm36651_read_int_time
_cm36651_read_int_time:                 ## @cm36651_read_int_time
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_8
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.2:
	movq	8(%rdi), %rax
	movq	8(%rsi), %rcx
	movl	(%rax,%rcx,4), %ecx
	movq	_CM36651_CS_IT1@GOTPCREL(%rip), %rsi
	movl	$80000, %eax                    ## imm = 0x13880
	cmpl	(%rsi), %ecx
	je	LBB0_12
## %bb.3:
	movq	_CM36651_CS_IT2@GOTPCREL(%rip), %rsi
	movl	$160000, %eax                   ## imm = 0x27100
	cmpl	(%rsi), %ecx
	je	LBB0_12
## %bb.4:
	movq	_CM36651_CS_IT3@GOTPCREL(%rip), %rsi
	movl	$320000, %eax                   ## imm = 0x4E200
	cmpl	(%rsi), %ecx
	je	LBB0_12
## %bb.5:
	movq	_CM36651_CS_IT4@GOTPCREL(%rip), %rsi
	movl	$640000, %eax                   ## imm = 0x9C400
	cmpl	(%rsi), %ecx
	je	LBB0_12
	jmp	LBB0_7
LBB0_8:
	movl	(%rdi), %ecx
	movq	_CM36651_PS_IT1@GOTPCREL(%rip), %rsi
	movl	$320, %eax                      ## imm = 0x140
	cmpl	(%rsi), %ecx
	je	LBB0_12
## %bb.9:
	movq	_CM36651_PS_IT2@GOTPCREL(%rip), %rsi
	movl	$420, %eax                      ## imm = 0x1A4
	cmpl	(%rsi), %ecx
	je	LBB0_12
## %bb.10:
	movq	_CM36651_PS_IT3@GOTPCREL(%rip), %rsi
	movl	$520, %eax                      ## imm = 0x208
	cmpl	(%rsi), %ecx
	je	LBB0_12
## %bb.11:
	movq	_CM36651_PS_IT4@GOTPCREL(%rip), %rsi
	movl	$640, %eax                      ## imm = 0x280
	cmpl	(%rsi), %ecx
	jne	LBB0_7
LBB0_12:
	movl	%eax, (%rdx)
	movq	_IIO_VAL_INT_PLUS_MICRO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CM36651_CS_IT1,4,2             ## @CM36651_CS_IT1
	.comm	_CM36651_CS_IT2,4,2             ## @CM36651_CS_IT2
	.comm	_CM36651_CS_IT3,4,2             ## @CM36651_CS_IT3
	.comm	_CM36651_CS_IT4,4,2             ## @CM36651_CS_IT4
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CM36651_PS_IT1,4,2             ## @CM36651_PS_IT1
	.comm	_CM36651_PS_IT2,4,2             ## @CM36651_PS_IT2
	.comm	_CM36651_PS_IT3,4,2             ## @CM36651_PS_IT3
	.comm	_CM36651_PS_IT4,4,2             ## @CM36651_PS_IT4
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ## @IIO_VAL_INT_PLUS_MICRO
	.no_dead_strip	_cm36651_read_int_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm36651_read_int_time
_cm36651_read_int_time:                 ; @cm36651_read_int_time
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_19
; %bb.2:
	ldr	x8, [x0, #8]
	ldr	x9, [x1, #8]
	ldr	w8, [x8, x9, lsl #2]
Lloh0:
	adrp	x9, _CM36651_CS_IT1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CM36651_CS_IT1@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.3:
	mov	w8, #14464
	movk	w8, #1, lsl #16
	b	LBB0_18
LBB0_4:
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _CM36651_PS_IT1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CM36651_PS_IT1@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.5:
	mov	w8, #320
	b	LBB0_18
LBB0_6:
Lloh6:
	adrp	x9, _CM36651_CS_IT2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CM36651_CS_IT2@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.7:
	mov	w8, #28928
	movk	w8, #2, lsl #16
	b	LBB0_18
LBB0_8:
Lloh9:
	adrp	x9, _CM36651_PS_IT2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CM36651_PS_IT2@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.9:
	mov	w8, #420
	b	LBB0_18
LBB0_10:
Lloh12:
	adrp	x9, _CM36651_CS_IT3@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CM36651_CS_IT3@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.11:
	mov	w8, #57856
	movk	w8, #4, lsl #16
	b	LBB0_18
LBB0_12:
Lloh15:
	adrp	x9, _CM36651_PS_IT3@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CM36651_PS_IT3@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_16
; %bb.13:
	mov	w8, #520
	b	LBB0_18
LBB0_14:
Lloh18:
	adrp	x9, _CM36651_CS_IT4@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CM36651_CS_IT4@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_19
; %bb.15:
	mov	w8, #50176
	movk	w8, #9, lsl #16
	b	LBB0_18
LBB0_16:
Lloh21:
	adrp	x9, _CM36651_PS_IT4@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CM36651_PS_IT4@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_19
; %bb.17:
	mov	w8, #640
LBB0_18:
	str	w8, [x2]
Lloh24:
	adrp	x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IIO_VAL_INT_PLUS_MICRO@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ret
LBB0_19:
Lloh27:
	adrp	x8, _EINVAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.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
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_CM36651_CS_IT1,4,2             ; @CM36651_CS_IT1
	.comm	_CM36651_CS_IT2,4,2             ; @CM36651_CS_IT2
	.comm	_CM36651_CS_IT3,4,2             ; @CM36651_CS_IT3
	.comm	_CM36651_CS_IT4,4,2             ; @CM36651_CS_IT4
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CM36651_PS_IT1,4,2             ; @CM36651_PS_IT1
	.comm	_CM36651_PS_IT2,4,2             ; @CM36651_PS_IT2
	.comm	_CM36651_PS_IT3,4,2             ; @CM36651_PS_IT3
	.comm	_CM36651_PS_IT4,4,2             ; @CM36651_PS_IT4
	.comm	_IIO_VAL_INT_PLUS_MICRO,4,2     ; @IIO_VAL_INT_PLUS_MICRO
	.no_dead_strip	_cm36651_read_int_time
.subsections_via_symbols
