	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function itg3200_read_all_channels
_itg3200_read_all_channels:             ## @itg3200_read_all_channels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$80, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	%rsi, -80(%rbp)
	movq	_ITG3200_REG_TEMP_OUT_H@GOTPCREL(%rip), %rax
	movl	$128, %ecx
	orl	(%rax), %ecx
	movl	%ecx, -68(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -64(%rbp)
	movl	$1, -60(%rbp)
	leaq	-68(%rbp), %rcx
	movq	%rcx, -56(%rbp)
	movl	8(%rdi), %ecx
	movl	%ecx, -48(%rbp)
	movq	_I2C_M_RD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, -40(%rbp)
	movq	_ITG3200_SCAN_ELEMENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$2, %eax
	movl	%eax, -36(%rbp)
	leaq	-80(%rbp), %rax
	movq	%rax, -32(%rbp)
	movl	%ecx, -24(%rbp)
	movl	4(%rdi), %edi
	leaq	-64(%rbp), %rsi
	movl	$2, %edx
	callq	_i2c_transfer
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$80, %rsp
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ITG3200_REG_TEMP_OUT_H,4,2     ## @ITG3200_REG_TEMP_OUT_H
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.comm	_ITG3200_SCAN_ELEMENTS,4,2      ## @ITG3200_SCAN_ELEMENTS
	.no_dead_strip	_itg3200_read_all_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function itg3200_read_all_channels
_itg3200_read_all_channels:             ; @itg3200_read_all_channels
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	str	x1, [sp, #16]
Lloh3:
	adrp	x8, _ITG3200_REG_TEMP_OUT_H@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ITG3200_REG_TEMP_OUT_H@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w8, #0x80
	str	w8, [sp, #12]
	mov	w9, #1
	ldp	w10, w8, [x0]
	stp	w10, w9, [sp, #24]
	add	x9, sp, #12
	str	x9, [sp, #32]
	ldr	w9, [x0, #8]
Lloh6:
	adrp	x11, _I2C_M_RD@GOTPAGE
Lloh7:
	ldr	x11, [x11, _I2C_M_RD@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w10, w11, w10
	str	w9, [sp, #40]
	str	w10, [sp, #48]
Lloh9:
	adrp	x10, _ITG3200_SCAN_ELEMENTS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ITG3200_SCAN_ELEMENTS@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	lsl	w10, w10, #2
	str	w10, [sp, #52]
	add	x10, sp, #16
	str	x10, [sp, #56]
	str	w9, [sp, #64]
	add	x1, sp, #24
	mov	x0, x8
	mov	w2, #2
	bl	_i2c_transfer
	ldur	x8, [x29, #-8]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ITG3200_REG_TEMP_OUT_H,4,2     ; @ITG3200_REG_TEMP_OUT_H
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.comm	_ITG3200_SCAN_ELEMENTS,4,2      ; @ITG3200_SCAN_ELEMENTS
	.no_dead_strip	_itg3200_read_all_channels
.subsections_via_symbols
