	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad7291_threshold_reg
_ad7291_threshold_reg:                  ## @ad7291_threshold_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$129, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.3:
	addq	$4, %rdi
	jmp	LBB0_4
LBB0_1:
	movq	_AD7291_VOLTAGE_OFFSET@GOTPCREL(%rip), %rdi
LBB0_4:
	movl	(%rdi), %edi
	cmpl	$131, %edx
	je	LBB0_8
## %bb.5:
	cmpl	$130, %edx
	jne	LBB0_9
## %bb.6:
	movq	_IIO_EV_DIR_FALLING@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_7
## %bb.10:
	popq	%rbp
	jmp	_AD7291_DATA_HIGH               ## TAILCALL
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_8:
	popq	%rbp
	jmp	_AD7291_HYST                    ## TAILCALL
LBB0_7:
	popq	%rbp
	jmp	_AD7291_DATA_LOW                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AD7291_VOLTAGE_OFFSET,4,2      ## @AD7291_VOLTAGE_OFFSET
	.comm	_IIO_EV_DIR_FALLING,4,2         ## @IIO_EV_DIR_FALLING
	.no_dead_strip	_ad7291_threshold_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad7291_threshold_reg
_ad7291_threshold_reg:                  ; @ad7291_threshold_reg
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.2:
	add	x8, x0, #4
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _AD7291_VOLTAGE_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AD7291_VOLTAGE_OFFSET@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	cmp	w2, #131
	b.eq	LBB0_9
; %bb.5:
	cmp	w2, #130
	b.ne	LBB0_8
; %bb.6:
Lloh2:
	adrp	x8, _IIO_EV_DIR_FALLING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IIO_EV_DIR_FALLING@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_10
; %bb.7:
	b	_AD7291_DATA_HIGH
LBB0_8:
	mov	w0, #0
	ret
LBB0_9:
	b	_AD7291_HYST
LBB0_10:
	b	_AD7291_DATA_LOW
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AD7291_VOLTAGE_OFFSET,4,2      ; @AD7291_VOLTAGE_OFFSET
	.comm	_IIO_EV_DIR_FALLING,4,2         ; @IIO_EV_DIR_FALLING
	.no_dead_strip	_ad7291_threshold_reg
.subsections_via_symbols
