	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lv0104cs_probe
_lv0104cs_probe:                        ## @lv0104cs_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$32, %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, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, 8(%rbx)
	leaq	24(%rbx), %rdi
	callq	_mutex_init
	movq	_LV0104CS_CALIBSCALE_UNITY@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	_LV0104CS_SCALE_1X@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rbx)
	movq	_LV0104CS_INTEG_200MS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movq	8(%rbx), %rdi
	movq	_lv0104cs_calibscales@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %esi
	callq	_lv0104cs_write_reg
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	%r14, 24(%r15)
	movq	_lv0104cs_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 16(%r15)
	callq	_ARRAY_SIZE
	movl	%eax, 12(%r15)
	movl	4(%r14), %eax
	movl	%eax, 8(%r15)
	movq	_lv0104cs_info@GOTPCREL(%rip), %rax
	movq	%rax, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_iio_device_register       ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_LV0104CS_CALIBSCALE_UNITY,8,3  ## @LV0104CS_CALIBSCALE_UNITY
	.comm	_LV0104CS_SCALE_1X,4,2          ## @LV0104CS_SCALE_1X
	.comm	_LV0104CS_INTEG_200MS,4,2       ## @LV0104CS_INTEG_200MS
	.comm	_lv0104cs_calibscales,8,3       ## @lv0104cs_calibscales
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_lv0104cs_channels,4,2          ## @lv0104cs_channels
	.comm	_lv0104cs_info,4,2              ## @lv0104cs_info
	.no_dead_strip	_lv0104cs_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lv0104cs_probe
_lv0104cs_probe:                        ; @lv0104cs_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	x19, x0
	mov	w1, #32
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_iio_priv
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_i2c_set_clientdata
	str	x19, [x21, #8]
	add	x0, x21, #24
	bl	_mutex_init
Lloh0:
	adrp	x8, _LV0104CS_CALIBSCALE_UNITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LV0104CS_CALIBSCALE_UNITY@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x21]
Lloh2:
	adrp	x9, _LV0104CS_SCALE_1X@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LV0104CS_SCALE_1X@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _LV0104CS_INTEG_200MS@GOTPAGE
Lloh6:
	ldr	x10, [x10, _LV0104CS_INTEG_200MS@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	stp	w10, w9, [x21, #16]
	ldr	x0, [x21, #8]
Lloh8:
	adrp	x9, _lv0104cs_calibscales@GOTPAGE
Lloh9:
	ldr	x9, [x9, _lv0104cs_calibscales@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	bl	_lv0104cs_write_reg
	cbnz	w0, LBB0_4
; %bb.2:
Lloh11:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	str	x19, [x20, #24]
Lloh14:
	adrp	x8, _lv0104cs_channels@GOTPAGE
Lloh15:
	ldr	x8, [x8, _lv0104cs_channels@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	str	w0, [x20, #16]
	bl	_ARRAY_SIZE
	ldr	w8, [x19, #4]
	stp	w8, w0, [x20, #8]
Lloh17:
	adrp	x8, _lv0104cs_info@GOTPAGE
Lloh18:
	ldr	x8, [x8, _lv0104cs_info@GOTPAGEOFF]
	str	x8, [x20]
	mov	x0, x19
	mov	x1, x20
	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	_devm_iio_device_register
LBB0_3:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_LV0104CS_CALIBSCALE_UNITY,8,3  ; @LV0104CS_CALIBSCALE_UNITY
	.comm	_LV0104CS_SCALE_1X,4,2          ; @LV0104CS_SCALE_1X
	.comm	_LV0104CS_INTEG_200MS,4,2       ; @LV0104CS_INTEG_200MS
	.comm	_lv0104cs_calibscales,8,3       ; @lv0104cs_calibscales
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_lv0104cs_channels,4,2          ; @lv0104cs_channels
	.comm	_lv0104cs_info,4,2              ; @lv0104cs_info
	.no_dead_strip	_lv0104cs_probe
.subsections_via_symbols
