	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mma8450_probe
_mma8450_probe:                         ## @mma8450_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_devm_input_allocate_polled_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	%r14, 8(%rbx)
	movq	%rax, (%rbx)
	movq	%rbx, 32(%rax)
	movq	_MMA8450_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r15), %rcx
	movl	%eax, 8(%rcx)
	movq	_BUS_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movq	_mma8450_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_POLL_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	_POLL_INTERVAL_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_mma8450_open@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movq	_mma8450_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_EV_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rcx), %esi
	callq	___set_bit
	movq	(%r15), %rdi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-2048, %edx                    ## imm = 0xF800
	movl	$2047, %ecx                     ## imm = 0x7FF
	movl	$32, %r8d
	movl	$32, %r9d
	callq	_input_set_abs_params
	movq	(%r15), %rdi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-2048, %edx                    ## imm = 0xF800
	movl	$2047, %ecx                     ## imm = 0x7FF
	movl	$32, %r8d
	movl	$32, %r9d
	callq	_input_set_abs_params
	movq	(%r15), %rdi
	movq	_ABS_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-2048, %edx                    ## imm = 0xF800
	movl	$2047, %ecx                     ## imm = 0x7FF
	movl	$32, %r8d
	movl	$32, %r9d
	callq	_input_set_abs_params
	movq	%r15, %rdi
	callq	_input_register_polled_device
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MMA8450_DRV_NAME,4,2           ## @MMA8450_DRV_NAME
	.comm	_BUS_I2C,4,2                    ## @BUS_I2C
	.comm	_mma8450_poll,4,2               ## @mma8450_poll
	.comm	_POLL_INTERVAL,4,2              ## @POLL_INTERVAL
	.comm	_POLL_INTERVAL_MAX,4,2          ## @POLL_INTERVAL_MAX
	.comm	_mma8450_open,4,2               ## @mma8450_open
	.comm	_mma8450_close,4,2              ## @mma8450_close
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_ABS_Z,4,2                      ## @ABS_Z
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to register polled input device\n"

	.no_dead_strip	_mma8450_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mma8450_probe
_mma8450_probe:                         ; @mma8450_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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	bl	_devm_input_allocate_polled_device
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
	stp	x0, x19, [x21]
	str	x21, [x0, #32]
Lloh3:
	adrp	x8, _MMA8450_DRV_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMA8450_DRV_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x0]
Lloh6:
	adrp	x10, _BUS_I2C@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BUS_I2C@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #4]
Lloh9:
	adrp	x8, _mma8450_poll@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mma8450_poll@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0, #24]
Lloh12:
	adrp	x8, _POLL_INTERVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _POLL_INTERVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x10, _POLL_INTERVAL_MAX@GOTPAGE
Lloh16:
	ldr	x10, [x10, _POLL_INTERVAL_MAX@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	stp	w10, w8, [x0, #16]
Lloh18:
	adrp	x8, _mma8450_open@GOTPAGE
Lloh19:
	ldr	x8, [x8, _mma8450_open@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x10, _mma8450_close@GOTPAGE
Lloh22:
	ldr	x10, [x10, _mma8450_close@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	stp	w10, w8, [x0, #8]
Lloh24:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w1, [x9]
	bl	___set_bit
	ldr	x0, [x20]
Lloh27:
	adrp	x8, _ABS_X@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	w2, #-2048
	mov	w3, #2047
	mov	w4, #32
	mov	w5, #32
	bl	_input_set_abs_params
	ldr	x0, [x20]
Lloh30:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	w2, #-2048
	mov	w3, #2047
	mov	w4, #32
	mov	w5, #32
	bl	_input_set_abs_params
	ldr	x0, [x20]
Lloh33:
	adrp	x8, _ABS_Z@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ABS_Z@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	w2, #-2048
	mov	w3, #2047
	mov	w4, #32
	mov	w5, #32
	bl	_input_set_abs_params
	mov	x0, x20
	bl	_input_register_polled_device
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.3:
Lloh36:
	adrp	x1, l_.str@PAGE
Lloh37:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_5
LBB0_4:
Lloh38:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_5:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MMA8450_DRV_NAME,4,2           ; @MMA8450_DRV_NAME
	.comm	_BUS_I2C,4,2                    ; @BUS_I2C
	.comm	_mma8450_poll,4,2               ; @mma8450_poll
	.comm	_POLL_INTERVAL,4,2              ; @POLL_INTERVAL
	.comm	_POLL_INTERVAL_MAX,4,2          ; @POLL_INTERVAL_MAX
	.comm	_mma8450_open,4,2               ; @mma8450_open
	.comm	_mma8450_close,4,2              ; @mma8450_close
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_ABS_Z,4,2                      ; @ABS_Z
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to register polled input device\n"

	.no_dead_strip	_mma8450_probe
.subsections_via_symbols
