	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tmp007_interrupt_handler
_tmp007_interrupt_handler:              ## @tmp007_interrupt_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
	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
	movl	(%rax), %edi
	movq	_TMP007_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_word_swapped
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	js	LBB0_10
## %bb.1:
	movl	%eax, %r12d
	movq	_TMP007_STATUS_OHF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_TMP007_STATUS_OLF@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	%eax, %edx
	orl	%ecx, %edx
	movq	_TMP007_STATUS_LHF@GOTPCREL(%rip), %rdi
	orl	(%rdi), %edx
	movq	_TMP007_STATUS_LLF@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	testl	%r12d, %edx
	je	LBB0_10
## %bb.2:
	testl	%r12d, %ecx
	je	LBB0_4
## %bb.3:
	movq	_IIO_TEMP@GOTPCREL(%rip), %rax
	movq	%rdi, %rbx
	movl	(%rax), %edi
	movq	_IIO_MOD_TEMP_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_THRESH@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
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_iio_get_time_ns
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_iio_push_event
	movq	%rbx, %rdi
	movl	(%r13), %eax
LBB0_4:
	testl	%r12d, %eax
	je	LBB0_6
## %bb.5:
	movq	_IIO_TEMP@GOTPCREL(%rip), %rax
	movq	%rdi, %rbx
	movl	(%rax), %edi
	movq	_IIO_MOD_TEMP_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_THRESH@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
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_iio_get_time_ns
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_iio_push_event
	movq	%rbx, %rdi
LBB0_6:
	testl	%r12d, (%rdi)
	je	LBB0_8
## %bb.7:
	movq	_IIO_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IIO_MOD_TEMP_AMBIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_THRESH@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
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_iio_get_time_ns
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_iio_push_event
LBB0_8:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rbx
	movq	_TMP007_STATUS_LLF@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_IIO_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IIO_MOD_TEMP_AMBIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IIO_EV_TYPE_THRESH@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
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_iio_get_time_ns
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_iio_push_event
LBB0_10:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TMP007_STATUS,4,2              ## @TMP007_STATUS
	.comm	_TMP007_STATUS_OHF,4,2          ## @TMP007_STATUS_OHF
	.comm	_TMP007_STATUS_OLF,4,2          ## @TMP007_STATUS_OLF
	.comm	_TMP007_STATUS_LHF,4,2          ## @TMP007_STATUS_LHF
	.comm	_TMP007_STATUS_LLF,4,2          ## @TMP007_STATUS_LLF
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IIO_TEMP,4,2                   ## @IIO_TEMP
	.comm	_IIO_MOD_TEMP_OBJECT,4,2        ## @IIO_MOD_TEMP_OBJECT
	.comm	_IIO_EV_TYPE_THRESH,4,2         ## @IIO_EV_TYPE_THRESH
	.comm	_IIO_EV_DIR_RISING,4,2          ## @IIO_EV_DIR_RISING
	.comm	_IIO_EV_DIR_FALLING,4,2         ## @IIO_EV_DIR_FALLING
	.comm	_IIO_MOD_TEMP_AMBIENT,4,2       ## @IIO_MOD_TEMP_AMBIENT
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_tmp007_interrupt_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tmp007_interrupt_handler
_tmp007_interrupt_handler:              ; @tmp007_interrupt_handler
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x0, x1
	bl	_iio_priv
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _TMP007_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TMP007_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_word_swapped
	tbnz	w0, #31, LBB0_11
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _TMP007_STATUS_OHF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TMP007_STATUS_OHF@GOTPAGEOFF]
Lloh5:
	adrp	x27, _TMP007_STATUS_OLF@GOTPAGE
Lloh6:
	ldr	x27, [x27, _TMP007_STATUS_OLF@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x8]
	ldr	w8, [x27]
	orr	w10, w8, w9
Lloh8:
	adrp	x25, _TMP007_STATUS_LHF@GOTPAGE
Lloh9:
	ldr	x25, [x25, _TMP007_STATUS_LHF@GOTPAGEOFF]
	ldr	w11, [x25]
	orr	w10, w10, w11
Lloh10:
	adrp	x22, _TMP007_STATUS_LLF@GOTPAGE
Lloh11:
	ldr	x22, [x22, _TMP007_STATUS_LLF@GOTPAGEOFF]
	ldr	w11, [x22]
	orr	w10, w10, w11
	tst	w10, w0
	b.eq	LBB0_11
; %bb.2:
Lloh12:
	adrp	x23, _IIO_TEMP@GOTPAGE
Lloh13:
	ldr	x23, [x23, _IIO_TEMP@GOTPAGEOFF]
Lloh14:
	adrp	x28, _IIO_MOD_TEMP_OBJECT@GOTPAGE
Lloh15:
	ldr	x28, [x28, _IIO_MOD_TEMP_OBJECT@GOTPAGEOFF]
Lloh16:
	adrp	x24, _IIO_EV_TYPE_THRESH@GOTPAGE
Lloh17:
	ldr	x24, [x24, _IIO_EV_TYPE_THRESH@GOTPAGEOFF]
Lloh18:
	adrp	x26, _IIO_EV_DIR_RISING@GOTPAGE
Lloh19:
	ldr	x26, [x26, _IIO_EV_DIR_RISING@GOTPAGEOFF]
	tst	w9, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x23]
	ldr	w2, [x28]
	ldr	w3, [x24]
	ldr	w4, [x26]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x21, x0
	mov	x0, x19
	bl	_iio_get_time_ns
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_iio_push_event
	ldr	w8, [x27]
LBB0_4:
Lloh20:
	adrp	x27, _IIO_EV_DIR_FALLING@GOTPAGE
Lloh21:
	ldr	x27, [x27, _IIO_EV_DIR_FALLING@GOTPAGEOFF]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	ldr	w0, [x23]
	ldr	w2, [x28]
	ldr	w3, [x24]
	ldr	w4, [x27]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x21, x0
	mov	x0, x19
	bl	_iio_get_time_ns
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_iio_push_event
LBB0_6:
	ldr	w8, [x25]
Lloh22:
	adrp	x25, _IIO_MOD_TEMP_AMBIENT@GOTPAGE
Lloh23:
	ldr	x25, [x25, _IIO_MOD_TEMP_AMBIENT@GOTPAGEOFF]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x23]
	ldr	w2, [x25]
	ldr	w3, [x24]
	ldr	w4, [x26]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x21, x0
	mov	x0, x19
	bl	_iio_get_time_ns
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_iio_push_event
LBB0_8:
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
	ldr	w0, [x23]
	ldr	w2, [x25]
	ldr	w3, [x24]
	ldr	w4, [x27]
	mov	w1, #0
	bl	_IIO_MOD_EVENT_CODE
	mov	x20, x0
	mov	x0, x19
	bl	_iio_get_time_ns
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_iio_push_event
LBB0_10:
Lloh24:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh26:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 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 AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_TMP007_STATUS,4,2              ; @TMP007_STATUS
	.comm	_TMP007_STATUS_OHF,4,2          ; @TMP007_STATUS_OHF
	.comm	_TMP007_STATUS_OLF,4,2          ; @TMP007_STATUS_OLF
	.comm	_TMP007_STATUS_LHF,4,2          ; @TMP007_STATUS_LHF
	.comm	_TMP007_STATUS_LLF,4,2          ; @TMP007_STATUS_LLF
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IIO_TEMP,4,2                   ; @IIO_TEMP
	.comm	_IIO_MOD_TEMP_OBJECT,4,2        ; @IIO_MOD_TEMP_OBJECT
	.comm	_IIO_EV_TYPE_THRESH,4,2         ; @IIO_EV_TYPE_THRESH
	.comm	_IIO_EV_DIR_RISING,4,2          ; @IIO_EV_DIR_RISING
	.comm	_IIO_EV_DIR_FALLING,4,2         ; @IIO_EV_DIR_FALLING
	.comm	_IIO_MOD_TEMP_AMBIENT,4,2       ; @IIO_MOD_TEMP_AMBIENT
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_tmp007_interrupt_handler
.subsections_via_symbols
