	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lmp91000_probe
_lmp91000_probe:                        ## @lmp91000_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	$40, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_lmp91000_info@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_lmp91000_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 28(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 24(%rbx)
	movq	_LMP91000_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%r15, 16(%rbx)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	movq	%rbx, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	%r15, 24(%rax)
	movq	_lmp91000_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 32(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.22:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	32(%r14), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movq	24(%r14), %rdi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_devm_iio_trigger_alloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_lmp91000_trigger_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rax)
	movq	%r15, (%rax)
	movq	%r14, %rdi
	addq	$16, %rdi
	callq	_init_completion
	movq	%r14, %rdi
	callq	_lmp91000_read_config
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.6:
	movl	8(%r14), %edi
	callq	_iio_channel_cb_get_iio_dev
	movq	(%r14), %rsi
	movl	%eax, %edi
	callq	_iio_trigger_set_immutable
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	%eax, %r12d
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_21:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	(%r14), %rdi
	callq	_iio_trigger_register
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %r12d
	leaq	L_.str.4(%rip), %rsi
LBB0_8:
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_21
LBB0_11:
	movq	_lmp91000_buffer_handler@GOTPCREL(%rip), %rdx
	movq	_lmp91000_buffer_setup_ops@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_iio_triggered_buffer_setup
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.12:
	movq	_lmp91000_buffer_cb@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_iio_channel_get_all_cb
	movl	%eax, 8(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	8(%r14), %edi
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	callq	_PTR_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_15
## %bb.14:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_19
LBB0_16:
	callq	_iio_channel_cb_get_channels
	movl	%eax, 12(%r14)
	movq	%rbx, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:
	movl	%eax, %r12d
	movl	8(%r14), %edi
	callq	_iio_channel_release_all_cb
	jmp	LBB0_19
LBB0_15:
	movl	8(%r14), %edi
	callq	_PTR_ERR
	movl	%eax, %r12d
LBB0_19:
	movq	%rbx, %rdi
	callq	_iio_triggered_buffer_cleanup
LBB0_20:
	movq	(%r14), %rdi
	callq	_iio_trigger_unregister
	jmp	LBB0_21
LBB0_17:
	xorl	%r12d, %r12d
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_lmp91000_info,4,2              ## @lmp91000_info
	.comm	_lmp91000_channels,4,2          ## @lmp91000_channels
	.comm	_LMP91000_DRV_NAME,4,2          ## @LMP91000_DRV_NAME
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_lmp91000_regmap_config,4,2     ## @lmp91000_regmap_config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"regmap initialization failed.\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s-mux%d"

L_.str.2:                               ## @.str.2
	.asciz	"cannot allocate iio trigger.\n"

	.comm	_lmp91000_trigger_ops,4,2       ## @lmp91000_trigger_ops
L_.str.3:                               ## @.str.3
	.asciz	"cannot set immutable trigger.\n"

L_.str.4:                               ## @.str.4
	.asciz	"cannot register iio trigger.\n"

	.comm	_lmp91000_buffer_handler,4,2    ## @lmp91000_buffer_handler
	.comm	_lmp91000_buffer_setup_ops,4,2  ## @lmp91000_buffer_setup_ops
	.comm	_lmp91000_buffer_cb,4,2         ## @lmp91000_buffer_cb
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.no_dead_strip	_lmp91000_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lmp91000_probe
_lmp91000_probe:                        ; @lmp91000_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, #40
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _lmp91000_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lmp91000_info@GOTPAGEOFF]
	str	x8, [x0, #32]
Lloh2:
	adrp	x8, _lmp91000_channels@GOTPAGE
Lloh3:
	ldr	x8, [x8, _lmp91000_channels@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	str	w0, [x19, #28]
	bl	_ARRAY_SIZE
	str	w0, [x19, #24]
Lloh5:
	adrp	x8, _LMP91000_DRV_NAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LMP91000_DRV_NAME@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	x21, [x19, #16]
Lloh8:
	adrp	x9, _INDIO_DIRECT_MODE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #4]
	mov	x0, x21
	mov	x1, x19
	bl	_i2c_set_clientdata
	mov	x0, x19
	bl	_iio_priv
	mov	x20, x0
	str	x21, [x0, #24]
Lloh11:
	adrp	x1, _lmp91000_regmap_config@GOTPAGE
Lloh12:
	ldr	x1, [x1, _lmp91000_regmap_config@GOTPAGEOFF]
	mov	x0, x21
	bl	_devm_regmap_init_i2c
	str	w0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	w0, [x20, #32]
	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	_PTR_ERR
LBB0_3:
	ldr	x0, [x20, #24]
	ldp	w3, w2, [x19]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_devm_iio_trigger_alloc
	str	x0, [x20]
	cbz	x0, LBB0_7
; %bb.4:
Lloh17:
	adrp	x8, _lmp91000_trigger_ops@GOTPAGE
Lloh18:
	ldr	x8, [x8, _lmp91000_trigger_ops@GOTPAGEOFF]
	stp	x21, x8, [x0]
	add	x0, x20, #16
	bl	_init_completion
	mov	x0, x20
	bl	_lmp91000_read_config
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.5:
	ldr	w0, [x20, #8]
	bl	_iio_channel_cb_get_iio_dev
	ldr	x1, [x20]
	bl	_iio_trigger_set_immutable
	cbz	w0, LBB0_10
; %bb.6:
	mov	x22, x0
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_7:
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_err
LBB0_8:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_9:
	mov	x0, x22
	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_10:
	ldr	x0, [x20]
	bl	_iio_trigger_register
	cbz	w0, LBB0_13
; %bb.11:
	mov	x22, x0
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_12:
	mov	x0, x21
	bl	_dev_err
	b	LBB0_9
LBB0_13:
Lloh28:
	adrp	x2, _lmp91000_buffer_handler@GOTPAGE
Lloh29:
	ldr	x2, [x2, _lmp91000_buffer_handler@GOTPAGEOFF]
Lloh30:
	adrp	x3, _lmp91000_buffer_setup_ops@GOTPAGE
Lloh31:
	ldr	x3, [x3, _lmp91000_buffer_setup_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, #0
	bl	_iio_triggered_buffer_setup
	mov	x22, x0
	cbnz	w0, LBB0_21
; %bb.14:
Lloh32:
	adrp	x1, _lmp91000_buffer_cb@GOTPAGE
Lloh33:
	ldr	x1, [x1, _lmp91000_buffer_cb@GOTPAGEOFF]
	mov	x0, x21
	mov	x2, x19
	bl	_iio_channel_get_all_cb
	str	w0, [x20, #8]
	bl	_IS_ERR
	mov	x8, x0
	ldr	w0, [x20, #8]
	cbz	x8, LBB0_17
; %bb.15:
	bl	_PTR_ERR
Lloh34:
	adrp	x8, _ENODEV@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_19
; %bb.16:
Lloh37:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_20
LBB0_17:
	bl	_iio_channel_cb_get_channels
	str	w0, [x20, #12]
	mov	x0, x19
	bl	_iio_device_register
	mov	x22, x0
	cbz	w0, LBB0_9
; %bb.18:
	ldr	w0, [x20, #8]
	bl	_iio_channel_release_all_cb
	b	LBB0_20
LBB0_19:
	ldr	w0, [x20, #8]
	bl	_PTR_ERR
	mov	x22, x0
LBB0_20:
	mov	x0, x19
	bl	_iio_triggered_buffer_cleanup
LBB0_21:
	ldr	x0, [x20]
	bl	_iio_trigger_unregister
	b	LBB0_9
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_lmp91000_info,4,2              ; @lmp91000_info
	.comm	_lmp91000_channels,4,2          ; @lmp91000_channels
	.comm	_LMP91000_DRV_NAME,4,2          ; @LMP91000_DRV_NAME
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_lmp91000_regmap_config,4,2     ; @lmp91000_regmap_config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"regmap initialization failed.\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s-mux%d"

l_.str.2:                               ; @.str.2
	.asciz	"cannot allocate iio trigger.\n"

	.comm	_lmp91000_trigger_ops,4,2       ; @lmp91000_trigger_ops
l_.str.3:                               ; @.str.3
	.asciz	"cannot set immutable trigger.\n"

l_.str.4:                               ; @.str.4
	.asciz	"cannot register iio trigger.\n"

	.comm	_lmp91000_buffer_handler,4,2    ; @lmp91000_buffer_handler
	.comm	_lmp91000_buffer_setup_ops,4,2  ; @lmp91000_buffer_setup_ops
	.comm	_lmp91000_buffer_cb,4,2         ; @lmp91000_buffer_cb
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.no_dead_strip	_lmp91000_probe
.subsections_via_symbols
