	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adis16400_set_filter
_adis16400_set_filter:                  ## @adis16400_set_filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r12d
	callq	_iio_priv
	movq	%rax, %r14
	movq	_adis16400_3db_divisors@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %ebx
	testl	%eax, %eax
	movl	$1, %ecx
	cmovlel	%eax, %ecx
	decl	%ecx
	movl	%eax, %esi
	decl	%esi
	shlq	$2, %rsi
	addq	(%r13), %rsi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$2, %ebx
	jl	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r12d, %eax
	cltd
	idivl	(%rsi)
	decl	%ebx
	addq	$-4, %rsi
	cmpl	%r15d, %eax
	jl	LBB0_1
	jmp	LBB0_4
LBB0_2:
	movl	%ecx, %ebx
LBB0_4:
	movq	_ADIS16400_SENS_AVG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_adis_read_reg_16
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movl	(%r15), %esi
	movl	-44(%rbp), %edx
	andl	$-8, %edx
	orl	%ebx, %edx
	movq	%r14, %rdi
	callq	_adis_write_reg_16
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_adis16400_3db_divisors,8,3     ## @adis16400_3db_divisors
	.comm	_ADIS16400_SENS_AVG,4,2         ## @ADIS16400_SENS_AVG
	.no_dead_strip	_adis16400_set_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adis16400_set_filter
_adis16400_set_filter:                  ; @adis16400_set_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x22, x1
	bl	_iio_priv
	mov	x19, x0
Lloh0:
	adrp	x23, _adis16400_3db_divisors@GOTPAGE
Lloh1:
	ldr	x23, [x23, _adis16400_3db_divisors@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	mov	x20, x0
	ldr	x9, [x23]
	subs	w10, w0, #1
	csinc	w8, w0, wzr, lt
	sub	w8, w8, #1
	add	x9, x9, w10, uxtw #2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w20, #2
	b.lt	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w10, [x9], #-4
	sdiv	w10, w22, w10
	sub	w20, w20, #1
	cmp	w10, w21
	b.lt	LBB0_1
	b	LBB0_4
LBB0_3:
	mov	x20, x8
LBB0_4:
Lloh2:
	adrp	x21, _ADIS16400_SENS_AVG@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ADIS16400_SENS_AVG@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	x0, x19
	bl	_adis_read_reg_16
	tbnz	w0, #31, LBB0_6
; %bb.5:
	ldr	w1, [x21]
	ldr	w8, [sp, #12]
	and	w8, w8, #0xfffffff8
	orr	w2, w8, w20
	mov	x0, x19
	bl	_adis_write_reg_16
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_adis16400_3db_divisors,8,3     ; @adis16400_3db_divisors
	.comm	_ADIS16400_SENS_AVG,4,2         ; @ADIS16400_SENS_AVG
	.no_dead_strip	_adis16400_set_filter
.subsections_via_symbols
