	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdc100x_trigger_handler
_hdc100x_trigger_handler:               ## @hdc100x_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rsi), %r14
	movq	%r14, %rdi
	callq	_iio_priv
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	16(%rbx), %r15
	movl	(%rax), %r12d
	movl	4(%rax), %r13d
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_HDC100X_REG_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_write_byte
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	leal	(%r12,%r13), %edi
	leal	(%r12,%r13), %esi
	addl	$1000, %esi                     ## imm = 0x3E8
	callq	_usleep_range
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_i2c_master_recv
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	callq	_iio_get_time_ns
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_iio_push_to_buffers_with_timestamp
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%r15, %rdi
	callq	_dev_err
LBB0_6:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	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	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HDC100X_REG_TEMP,4,2           ## @HDC100X_REG_TEMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot start measurement\n"

L_.str.1:                               ## @.str.1
	.asciz	"cannot read sensor data\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_hdc100x_trigger_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdc100x_trigger_handler
_hdc100x_trigger_handler:               ; @hdc100x_trigger_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
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
	ldr	x21, [x0, #16]
	ldr	x8, [x0]
	ldp	w22, w23, [x8]
	add	x20, x0, #8
	mov	x0, x20
	bl	_mutex_lock
Lloh3:
	adrp	x8, _HDC100X_REG_TEMP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDC100X_REG_TEMP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_write_byte
	tbnz	w0, #31, LBB0_3
; %bb.1:
	add	w0, w23, w22
	add	w1, w0, #1000
	bl	_usleep_range
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #4
	bl	_i2c_master_recv
	tbnz	w0, #31, LBB0_4
; %bb.2:
	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_6
LBB0_3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x21
	bl	_dev_err
LBB0_6:
	mov	x0, x20
	bl	_mutex_unlock
	ldr	w0, [x19]
	bl	_iio_trigger_notify_done
Lloh10:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x8, [sp, #40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_HDC100X_REG_TEMP,4,2           ; @HDC100X_REG_TEMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot start measurement\n"

l_.str.1:                               ; @.str.1
	.asciz	"cannot read sensor data\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_hdc100x_trigger_handler
.subsections_via_symbols
