	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function itg3200_probe
_itg3200_probe:                         ## @itg3200_probe
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	8(%rdi), %rbx
	movq	(%rdi), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_dbg
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r13
	leaq	8(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_iio_read_mount_matrix
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, (%r13)
	movq	%rbx, 32(%r15)
	movq	8(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movq	_itg3200_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 24(%r15)
	callq	_ARRAY_SIZE
	movl	%eax, 20(%r15)
	movq	_itg3200_available_scan_masks@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_itg3200_info@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r15)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r15, %rdi
	callq	_itg3200_buffer_configure
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.4:
	cmpq	$0, (%r14)
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_itg3200_probe_trigger
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_11
LBB0_6:
	movq	%r15, %rdi
	callq	_itg3200_initial_setup
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movq	%r15, %rdi
	callq	_iio_device_register
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	cmpq	$0, (%r14)
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	_itg3200_remove_trigger
LBB0_11:
	movq	%r15, %rdi
	callq	_itg3200_buffer_unconfigure
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_12:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%r12d, %r12d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"probe I2C dev with IRQ %i"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"mount-matrix"

	.comm	_itg3200_channels,4,2           ## @itg3200_channels
	.comm	_itg3200_available_scan_masks,4,2 ## @itg3200_available_scan_masks
	.comm	_itg3200_info,4,2               ## @itg3200_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.no_dead_strip	_itg3200_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function itg3200_probe
_itg3200_probe:                         ; @itg3200_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	mov	x22, x0
	ldr	x2, [x22], #8
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_dbg
	mov	x0, x22
	mov	w1, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x0
	bl	_iio_priv
	mov	x23, x0
	add	x2, x0, #8
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_iio_read_mount_matrix
	mov	x21, x0
	cbnz	w0, LBB0_11
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	str	x19, [x23]
	str	x22, [x20, #32]
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _itg3200_channels@GOTPAGE
Lloh5:
	ldr	x9, [x9, _itg3200_channels@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x9]
	stp	w0, w8, [x20, #24]
	bl	_ARRAY_SIZE
Lloh7:
	adrp	x8, _itg3200_available_scan_masks@GOTPAGE
Lloh8:
	ldr	x8, [x8, _itg3200_available_scan_masks@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _itg3200_info@GOTPAGE
Lloh11:
	ldr	x9, [x9, _itg3200_info@GOTPAGEOFF]
	stp	w8, w0, [x20, #16]
	str	x9, [x20, #8]
Lloh12:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x20
	bl	_itg3200_buffer_configure
	mov	x21, x0
	cbnz	w0, LBB0_11
; %bb.3:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_itg3200_probe_trigger
	mov	x21, x0
	cbnz	w0, LBB0_9
LBB0_5:
	mov	x0, x20
	bl	_itg3200_initial_setup
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_iio_device_register
	mov	x21, x0
	cbz	w0, LBB0_11
LBB0_7:
	ldr	x8, [x19]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_itg3200_remove_trigger
LBB0_9:
	mov	x0, x20
	bl	_itg3200_buffer_unconfigure
	b	LBB0_11
LBB0_10:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_11:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"probe I2C dev with IRQ %i"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"mount-matrix"

	.comm	_itg3200_channels,4,2           ; @itg3200_channels
	.comm	_itg3200_available_scan_masks,4,2 ; @itg3200_available_scan_masks
	.comm	_itg3200_info,4,2               ; @itg3200_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.no_dead_strip	_itg3200_probe
.subsections_via_symbols
