	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad799x_threshold_reg
_ad799x_threshold_reg:                  ## @ad799x_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
	cmpl	$129, %edx
	je	LBB0_4
## %bb.1:
	cmpl	$128, %edx
	jne	LBB0_5
## %bb.2:
	movq	_IIO_EV_DIR_FALLING@GOTPCREL(%rip), %rax
	movl	(%rdi), %edi
	cmpl	%esi, (%rax)
	jne	LBB0_3
## %bb.6:
	popq	%rbp
	jmp	_AD7998_DATALOW_REG             ## TAILCALL
LBB0_4:
	movl	(%rdi), %edi
	popq	%rbp
	jmp	_AD7998_HYST_REG                ## TAILCALL
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_3:
	popq	%rbp
	jmp	_AD7998_DATAHIGH_REG            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IIO_EV_DIR_FALLING,4,2         ## @IIO_EV_DIR_FALLING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ad799x_threshold_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad799x_threshold_reg
_ad799x_threshold_reg:                  ; @ad799x_threshold_reg
	.cfi_startproc
; %bb.0:
	cmp	w2, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w2, #128
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _IIO_EV_DIR_FALLING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IIO_EV_DIR_FALLING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w0, [x0]
	cmp	w8, w1
	b.ne	LBB0_6
; %bb.3:
	b	_AD7998_DATALOW_REG
LBB0_4:
	ldr	w0, [x0]
	b	_AD7998_HYST_REG
LBB0_5:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_6:
	b	_AD7998_DATAHIGH_REG
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IIO_EV_DIR_FALLING,4,2         ; @IIO_EV_DIR_FALLING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ad799x_threshold_reg
.subsections_via_symbols
