	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xadc_event_to_channel
_xadc_event_to_channel:                 ## @xadc_event_to_channel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_3
## %bb.1:
	leal	-130(%rax), %ecx
	cmpl	$1, %ecx
	ja	LBB0_4
## %bb.2:
	movq	(%rdi), %rax
	popq	%rbp
	retq
LBB0_3:
	movl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	decl	%eax
LBB0_5:
	shlq	$2, %rax
	addq	(%rdi), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xadc_event_to_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xadc_event_to_channel
_xadc_event_to_channel:                 ; @xadc_event_to_channel
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #2
	b.lo	LBB0_3
; %bb.1:
	sub	w8, w1, #130
	cmp	w8, #1
	b.hi	LBB0_4
; %bb.2:
	ldr	x0, [x0]
	ret
LBB0_3:
	ldr	x8, [x0]
	add	x0, x8, w1, uxtw #2
	ret
LBB0_4:
	ldr	x8, [x0]
	sub	w9, w1, #1
	add	x0, x8, w9, uxtw #2
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xadc_event_to_channel
.subsections_via_symbols
