	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mma9553_probe
_mma9553_probe:                         ## @mma9553_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, %r12
	movq	%rdi, %r14
	leaq	8(%rdi), %r15
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, 8(%rbx)
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:
	movq	(%r12), %r12
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_17
LBB0_5:
	movq	%r15, %rdi
	callq	_ACPI_HANDLE
	testq	%rax, %rax
	je	LBB0_18
## %bb.6:
	movq	%r15, %rdi
	callq	_mma9553_match_acpi_device
	movq	%rax, %r12
LBB0_7:
	movq	%rbx, %rdi
	callq	_mutex_init
	movq	%rbx, %rdi
	callq	_mma9553_init_events
	movq	%rbx, %rdi
	callq	_mma9553_init
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movq	%r15, 8(%r13)
	movq	_mma9553_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 32(%r13)
	callq	_ARRAY_SIZE
	movl	%eax, 28(%r13)
	movq	%r12, (%r13)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
	movq	_mma9553_info@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r13)
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	jle	LBB0_12
## %bb.10:
	movq	_mma9553_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_mma9553_event_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_MMA9553_IRQ_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, (%rsp)
	movq	%r15, %rdi
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_11
LBB0_12:
	movq	%r15, %rdi
	callq	_pm_runtime_set_active
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:
	movq	%r15, %rdi
	callq	_pm_runtime_enable
	movq	_MMA9551_AUTO_SUSPEND_DELAY_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_pm_runtime_set_autosuspend_delay
	movq	%r15, %rdi
	callq	_pm_runtime_use_autosuspend
	movq	%r13, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	js	LBB0_15
## %bb.19:
	addq	$8, %r13
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_dev_dbg
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_8:
	movl	%eax, %ebx
	jmp	LBB0_17
LBB0_13:
	movl	%eax, %ebx
	jmp	LBB0_16
LBB0_18:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	movl	%eax, %ebx
	movq	(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_16
LBB0_15:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_16:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mma9551_set_device_state
LBB0_17:
	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	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_mma9553_channels,4,2           ## @mma9553_channels
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_mma9553_info,4,2               ## @mma9553_info
	.comm	_mma9553_irq_handler,4,2        ## @mma9553_irq_handler
	.comm	_mma9553_event_handler,4,2      ## @mma9553_event_handler
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
	.comm	_MMA9553_IRQ_NAME,4,2           ## @MMA9553_IRQ_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"request irq %d failed\n"

	.comm	_MMA9551_AUTO_SUSPEND_DELAY_MS,4,2 ## @MMA9551_AUTO_SUSPEND_DELAY_MS
L_.str.1:                               ## @.str.1
	.asciz	"unable to register iio device\n"

L_.str.2:                               ## @.str.2
	.asciz	"Registered device %s\n"

	.no_dead_strip	_mma9553_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mma9553_probe
_mma9553_probe:                         ; @mma9553_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x1
	mov	x19, x0
	add	x20, x0, #8
	mov	x0, x20
	mov	w1, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	bl	_iio_priv
	mov	x23, x0
	mov	x0, x19
	mov	x1, x21
	bl	_i2c_set_clientdata
	str	x19, [x23, #8]
	cbz	x22, LBB0_5
; %bb.2:
	ldr	x22, [x22]
	b	LBB0_7
LBB0_3:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_20
LBB0_5:
	mov	x0, x20
	bl	_ACPI_HANDLE
	cbz	x0, LBB0_15
; %bb.6:
	mov	x0, x20
	bl	_mma9553_match_acpi_device
	mov	x22, x0
LBB0_7:
	mov	x0, x23
	bl	_mutex_init
	mov	x0, x23
	bl	_mma9553_init_events
	mov	x0, x23
	bl	_mma9553_init
	tbnz	w0, #31, LBB0_13
; %bb.8:
	mov	x23, x21
	str	x20, [x23, #8]!
Lloh2:
	adrp	x8, _mma9553_channels@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mma9553_channels@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	str	w0, [x21, #32]
	bl	_ARRAY_SIZE
	str	x22, [x21]
Lloh5:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w8, w0, [x21, #24]
Lloh8:
	adrp	x8, _mma9553_info@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mma9553_info@GOTPAGEOFF]
	str	x8, [x21, #16]
	ldr	x1, [x19]
	cmp	x1, #1
	b.lt	LBB0_10
; %bb.9:
Lloh10:
	adrp	x8, _mma9553_irq_handler@GOTPAGE
Lloh11:
	ldr	x8, [x8, _mma9553_irq_handler@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x8, _mma9553_event_handler@GOTPAGE
Lloh14:
	ldr	x8, [x8, _mma9553_event_handler@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
Lloh16:
	adrp	x8, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
Lloh19:
	adrp	x8, _MMA9553_IRQ_NAME@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MMA9553_IRQ_NAME@GOTPAGEOFF]
Lloh21:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x6, x21
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_16
LBB0_10:
	mov	x0, x20
	bl	_pm_runtime_set_active
	tbnz	w0, #31, LBB0_14
; %bb.11:
	mov	x0, x20
	bl	_pm_runtime_enable
Lloh22:
	adrp	x8, _MMA9551_AUTO_SUSPEND_DELAY_MS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MMA9551_AUTO_SUSPEND_DELAY_MS@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pm_runtime_set_autosuspend_delay
	mov	x0, x20
	bl	_pm_runtime_use_autosuspend
	mov	x0, x21
	bl	_iio_device_register
	tbnz	w0, #31, LBB0_17
; %bb.12:
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	mov	x2, x22
	bl	_dev_dbg
	mov	w24, #0
	b	LBB0_20
LBB0_13:
	mov	x24, x0
	b	LBB0_20
LBB0_14:
	mov	x24, x0
	b	LBB0_19
LBB0_15:
Lloh27:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_4
LBB0_16:
	mov	x24, x0
	ldr	x8, [x19]
	str	x8, [sp]
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_18
LBB0_17:
	mov	x24, x0
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_18:
	mov	x0, x20
	bl	_dev_err
LBB0_19:
	mov	x0, x19
	mov	w1, #0
	bl	_mma9551_set_device_state
LBB0_20:
	mov	x0, x24
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_mma9553_channels,4,2           ; @mma9553_channels
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_mma9553_info,4,2               ; @mma9553_info
	.comm	_mma9553_irq_handler,4,2        ; @mma9553_irq_handler
	.comm	_mma9553_event_handler,4,2      ; @mma9553_event_handler
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
	.comm	_MMA9553_IRQ_NAME,4,2           ; @MMA9553_IRQ_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"request irq %d failed\n"

	.comm	_MMA9551_AUTO_SUSPEND_DELAY_MS,4,2 ; @MMA9551_AUTO_SUSPEND_DELAY_MS
l_.str.1:                               ; @.str.1
	.asciz	"unable to register iio device\n"

l_.str.2:                               ; @.str.2
	.asciz	"Registered device %s\n"

	.no_dead_strip	_mma9553_probe
.subsections_via_symbols
