	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adis16480_probe
_adis16480_probe:                       ## @adis16480_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, %rbx
	callq	_spi_get_device_id
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_spi_set_drvdata
	movq	%r12, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	_adis16480_chip_info@GOTPCREL(%rip), %rax
	movq	(%r15), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movq	%rcx, 16(%r14)
	movq	%rbx, 32(%r12)
	movq	%rbx, %rdi
	callq	_spi_get_device_id
	movl	8(%rax), %eax
	movl	%eax, 24(%r12)
	movq	16(%r14), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 20(%r12)
	movl	4(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_adis16480_info@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r12)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	leaq	8(%r14), %r15
	movq	_adis16480_data@GOTPCREL(%rip), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_adis_init
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.3:
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_adis16480_config_irq_pin
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.4:
	movq	%r14, %rdi
	callq	_adis16480_get_ext_clocks
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.5:
	movl	4(%r14), %edi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	movq	16(%r14), %rax
	movl	(%rax), %eax
LBB0_9:
	movl	%eax, (%r14)
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_adis_setup_buffer_and_trigger
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_15
## %bb.10:
	movq	%r12, %rdi
	callq	_adis16480_initial_setup
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.11:
	movq	%r12, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_adis16480_stop_device
LBB0_14:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_adis_cleanup_buffer_and_trigger
LBB0_15:
	movl	4(%r14), %edi
	callq	_clk_disable_unprepare
	jmp	LBB0_16
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_16:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_adis16480_ext_clk_config
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.7:
	movl	4(%r14), %edi
	callq	_clk_get_rate
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	jmp	LBB0_9
LBB0_12:
	movq	%r12, %rdi
	callq	_adis16480_debugfs_init
	xorl	%r13d, %r13d
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_adis16480_chip_info,8,3        ## @adis16480_chip_info
	.comm	_adis16480_info,4,2             ## @adis16480_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_adis16480_data,4,2             ## @adis16480_data
	.no_dead_strip	_adis16480_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adis16480_probe
_adis16480_probe:                       ; @adis16480_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	x22, x0
	bl	_spi_get_device_id
	mov	x21, x0
	mov	x0, x22
	mov	w1, #24
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x0
	mov	x0, x22
	mov	x1, x19
	bl	_spi_set_drvdata
	mov	x0, x19
	bl	_iio_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _adis16480_chip_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _adis16480_chip_info@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x21]
	mov	w10, #12
	madd	x8, x9, x10, x8
	str	x8, [x0, #16]
	str	x22, [x19, #32]
	mov	x0, x22
	bl	_spi_get_device_id
	ldr	w8, [x0, #8]
	str	w8, [x19, #24]
	ldr	x8, [x20, #16]
	ldur	d0, [x8, #4]
	str	d0, [x19, #16]
Lloh3:
	adrp	x8, _adis16480_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _adis16480_info@GOTPAGEOFF]
	str	x8, [x19, #8]
Lloh5:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19]
	add	x21, x20, #8
Lloh8:
	adrp	x3, _adis16480_data@GOTPAGE
Lloh9:
	ldr	x3, [x3, _adis16480_data@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_adis_init
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.2:
	ldr	w0, [x22]
	mov	x1, x20
	bl	_adis16480_config_irq_pin
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.3:
	mov	x0, x20
	bl	_adis16480_get_ext_clocks
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.4:
	ldr	w0, [x20, #4]
	bl	_IS_ERR_OR_NULL
	cbz	w0, LBB0_14
; %bb.5:
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
LBB0_6:
	str	w8, [x20]
	mov	x0, x21
	mov	x1, x19
	mov	x2, #0
	bl	_adis_setup_buffer_and_trigger
	mov	x23, x0
	cbnz	w0, LBB0_11
; %bb.7:
	mov	x0, x19
	bl	_adis16480_initial_setup
	mov	x23, x0
	cbnz	w0, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_iio_device_register
	mov	x23, x0
	cbz	w0, LBB0_16
; %bb.9:
	mov	x0, x19
	bl	_adis16480_stop_device
LBB0_10:
	mov	x0, x21
	mov	x1, x19
	bl	_adis_cleanup_buffer_and_trigger
LBB0_11:
	ldr	w0, [x20, #4]
	bl	_clk_disable_unprepare
	b	LBB0_13
LBB0_12:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_13:
	mov	x0, x23
	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
LBB0_14:
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #1
	bl	_adis16480_ext_clk_config
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.15:
	ldr	w0, [x20, #4]
	bl	_clk_get_rate
	mov	w8, #1000
	mul	w8, w0, w8
	b	LBB0_6
LBB0_16:
	mov	x0, x19
	bl	_adis16480_debugfs_init
	b	LBB0_13
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_adis16480_chip_info,8,3        ; @adis16480_chip_info
	.comm	_adis16480_info,4,2             ; @adis16480_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_adis16480_data,4,2             ; @adis16480_data
	.no_dead_strip	_adis16480_probe
.subsections_via_symbols
