	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpl3115_trigger_handler
_mpl3115_trigger_handler:               ## @mpl3115_trigger_handler
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rsi), %r14
	movq	%r14, %rdi
	callq	_iio_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_mpl3115_request
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	-96(%rbp), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movl	4(%r14), %esi
	xorl	%edi, %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	4(%rbx), %edi
	movq	_MPL3115_OUT_PRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-96(%rbp), %rcx
	movl	$3, %edx
	callq	_i2c_smbus_read_i2c_block_data
	movl	$4, %r15d
	testl	%eax, %eax
	js	LBB0_1
LBB0_4:
	movl	4(%r14), %esi
	movl	$1, %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	4(%rbx), %edi
	movq	_MPL3115_OUT_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-96(,%r15,4), %rcx
	addq	%rbp, %rcx
	movl	$2, %edx
	callq	_i2c_smbus_read_i2c_block_data
	testl	%eax, %eax
	js	LBB0_1
LBB0_6:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%r14, %rdi
	callq	_iio_get_time_ns
	leaq	-96(%rbp), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_iio_push_to_buffers_with_timestamp
	jmp	LBB0_7
LBB0_1:
	movq	%rbx, %rdi
	callq	_mutex_unlock
LBB0_7:
	movl	(%r14), %edi
	callq	_iio_trigger_notify_done
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MPL3115_OUT_PRESS,4,2          ## @MPL3115_OUT_PRESS
	.comm	_MPL3115_OUT_TEMP,4,2           ## @MPL3115_OUT_TEMP
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_mpl3115_trigger_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpl3115_trigger_handler
_mpl3115_trigger_handler:               ; @mpl3115_trigger_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x19, [x1]
	mov	x0, x19
	bl	_iio_priv
	mov	x20, x0
	bl	_mutex_lock
	mov	x0, x20
	bl	_mpl3115_request
	tbnz	w0, #31, LBB0_8
; %bb.1:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	ldr	w1, [x19, #4]
	mov	w0, #0
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x20, #4]
Lloh3:
	adrp	x8, _MPL3115_OUT_PRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPL3115_OUT_PRESS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	w2, #3
	bl	_i2c_smbus_read_i2c_block_data
	tbnz	w0, #31, LBB0_8
; %bb.3:
	mov	w21, #4
	b	LBB0_5
LBB0_4:
	mov	x21, #0
LBB0_5:
	ldr	w1, [x19, #4]
	mov	w0, #1
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x20, #4]
Lloh6:
	adrp	x8, _MPL3115_OUT_TEMP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MPL3115_OUT_TEMP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x8, sp, #8
	add	x3, x8, x21, lsl #2
	mov	w2, #2
	bl	_i2c_smbus_read_i2c_block_data
	tbnz	w0, #31, LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	bl	_iio_get_time_ns
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_iio_push_to_buffers_with_timestamp
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_mutex_unlock
LBB0_9:
	ldr	w0, [x19]
	bl	_iio_trigger_notify_done
Lloh9:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MPL3115_OUT_PRESS,4,2          ; @MPL3115_OUT_PRESS
	.comm	_MPL3115_OUT_TEMP,4,2           ; @MPL3115_OUT_TEMP
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_mpl3115_trigger_handler
.subsections_via_symbols
