	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adxrs450_probe
_adxrs450_probe:                        ## @adxrs450_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, %r14
	movl	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%r14, 8(%rax)
	movq	%rax, %rdi
	callq	_mutex_init
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_spi_set_drvdata
	movq	%r14, 24(%rbx)
	movq	_adxrs450_info@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_adxrs450_channels@GOTPCREL(%rip), %r15
	movq	(%r15), %r12
	movq	%r14, %rdi
	callq	_spi_get_device_id
	movq	(%rax), %rax
	movl	(%r12,%rax,4), %eax
	movl	%eax, 8(%rbx)
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, 4(%rbx)
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_devm_iio_device_register
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_adxrs450_initial_setup         ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_adxrs450_info,4,2              ## @adxrs450_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_adxrs450_channels,8,3          ## @adxrs450_channels
	.no_dead_strip	_adxrs450_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adxrs450_probe
_adxrs450_probe:                        ; @adxrs450_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	x20, x0
	mov	w1, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_iio_priv
	str	x20, [x0, #8]
	bl	_mutex_init
	mov	x0, x20
	mov	x1, x19
	bl	_spi_set_drvdata
Lloh0:
	adrp	x8, _adxrs450_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _adxrs450_info@GOTPAGEOFF]
Lloh2:
	adrp	x9, _INDIO_DIRECT_MODE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _INDIO_DIRECT_MODE@GOTPAGEOFF]
	stp	x8, x20, [x19, #16]
Lloh4:
	ldr	w8, [x9]
	str	w8, [x19, #12]
Lloh5:
	adrp	x21, _adxrs450_channels@GOTPAGE
Lloh6:
	ldr	x21, [x21, _adxrs450_channels@GOTPAGEOFF]
	ldr	x22, [x21]
	mov	x0, x20
	bl	_spi_get_device_id
	ldr	x8, [x0]
	ldr	w8, [x22, x8, lsl #2]
	str	w8, [x19, #8]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	ldr	x8, [x20]
	ldr	w8, [x8]
	stp	w8, w0, [x19]
	mov	x0, x20
	mov	x1, x19
	bl	_devm_iio_device_register
	cbnz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	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
	b	_adxrs450_initial_setup
LBB0_3:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_adxrs450_info,4,2              ; @adxrs450_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_adxrs450_channels,8,3          ; @adxrs450_channels
	.no_dead_strip	_adxrs450_probe
.subsections_via_symbols
