	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mma8452_transient_interrupt
_mma8452_transient_interrupt:           ## @mma8452_transient_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_iio_priv
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_iio_get_time_ns
	movl	%eax, %r14d
	movl	(%rbx), %edi
	movq	_MMA8452_TRANSIENT_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_6
## %bb.1:
	movl	%eax, %ebx
	movq	_MMA8452_TRANSIENT_SRC_XTRANSE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_IIO_ACCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IIO_MOD_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_MAG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IIO_EV_DIR_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_IIO_MOD_EVENT_CODE
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_iio_push_event
LBB0_3:
	movq	_MMA8452_TRANSIENT_SRC_YTRANSE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_IIO_ACCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IIO_MOD_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_MAG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IIO_EV_DIR_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_IIO_MOD_EVENT_CODE
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_iio_push_event
LBB0_5:
	movq	_MMA8452_TRANSIENT_SRC_ZTRANSE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.7:
	movq	_IIO_ACCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IIO_MOD_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_MAG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IIO_EV_DIR_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_IIO_MOD_EVENT_CODE
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iio_push_event                 ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMA8452_TRANSIENT_SRC,4,2      ## @MMA8452_TRANSIENT_SRC
	.comm	_MMA8452_TRANSIENT_SRC_XTRANSE,4,2 ## @MMA8452_TRANSIENT_SRC_XTRANSE
	.comm	_IIO_ACCEL,4,2                  ## @IIO_ACCEL
	.comm	_IIO_MOD_X,4,2                  ## @IIO_MOD_X
	.comm	_IIO_EV_TYPE_MAG,4,2            ## @IIO_EV_TYPE_MAG
	.comm	_IIO_EV_DIR_RISING,4,2          ## @IIO_EV_DIR_RISING
	.comm	_MMA8452_TRANSIENT_SRC_YTRANSE,4,2 ## @MMA8452_TRANSIENT_SRC_YTRANSE
	.comm	_IIO_MOD_Y,4,2                  ## @IIO_MOD_Y
	.comm	_MMA8452_TRANSIENT_SRC_ZTRANSE,4,2 ## @MMA8452_TRANSIENT_SRC_ZTRANSE
	.comm	_IIO_MOD_Z,4,2                  ## @IIO_MOD_Z
	.no_dead_strip	_mma8452_transient_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mma8452_transient_interrupt
_mma8452_transient_interrupt:           ; @mma8452_transient_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, x0
	bl	_iio_priv
	mov	x21, x0
	mov	x0, x19
	bl	_iio_get_time_ns
	mov	x20, x0
	ldr	w0, [x21]
Lloh0:
	adrp	x8, _MMA8452_TRANSIENT_SRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMA8452_TRANSIENT_SRC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_7
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x8, _MMA8452_TRANSIENT_SRC_XTRANSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMA8452_TRANSIENT_SRC_XTRANSE@GOTPAGEOFF]
Lloh5:
	adrp	x24, _IIO_ACCEL@GOTPAGE
Lloh6:
	ldr	x24, [x24, _IIO_ACCEL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x22, _IIO_EV_TYPE_MAG@GOTPAGE
Lloh9:
	ldr	x22, [x22, _IIO_EV_TYPE_MAG@GOTPAGEOFF]
Lloh10:
	adrp	x23, _IIO_EV_DIR_RISING@GOTPAGE
Lloh11:
	ldr	x23, [x23, _IIO_EV_DIR_RISING@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x24]
Lloh12:
	adrp	x8, _IIO_MOD_X@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IIO_MOD_X@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	ldr	w3, [x22]
	ldr	w4, [x23]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_iio_push_event
LBB0_3:
Lloh15:
	adrp	x8, _MMA8452_TRANSIENT_SRC_YTRANSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MMA8452_TRANSIENT_SRC_YTRANSE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x24]
Lloh18:
	adrp	x8, _IIO_MOD_Y@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IIO_MOD_Y@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	ldr	w3, [x22]
	ldr	w4, [x23]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_iio_push_event
LBB0_5:
Lloh21:
	adrp	x8, _MMA8452_TRANSIENT_SRC_ZTRANSE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MMA8452_TRANSIENT_SRC_ZTRANSE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.6:
	ldr	w0, [x24]
Lloh24:
	adrp	x8, _IIO_MOD_Z@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IIO_MOD_Z@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	ldr	w3, [x22]
	ldr	w4, [x23]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	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
	b	_iio_push_event
LBB0_7:
	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	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_MMA8452_TRANSIENT_SRC,4,2      ; @MMA8452_TRANSIENT_SRC
	.comm	_MMA8452_TRANSIENT_SRC_XTRANSE,4,2 ; @MMA8452_TRANSIENT_SRC_XTRANSE
	.comm	_IIO_ACCEL,4,2                  ; @IIO_ACCEL
	.comm	_IIO_MOD_X,4,2                  ; @IIO_MOD_X
	.comm	_IIO_EV_TYPE_MAG,4,2            ; @IIO_EV_TYPE_MAG
	.comm	_IIO_EV_DIR_RISING,4,2          ; @IIO_EV_DIR_RISING
	.comm	_MMA8452_TRANSIENT_SRC_YTRANSE,4,2 ; @MMA8452_TRANSIENT_SRC_YTRANSE
	.comm	_IIO_MOD_Y,4,2                  ; @IIO_MOD_Y
	.comm	_MMA8452_TRANSIENT_SRC_ZTRANSE,4,2 ; @MMA8452_TRANSIENT_SRC_ZTRANSE
	.comm	_IIO_MOD_Z,4,2                  ; @IIO_MOD_Z
	.no_dead_strip	_mma8452_transient_interrupt
.subsections_via_symbols
