	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tmp007_read_event_config
_tmp007_read_event_config:              ## @tmp007_read_event_config
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%ecx, %r14d
	movq	%rsi, %rbx
	callq	_iio_priv
	movl	(%rbx), %ecx
	cmpl	$128, %ecx
	je	LBB0_5
## %bb.1:
	cmpl	$129, %ecx
	jne	LBB0_10
## %bb.2:
	movq	_IIO_EV_DIR_RISING@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jne	LBB0_3
## %bb.4:
	movq	_TMP007_STATUS_LHF@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_5:
	movq	_IIO_EV_DIR_RISING@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jne	LBB0_6
## %bb.7:
	movq	_TMP007_STATUS_OHF@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_3:
	movq	_TMP007_STATUS_LLF@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_6:
	movq	_TMP007_STATUS_OLF@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, (%rcx)
	setne	%al
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IIO_EV_DIR_RISING,4,2          ## @IIO_EV_DIR_RISING
	.comm	_TMP007_STATUS_LHF,4,2          ## @TMP007_STATUS_LHF
	.comm	_TMP007_STATUS_LLF,4,2          ## @TMP007_STATUS_LLF
	.comm	_TMP007_STATUS_OHF,4,2          ## @TMP007_STATUS_OHF
	.comm	_TMP007_STATUS_OLF,4,2          ## @TMP007_STATUS_OLF
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_tmp007_read_event_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tmp007_read_event_config
_tmp007_read_event_config:              ; @tmp007_read_event_config
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x20, x1
	bl	_iio_priv
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _IIO_EV_DIR_RISING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IIO_EV_DIR_RISING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TMP007_STATUS_LLF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TMP007_STATUS_LLF@GOTPAGEOFF]
Lloh5:
	adrp	x10, _TMP007_STATUS_LHF@GOTPAGE
Lloh6:
	ldr	x10, [x10, _TMP007_STATUS_LHF@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x8, _IIO_EV_DIR_RISING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IIO_EV_DIR_RISING@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _TMP007_STATUS_OLF@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TMP007_STATUS_OLF@GOTPAGEOFF]
Lloh12:
	adrp	x10, _TMP007_STATUS_OHF@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TMP007_STATUS_OHF@GOTPAGEOFF]
LBB0_4:
	cmp	w8, w19
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	ldr	w9, [x0]
	tst	w9, w8
	cset	w0, ne
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IIO_EV_DIR_RISING,4,2          ; @IIO_EV_DIR_RISING
	.comm	_TMP007_STATUS_LHF,4,2          ; @TMP007_STATUS_LHF
	.comm	_TMP007_STATUS_LLF,4,2          ; @TMP007_STATUS_LLF
	.comm	_TMP007_STATUS_OHF,4,2          ; @TMP007_STATUS_OHF
	.comm	_TMP007_STATUS_OLF,4,2          ; @TMP007_STATUS_OLF
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_tmp007_read_event_config
.subsections_via_symbols
