	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx90632_read_object_raw
_mlx90632_read_object_raw:              ## @mlx90632_read_object_raw
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %eax
	movq	%rdi, %r12
	movl	$0, -44(%rbp)
	movl	$0, -40(%rbp)
	leaq	-44(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	movl	%eax, %edi
	callq	_mlx90632_channel_new_select
	testl	%eax, %eax
	je	LBB0_1
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	-44(%rbp), %edi
	callq	_MLX90632_RAM_2
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:
	movl	-36(%rbp), %ebx
	movl	-44(%rbp), %edi
	callq	_MLX90632_RAM_1
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	addl	-36(%rbp), %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	addl	%ebx, %eax
	sarl	%eax
	movl	%eax, (%r15)
	movl	-40(%rbp), %edi
	callq	_MLX90632_RAM_2
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	movl	-36(%rbp), %r15d
	movl	-40(%rbp), %edi
	callq	_MLX90632_RAM_1
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	addl	-36(%rbp), %r15d
	movl	%r15d, %ecx
	shrl	$31, %ecx
	addl	%r15d, %ecx
	sarl	%ecx
	movl	%ecx, (%r14)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlx90632_read_object_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx90632_read_object_raw
_mlx90632_read_object_raw:              ; @mlx90632_read_object_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x3
	mov	x21, x2
	mov	x8, x1
	mov	x20, x0
	stp	wzr, wzr, [sp, #4]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x8
	bl	_mlx90632_channel_new_select
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	ldr	w0, [sp, #8]
	bl	_MLX90632_RAM_2
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x20
	bl	_regmap_read
	tbnz	w0, #31, LBB0_1
; %bb.3:
	ldp	w0, w22, [sp, #8]
	bl	_MLX90632_RAM_1
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x20
	bl	_regmap_read
	tbnz	w0, #31, LBB0_1
; %bb.4:
	ldr	w8, [sp, #12]
	add	w8, w8, w22
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	str	w8, [x21]
	ldr	w0, [sp, #4]
	bl	_MLX90632_RAM_2
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x20
	bl	_regmap_read
	tbnz	w0, #31, LBB0_1
; %bb.5:
	ldr	w21, [sp, #12]
	ldr	w0, [sp, #4]
	bl	_MLX90632_RAM_1
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x20
	bl	_regmap_read
	tbnz	w0, #31, LBB0_1
; %bb.6:
	ldr	w8, [sp, #12]
	add	w8, w8, w21
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	str	w8, [x19]
	b	LBB0_1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlx90632_read_object_raw
.subsections_via_symbols
