	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mma7660_probe
_mma7660_probe:                         ## @mma7660_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	%rdi, %r15
	movl	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	%r15, 8(%rax)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	leaq	4(%r14), %rdi
	callq	_mutex_init
	movq	_MMA7660_MODE_STANDBY@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	%eax, (%r14)
	movq	%r15, 24(%rbx)
	movq	_mma7660_info@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	_MMA7660_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_mma7660_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 4(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, (%rbx)
	movq	_MMA7660_MODE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mma7660_set_mode
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_iio_device_register
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_mma7660_set_mode
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_6
LBB0_3:
	movl	%eax, %r12d
LBB0_6:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iio allocation failed!\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MMA7660_MODE_STANDBY,4,2       ## @MMA7660_MODE_STANDBY
	.comm	_mma7660_info,4,2               ## @mma7660_info
	.comm	_MMA7660_DRIVER_NAME,4,2        ## @MMA7660_DRIVER_NAME
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_mma7660_channels,4,2           ## @mma7660_channels
	.comm	_MMA7660_MODE_ACTIVE,4,2        ## @MMA7660_MODE_ACTIVE
L_.str.1:                               ## @.str.1
	.asciz	"device_register failed\n"

	.no_dead_strip	_mma7660_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mma7660_probe
_mma7660_probe:                         ; @mma7660_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	x19, x0
	mov	w1, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	bl	_iio_priv
	mov	x20, x0
	str	x19, [x0, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_i2c_set_clientdata
	add	x0, x20, #4
	bl	_mutex_init
Lloh0:
	adrp	x23, _MMA7660_MODE_STANDBY@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MMA7660_MODE_STANDBY@GOTPAGEOFF]
	ldr	w8, [x23]
	str	w8, [x20]
Lloh2:
	adrp	x8, _mma7660_info@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mma7660_info@GOTPAGEOFF]
	stp	x8, x19, [x21, #16]
Lloh4:
	adrp	x8, _MMA7660_DRIVER_NAME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MMA7660_DRIVER_NAME@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x21, #12]
Lloh7:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _mma7660_channels@GOTPAGE
Lloh11:
	ldr	x9, [x9, _mma7660_channels@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x9]
	stp	w0, w8, [x21, #4]
	bl	_ARRAY_SIZE
	str	w0, [x21]
Lloh13:
	adrp	x8, _MMA7660_MODE_ACTIVE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MMA7660_MODE_ACTIVE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mma7660_set_mode
	tbnz	w0, #31, LBB0_5
; %bb.2:
	mov	x0, x21
	bl	_iio_device_register
	mov	x22, x0
	tbz	w0, #31, LBB0_6
; %bb.3:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w1, [x23]
	mov	x0, x20
	bl	_mma7660_set_mode
	b	LBB0_6
LBB0_4:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_6
LBB0_5:
	mov	x22, x0
LBB0_6:
	mov	x0, x22
	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	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iio allocation failed!\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MMA7660_MODE_STANDBY,4,2       ; @MMA7660_MODE_STANDBY
	.comm	_mma7660_info,4,2               ; @mma7660_info
	.comm	_MMA7660_DRIVER_NAME,4,2        ; @MMA7660_DRIVER_NAME
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_mma7660_channels,4,2           ; @mma7660_channels
	.comm	_MMA7660_MODE_ACTIVE,4,2        ; @MMA7660_MODE_ACTIVE
l_.str.1:                               ; @.str.1
	.asciz	"device_register failed\n"

	.no_dead_strip	_mma7660_probe
.subsections_via_symbols
