	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_sensors_set_odr             ## -- Begin function st_sensors_set_odr
	.p2align	4, 0x90
_st_sensors_set_odr:                    ## @st_sensors_set_odr
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	callq	_iio_priv
	movq	8(%rax), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	-48(%rbp), %rdx
	movl	%ebx, %esi
	callq	_st_sensors_match_odr
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	movq	8(%r15), %rax
	movq	(%rax), %rsi
	movq	8(%rax), %rdx
	cmpq	16(%rax), %rsi
	jne	LBB0_6
## %bb.4:
	cmpq	24(%rax), %rdx
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	cmpl	$1, (%r15)
	jne	LBB0_7
LBB0_6:
	movl	-44(%rbp), %ecx
	movq	%r14, %rdi
	callq	_st_sensors_write_data_with_mask
	testl	%eax, %eax
	js	LBB0_8
LBB0_7:
	movl	-48(%rbp), %ecx
	movl	%ecx, 4(%r15)
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_sensors_set_odr             ; -- Begin function st_sensors_set_odr
	.p2align	2
_st_sensors_set_odr:                    ; @st_sensors_set_odr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x20, x0
	stp	xzr, xzr, [sp]
	bl	_iio_priv
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x2, sp
	mov	x1, x21
	bl	_st_sensors_match_odr
	tbnz	w0, #31, LBB0_8
; %bb.2:
	ldr	x8, [x19, #8]
	ldp	x2, x9, [x8, #8]
	ldr	x1, [x8]
	cmp	x1, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x8, #24]
	cmp	x2, x8
	b.ne	LBB0_5
; %bb.4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_9
LBB0_5:
	ldr	w3, [sp, #4]
	mov	x0, x20
	bl	_st_sensors_write_data_with_mask
	tbnz	w0, #31, LBB0_8
LBB0_6:
	ldr	w8, [sp]
	str	w8, [x19, #4]
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	mov	w0, #0
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
