	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pms7003_trigger_handler
_pms7003_trigger_handler:               ## @pms7003_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	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	(%rsi), %r14
	movq	%r14, %rdi
	callq	_iio_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_mutex_lock
	movq	_CMD_READ_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pms7003_do_cmd
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	jmp	LBB0_3
LBB0_2:
	movq	_PMS7003_PM1_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	4(%rbx), %edi
	callq	_pms7003_get_pm
	movq	_PM1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, -64(%rbp,%rcx,4)
	movq	_PMS7003_PM2P5_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	4(%rbx), %edi
	callq	_pms7003_get_pm
	movq	_PM2P5@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, -64(%rbp,%rcx,4)
	movq	_PMS7003_PM10_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	4(%rbx), %edi
	callq	_pms7003_get_pm
	movq	_PM10@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, -64(%rbp,%rcx,4)
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%r14, %rdi
	callq	_iio_get_time_ns
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_iio_push_to_buffers_with_timestamp
LBB0_3:
	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	-24(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_READ_PASSIVE,4,2           ## @CMD_READ_PASSIVE
	.comm	_PMS7003_PM1_OFFSET,4,2         ## @PMS7003_PM1_OFFSET
	.comm	_PM1,8,3                        ## @PM1
	.comm	_PMS7003_PM2P5_OFFSET,4,2       ## @PMS7003_PM2P5_OFFSET
	.comm	_PM2P5,8,3                      ## @PM2P5
	.comm	_PMS7003_PM10_OFFSET,4,2        ## @PMS7003_PM10_OFFSET
	.comm	_PM10,8,3                       ## @PM10
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_pms7003_trigger_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pms7003_trigger_handler
_pms7003_trigger_handler:               ; @pms7003_trigger_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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]
	str	x8, [sp, #40]
	ldr	x19, [x1]
	mov	x0, x19
	bl	_iio_priv
	mov	x20, x0
	bl	_mutex_lock
Lloh3:
	adrp	x8, _CMD_READ_PASSIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_READ_PASSIVE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pms7003_do_cmd
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_mutex_unlock
	b	LBB0_3
LBB0_2:
	ldr	w8, [x20, #4]
Lloh6:
	adrp	x9, _PMS7003_PM1_OFFSET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PMS7003_PM1_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	add	w0, w9, w8
	bl	_pms7003_get_pm
Lloh9:
	adrp	x8, _PM1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PM1@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	add	x21, sp, #8
	str	w0, [x21, x8, lsl #2]
	ldr	w8, [x20, #4]
Lloh12:
	adrp	x9, _PMS7003_PM2P5_OFFSET@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PMS7003_PM2P5_OFFSET@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	add	w0, w9, w8
	bl	_pms7003_get_pm
Lloh15:
	adrp	x8, _PM2P5@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PM2P5@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	w0, [x21, x8, lsl #2]
	ldr	w8, [x20, #4]
Lloh18:
	adrp	x9, _PMS7003_PM10_OFFSET@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PMS7003_PM10_OFFSET@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	add	w0, w9, w8
	bl	_pms7003_get_pm
Lloh21:
	adrp	x8, _PM10@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PM10@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	w0, [x21, x8, lsl #2]
	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
LBB0_3:
	ldr	w0, [x19]
	bl	_iio_trigger_notify_done
Lloh24:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	x8, [sp, #40]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_READ_PASSIVE,4,2           ; @CMD_READ_PASSIVE
	.comm	_PMS7003_PM1_OFFSET,4,2         ; @PMS7003_PM1_OFFSET
	.comm	_PM1,8,3                        ; @PM1
	.comm	_PMS7003_PM2P5_OFFSET,4,2       ; @PMS7003_PM2P5_OFFSET
	.comm	_PM2P5,8,3                      ; @PM2P5
	.comm	_PMS7003_PM10_OFFSET,4,2        ; @PMS7003_PM10_OFFSET
	.comm	_PM10,8,3                       ; @PM10
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_pms7003_trigger_handler
.subsections_via_symbols
