	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_adc_adjust_val_osr
_at91_adc_adjust_val_osr:               ## @at91_adc_adjust_val_osr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_AT91_OSR_1SAMPLES@GOTPCREL(%rip), %rdx
	movl	$2, %ecx
	cmpq	(%rdx), %rax
	je	LBB0_2
## %bb.1:
	movq	_AT91_OSR_4SAMPLES@GOTPCREL(%rip), %rdx
	movl	$1, %ecx
	cmpq	(%rdx), %rax
	jne	LBB0_3
LBB0_2:
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, (%rsi)
LBB0_3:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_OSR_1SAMPLES,8,3          ## @AT91_OSR_1SAMPLES
	.comm	_AT91_OSR_4SAMPLES,8,3          ## @AT91_OSR_4SAMPLES
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.no_dead_strip	_at91_adc_adjust_val_osr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_adc_adjust_val_osr
_at91_adc_adjust_val_osr:               ; @at91_adc_adjust_val_osr
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AT91_OSR_1SAMPLES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AT91_OSR_1SAMPLES@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #2
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x9, _AT91_OSR_4SAMPLES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AT91_OSR_4SAMPLES@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	w8, #1
LBB0_4:
	ldr	w9, [x1]
	lsl	w8, w9, w8
	str	w8, [x1]
LBB0_5:
Lloh6:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91_OSR_1SAMPLES,8,3          ; @AT91_OSR_1SAMPLES
	.comm	_AT91_OSR_4SAMPLES,8,3          ; @AT91_OSR_4SAMPLES
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.no_dead_strip	_at91_adc_adjust_val_osr
.subsections_via_symbols
