	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mma8452_interrupt
_mma8452_interrupt:                     ## @mma8452_interrupt
	.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, %r14
	movq	%rsi, %rdi
	callq	_iio_priv
	movq	%rax, %r12
	movq	_IRQ_NONE@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movl	8(%rax), %edi
	movq	_MMA8452_INT_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_11
## %bb.1:
	movl	%eax, %r15d
	movq	(%r12), %rcx
	movq	_MMA8452_INT_DRDY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rcx), %ecx
	orl	%eax, %ecx
	testl	%r15d, %ecx
	je	LBB0_11
## %bb.2:
	testl	%r15d, %eax
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	callq	_iio_trigger_poll_chained
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movq	_MMA8452_INT_FF_MT@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.5:
	movq	%r12, %rdi
	callq	_mma8452_freefall_mode_enabled
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_iio_get_time_ns
	movl	%eax, %ebx
	movq	_IIO_ACCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IIO_MOD_X_AND_Y_AND_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_MAG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IIO_EV_DIR_FALLING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_IIO_MOD_EVENT_CODE
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_iio_push_event
LBB0_7:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_8:
	movq	_MMA8452_INT_TRANS@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_12
## %bb.9:
	movq	%r14, %rdi
	callq	_mma8452_transient_interrupt
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_12
LBB0_11:
	movl	(%r13), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_MMA8452_INT_SRC,4,2            ## @MMA8452_INT_SRC
	.comm	_MMA8452_INT_DRDY,4,2           ## @MMA8452_INT_DRDY
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_MMA8452_INT_FF_MT,4,2          ## @MMA8452_INT_FF_MT
	.comm	_IIO_ACCEL,4,2                  ## @IIO_ACCEL
	.comm	_IIO_MOD_X_AND_Y_AND_Z,4,2      ## @IIO_MOD_X_AND_Y_AND_Z
	.comm	_IIO_EV_TYPE_MAG,4,2            ## @IIO_EV_TYPE_MAG
	.comm	_IIO_EV_DIR_FALLING,4,2         ## @IIO_EV_DIR_FALLING
	.comm	_MMA8452_INT_TRANS,4,2          ## @MMA8452_INT_TRANS
	.no_dead_strip	_mma8452_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mma8452_interrupt
_mma8452_interrupt:                     ; @mma8452_interrupt
	.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, x1
	mov	x0, x1
	bl	_iio_priv
	mov	x22, x0
Lloh0:
	adrp	x23, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IRQ_NONE@GOTPAGEOFF]
	ldr	w21, [x23]
	ldr	w0, [x0, #8]
Lloh2:
	adrp	x8, _MMA8452_INT_SRC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MMA8452_INT_SRC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_10
; %bb.1:
	mov	x20, x0
	ldr	x8, [x22]
	ldr	w9, [x8]
Lloh5:
	adrp	x8, _MMA8452_INT_DRDY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MMA8452_INT_DRDY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w9, w8, w9
	tst	w9, w0
	b.eq	LBB0_10
; %bb.2:
Lloh8:
	adrp	x23, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x23, [x23, _IRQ_HANDLED@GOTPAGEOFF]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x19]
	bl	_iio_trigger_poll_chained
	ldr	w21, [x23]
LBB0_4:
Lloh10:
	adrp	x8, _MMA8452_INT_FF_MT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MMA8452_INT_FF_MT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.5:
	mov	x0, x22
	bl	_mma8452_freefall_mode_enabled
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_iio_get_time_ns
	mov	x21, x0
Lloh13:
	adrp	x8, _IIO_ACCEL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IIO_ACCEL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _IIO_MOD_X_AND_Y_AND_Z@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IIO_MOD_X_AND_Y_AND_Z@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _IIO_EV_TYPE_MAG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IIO_EV_TYPE_MAG@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
Lloh22:
	adrp	x8, _IIO_EV_DIR_FALLING@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IIO_EV_DIR_FALLING@GOTPAGEOFF]
Lloh24:
	ldr	w4, [x8]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_iio_push_event
LBB0_7:
	ldr	w21, [x23]
LBB0_8:
Lloh25:
	adrp	x8, _MMA8452_INT_TRANS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MMA8452_INT_TRANS@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.9:
	mov	x0, x19
	bl	_mma8452_transient_interrupt
LBB0_10:
	ldr	w21, [x23]
LBB0_11:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_MMA8452_INT_SRC,4,2            ; @MMA8452_INT_SRC
	.comm	_MMA8452_INT_DRDY,4,2           ; @MMA8452_INT_DRDY
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_MMA8452_INT_FF_MT,4,2          ; @MMA8452_INT_FF_MT
	.comm	_IIO_ACCEL,4,2                  ; @IIO_ACCEL
	.comm	_IIO_MOD_X_AND_Y_AND_Z,4,2      ; @IIO_MOD_X_AND_Y_AND_Z
	.comm	_IIO_EV_TYPE_MAG,4,2            ; @IIO_EV_TYPE_MAG
	.comm	_IIO_EV_DIR_FALLING,4,2         ; @IIO_EV_DIR_FALLING
	.comm	_MMA8452_INT_TRANS,4,2          ; @MMA8452_INT_TRANS
	.no_dead_strip	_mma8452_interrupt
.subsections_via_symbols
