	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mma9551_probe
_mma9551_probe:                         ## @mma9551_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	%rsi, %rbx
	movq	%rdi, %r14
	movl	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, 8(%r15)
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.2:
	movq	(%rbx), %r13
	jmp	LBB0_7
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_4:
	movq	%r14, %rdi
	callq	_ACPI_HANDLE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_mma9551_match_acpi_device
	movq	%rax, %r13
	jmp	LBB0_7
LBB0_6:
	xorl	%r13d, %r13d
LBB0_7:
	movq	%r15, %rdi
	callq	_mma9551_init
	testl	%eax, %eax
	js	LBB0_12
## %bb.8:
	movq	%r15, %rdi
	callq	_mutex_init
	movq	%r14, 32(%r12)
	movq	_mma9551_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 24(%r12)
	callq	_ARRAY_SIZE
	movl	%eax, 20(%r12)
	movq	%r13, (%r12)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_mma9551_info@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r12)
	movq	%r12, %rdi
	callq	_mma9551_gpio_probe
	testl	%eax, %eax
	js	LBB0_14
## %bb.9:
	movq	%r14, %rdi
	callq	_pm_runtime_set_active
	testl	%eax, %eax
	js	LBB0_14
## %bb.10:
	movq	%r14, %rdi
	callq	_pm_runtime_enable
	movq	_MMA9551_AUTO_SUSPEND_DELAY_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pm_runtime_set_autosuspend_delay
	movq	%r14, %rdi
	callq	_pm_runtime_use_autosuspend
	movq	%r12, %rdi
	callq	_iio_device_register
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jns	LBB0_16
## %bb.11:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movl	%r15d, %ebx
	jmp	LBB0_15
LBB0_12:
	movl	%eax, %ebx
	jmp	LBB0_16
LBB0_14:
	movl	%eax, %ebx
LBB0_15:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mma9551_set_device_state
LBB0_16:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mma9551_channels,4,2           ## @mma9551_channels
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_mma9551_info,4,2               ## @mma9551_info
	.comm	_MMA9551_AUTO_SUSPEND_DELAY_MS,4,2 ## @MMA9551_AUTO_SUSPEND_DELAY_MS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to register iio device\n"

	.no_dead_strip	_mma9551_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mma9551_probe
_mma9551_probe:                         ; @mma9551_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	x21, x1
	mov	x19, x0
	mov	w1, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_iio_priv
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	str	x19, [x22, #8]
	cbz	x21, LBB0_4
; %bb.2:
	ldr	x23, [x21]
	b	LBB0_7
LBB0_3:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_16
LBB0_4:
	mov	x0, x19
	bl	_ACPI_HANDLE
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_mma9551_match_acpi_device
	mov	x23, x0
	b	LBB0_7
LBB0_6:
	mov	x23, #0
LBB0_7:
	mov	x0, x22
	bl	_mma9551_init
	tbnz	w0, #31, LBB0_12
; %bb.8:
	mov	x0, x22
	bl	_mutex_init
	str	x19, [x20, #32]
Lloh3:
	adrp	x8, _mma9551_channels@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mma9551_channels@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	str	w0, [x20, #24]
	bl	_ARRAY_SIZE
Lloh6:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #16]
Lloh9:
	adrp	x8, _mma9551_info@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mma9551_info@GOTPAGEOFF]
	stp	x23, x8, [x20]
	mov	x0, x20
	bl	_mma9551_gpio_probe
	tbnz	w0, #31, LBB0_13
; %bb.9:
	mov	x0, x19
	bl	_pm_runtime_set_active
	tbnz	w0, #31, LBB0_13
; %bb.10:
	mov	x0, x19
	bl	_pm_runtime_enable
Lloh11:
	adrp	x8, _MMA9551_AUTO_SUSPEND_DELAY_MS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MMA9551_AUTO_SUSPEND_DELAY_MS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	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_14
; %bb.11:
	mov	w21, #0
	b	LBB0_16
LBB0_12:
	mov	x21, x0
	b	LBB0_16
LBB0_13:
	mov	x21, x0
	b	LBB0_15
LBB0_14:
	mov	x21, x0
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_15:
	mov	x0, x19
	mov	w1, #0
	bl	_mma9551_set_device_state
LBB0_16:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mma9551_channels,4,2           ; @mma9551_channels
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_mma9551_info,4,2               ; @mma9551_info
	.comm	_MMA9551_AUTO_SUSPEND_DELAY_MS,4,2 ; @MMA9551_AUTO_SUSPEND_DELAY_MS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to register iio device\n"

	.no_dead_strip	_mma9551_probe
.subsections_via_symbols
