	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fxas21002c_core_probe          ## -- Begin function fxas21002c_core_probe
	.p2align	4, 0x90
_fxas21002c_core_probe:                 ## @fxas21002c_core_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	$24, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r13
	movq	%r12, %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_dev_set_drvdata
	movl	%r15d, (%r13)
	movq	%r14, 16(%r13)
	movq	_F_MAX_FIELDS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.3:
	movq	_fxas21002c_reg_fields@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_devm_regmap_field_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	%rbx, -8(%rax,%r14,8)
	movslq	(%r15), %rax
	cmpq	%rax, %r14
	jge	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r13), %rsi
	movq	_fxas21002c_reg_fields@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %edx
	movq	%r12, %rdi
	callq	_devm_regmap_field_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	incq	%r14
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_17
LBB0_8:
	movq	%r13, %rdi
	addq	$4, %rdi
	callq	_mutex_init
	movq	%r13, %rdi
	callq	_fxas21002c_regulators_get
	testl	%eax, %eax
	js	LBB0_17
## %bb.9:
	movq	%r13, %rdi
	callq	_fxas21002c_power_enable
	testl	%eax, %eax
	js	LBB0_17
## %bb.10:
	movq	_fxas21002c_power_disable_action@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_devm_add_action_or_reset
	testl	%eax, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	js	LBB0_17
## %bb.11:
	movq	%r13, %rdi
	callq	_fxas21002c_chip_init
	testl	%eax, %eax
	js	LBB0_17
## %bb.12:
	movq	%r12, 32(%rbx)
	movq	_fxas21002c_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 24(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 20(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_fxas21002c_info@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	%r13, %rdi
	callq	_fxas21002c_trigger_probe
	testl	%eax, %eax
	js	LBB0_17
## %bb.13:
	movq	_fxas21002c_trigger_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_devm_iio_triggered_buffer_setup
	testl	%eax, %eax
	js	LBB0_17
## %bb.14:
	movq	%r12, %rdi
	callq	_pm_runtime_set_active
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	movq	%r12, %rdi
	callq	_pm_runtime_enable
	movq	%r12, %rdi
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_pm_runtime_set_autosuspend_delay
	movq	%r12, %rdi
	callq	_pm_runtime_use_autosuspend
	movq	%rbx, %rdi
	callq	_iio_device_register
	movl	%eax, %ebx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jns	LBB0_17
## %bb.16:
	movq	%r12, %rdi
	callq	_pm_runtime_disable
	movq	%r12, %rdi
	callq	_pm_runtime_set_suspended
	movq	%r12, %rdi
	callq	_pm_runtime_put_noidle
	movl	%ebx, %eax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_F_MAX_FIELDS,4,2               ## @F_MAX_FIELDS
	.comm	_fxas21002c_reg_fields,8,3      ## @fxas21002c_reg_fields
	.comm	_fxas21002c_power_disable_action,4,2 ## @fxas21002c_power_disable_action
	.comm	_fxas21002c_channels,4,2        ## @fxas21002c_channels
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_fxas21002c_info,4,2            ## @fxas21002c_info
	.comm	_fxas21002c_trigger_handler,4,2 ## @fxas21002c_trigger_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fxas21002c_core_probe          ; -- Begin function fxas21002c_core_probe
	.p2align	2
_fxas21002c_core_probe:                 ; @fxas21002c_core_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x24, x2
	mov	x23, x1
	mov	x19, x0
	mov	w1, #24
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	bl	_iio_priv
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	str	w24, [x22]
	str	x23, [x22, #16]
Lloh0:
	adrp	x24, _F_MAX_FIELDS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _F_MAX_FIELDS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
Lloh2:
	adrp	x25, _fxas21002c_reg_fields@GOTPAGE
Lloh3:
	ldr	x25, [x25, _fxas21002c_reg_fields@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_devm_regmap_field_alloc
	mov	x23, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.3:
	mov	x8, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #8]
	str	x23, [x9, x8, lsl #3]
	add	x26, x8, #1
	ldrsw	x9, [x24]
	cmp	x26, x9
	b.ge	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x22, #16]
	ldr	x9, [x25]
	add	x8, x9, x8, lsl #2
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_devm_regmap_field_alloc
	mov	x23, x0
	bl	_IS_ERR
	mov	x8, x26
	cbz	x0, LBB0_4
LBB0_6:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_7:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_18
LBB0_8:
	add	x0, x22, #4
	bl	_mutex_init
	mov	x0, x22
	bl	_fxas21002c_regulators_get
	tbnz	w0, #31, LBB0_17
; %bb.9:
	mov	x0, x22
	bl	_fxas21002c_power_enable
	tbnz	w0, #31, LBB0_17
; %bb.10:
Lloh7:
	adrp	x8, _fxas21002c_power_disable_action@GOTPAGE
Lloh8:
	ldr	x8, [x8, _fxas21002c_power_disable_action@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_devm_add_action_or_reset
	tbnz	w0, #31, LBB0_17
; %bb.11:
	mov	x0, x22
	bl	_fxas21002c_chip_init
	tbnz	w0, #31, LBB0_17
; %bb.12:
	str	x19, [x20, #32]
Lloh10:
	adrp	x8, _fxas21002c_channels@GOTPAGE
Lloh11:
	ldr	x8, [x8, _fxas21002c_channels@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	str	w0, [x20, #24]
	bl	_ARRAY_SIZE
Lloh13:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #16]
Lloh16:
	adrp	x8, _fxas21002c_info@GOTPAGE
Lloh17:
	ldr	x8, [x8, _fxas21002c_info@GOTPAGEOFF]
	stp	x21, x8, [x20]
	mov	x0, x22
	bl	_fxas21002c_trigger_probe
	tbnz	w0, #31, LBB0_17
; %bb.13:
Lloh18:
	adrp	x8, _fxas21002c_trigger_handler@GOTPAGE
Lloh19:
	ldr	x8, [x8, _fxas21002c_trigger_handler@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	x4, #0
	bl	_devm_iio_triggered_buffer_setup
	tbnz	w0, #31, LBB0_17
; %bb.14:
	mov	x0, x19
	bl	_pm_runtime_set_active
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.15:
	mov	x0, x19
	bl	_pm_runtime_enable
	mov	x0, x19
	mov	w1, #2000
	bl	_pm_runtime_set_autosuspend_delay
	mov	x0, x19
	bl	_pm_runtime_use_autosuspend
	mov	x0, x20
	bl	_iio_device_register
	tbnz	w0, #31, LBB0_19
; %bb.16:
	mov	w23, #0
	b	LBB0_18
LBB0_17:
	mov	x23, x0
LBB0_18:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_19:
	mov	x23, x0
	mov	x0, x19
	bl	_pm_runtime_disable
	mov	x0, x19
	bl	_pm_runtime_set_suspended
	mov	x0, x19
	bl	_pm_runtime_put_noidle
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_F_MAX_FIELDS,4,2               ; @F_MAX_FIELDS
	.comm	_fxas21002c_reg_fields,8,3      ; @fxas21002c_reg_fields
	.comm	_fxas21002c_power_disable_action,4,2 ; @fxas21002c_power_disable_action
	.comm	_fxas21002c_channels,4,2        ; @fxas21002c_channels
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_fxas21002c_info,4,2            ; @fxas21002c_info
	.comm	_fxas21002c_trigger_handler,4,2 ; @fxas21002c_trigger_handler
.subsections_via_symbols
