	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad799x_read_event_config
_ad799x_read_event_config:              ## @ad799x_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
	movq	%rsi, %r14
	callq	_iio_priv
	movl	(%rax), %ebx
	movq	_AD7998_ALERT_EN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_AD799X_CHANNEL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movl	(%r14), %edi
	callq	_BIT
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ebx, %ecx
	setne	%al
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD7998_ALERT_EN,4,2            ## @AD7998_ALERT_EN
	.comm	_AD799X_CHANNEL_SHIFT,4,2       ## @AD799X_CHANNEL_SHIFT
	.no_dead_strip	_ad799x_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 ad799x_read_event_config
_ad799x_read_event_config:              ; @ad799x_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, x1
	bl	_iio_priv
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AD7998_ALERT_EN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AD7998_ALERT_EN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _AD799X_CHANNEL_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AD799X_CHANNEL_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w20, w8, w9
	ldr	w0, [x19]
	bl	_BIT
	tst	w0, w20
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AD7998_ALERT_EN,4,2            ; @AD7998_ALERT_EN
	.comm	_AD799X_CHANNEL_SHIFT,4,2       ; @AD799X_CHANNEL_SHIFT
	.no_dead_strip	_ad799x_read_event_config
.subsections_via_symbols
