	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adis16400_probe
_adis16400_probe:                       ## @adis16400_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	$24, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_spi_set_drvdata
	movq	_adis16400_chips@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r15, %rdi
	callq	_spi_get_device_id
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, 8(%r14)
	movq	%r15, 32(%r12)
	movq	%r15, %rdi
	callq	_spi_get_device_id
	movl	8(%rax), %eax
	movl	%eax, 24(%r12)
	movq	8(%r14), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 20(%r12)
	movl	4(%rax), %ecx
	movl	%ecx, 16(%r12)
	movq	_adis16400_info@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%r12)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r12)
	movq	_ADIS16400_NO_BURST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_adis16400_setup_chan_mask
	movl	16(%r14), %eax
	movl	%eax, (%r12)
	movq	_adis16400_burst@GOTPCREL(%rip), %rax
	movq	%rax, (%r14)
	movq	8(%r14), %rcx
	movq	_ADIS16400_BURST_DIAG_STAT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_5
## %bb.4:
	movl	$4, (%rax)
LBB0_5:
	movq	_adis16400_data@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_adis_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.6:
	movq	_adis16400_trigger_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_adis_setup_buffer_and_trigger
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	movq	%r12, %rdi
	callq	_adis16400_initial_setup
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	%r12, %rdi
	callq	_iio_device_register
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_adis_cleanup_buffer_and_trigger
	jmp	LBB0_11
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r12, %rdi
	callq	_adis16400_debugfs_init
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_adis16400_chips,8,3            ## @adis16400_chips
	.comm	_adis16400_info,4,2             ## @adis16400_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_ADIS16400_NO_BURST,4,2         ## @ADIS16400_NO_BURST
	.comm	_adis16400_burst,4,2            ## @adis16400_burst
	.comm	_ADIS16400_BURST_DIAG_STAT,4,2  ## @ADIS16400_BURST_DIAG_STAT
	.comm	_adis16400_data,4,2             ## @adis16400_data
	.comm	_adis16400_trigger_handler,4,2  ## @adis16400_trigger_handler
	.no_dead_strip	_adis16400_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adis16400_probe
_adis16400_probe:                       ; @adis16400_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	mov	w1, #24
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	bl	_iio_priv
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_spi_set_drvdata
Lloh0:
	adrp	x8, _adis16400_chips@GOTPAGE
Lloh1:
	ldr	x8, [x8, _adis16400_chips@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	mov	x0, x21
	bl	_spi_get_device_id
	ldr	x8, [x0]
	mov	w9, #12
	madd	x8, x8, x9, x22
	str	x8, [x20, #8]
	str	x21, [x19, #32]
	mov	x0, x21
	bl	_spi_get_device_id
	ldr	w8, [x0, #8]
	str	w8, [x19, #24]
	ldr	x8, [x20, #8]
	ldur	d0, [x8, #4]
	str	d0, [x19, #16]
Lloh3:
	adrp	x9, _adis16400_info@GOTPAGE
Lloh4:
	ldr	x9, [x9, _adis16400_info@GOTPAGEOFF]
	str	x9, [x19, #8]
Lloh5:
	adrp	x9, _INDIO_DIRECT_MODE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [x19, #4]
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _ADIS16400_NO_BURST@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ADIS16400_NO_BURST@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_adis16400_setup_chan_mask
	ldr	w8, [x20, #16]
	str	w8, [x19]
Lloh11:
	adrp	x8, _adis16400_burst@GOTPAGE
Lloh12:
	ldr	x8, [x8, _adis16400_burst@GOTPAGEOFF]
	str	x8, [x20]
	ldr	x9, [x20, #8]
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _ADIS16400_BURST_DIAG_STAT@GOTPAGE
Lloh14:
	ldr	x10, [x10, _ADIS16400_BURST_DIAG_STAT@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
	mov	w9, #4
	str	w9, [x8]
LBB0_4:
Lloh16:
	adrp	x3, _adis16400_data@GOTPAGE
Lloh17:
	ldr	x3, [x3, _adis16400_data@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_adis_init
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.5:
Lloh18:
	adrp	x8, _adis16400_trigger_handler@GOTPAGE
Lloh19:
	ldr	x8, [x8, _adis16400_trigger_handler@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_adis_setup_buffer_and_trigger
	mov	x21, x0
	cbnz	w0, LBB0_10
; %bb.6:
	mov	x0, x19
	bl	_adis16400_initial_setup
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_iio_device_register
	mov	x21, x0
	cbz	w0, LBB0_11
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	bl	_adis_cleanup_buffer_and_trigger
	b	LBB0_10
LBB0_9:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x19
	bl	_adis16400_debugfs_init
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_adis16400_chips,8,3            ; @adis16400_chips
	.comm	_adis16400_info,4,2             ; @adis16400_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_ADIS16400_NO_BURST,4,2         ; @ADIS16400_NO_BURST
	.comm	_adis16400_burst,4,2            ; @adis16400_burst
	.comm	_ADIS16400_BURST_DIAG_STAT,4,2  ; @ADIS16400_BURST_DIAG_STAT
	.comm	_adis16400_data,4,2             ; @adis16400_data
	.comm	_adis16400_trigger_handler,4,2  ; @adis16400_trigger_handler
	.no_dead_strip	_adis16400_probe
.subsections_via_symbols
