	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _hid_sensor_set_report_latency
__hid_sensor_set_report_latency:        ## @_hid_sensor_set_report_latency
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	callq	_dev_to_iio_dev
	movq	%rax, %rdi
	callq	_iio_device_get_drvdata
	movq	%rax, %r15
	leaq	-32(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$100000, %esi                   ## imm = 0x186A0
	callq	_iio_str_to_fixpoint
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	imull	$1000, -32(%rbp), %eax          ## imm = 0x3E8
	movslq	-28(%rbp), %rcx
	imulq	$274877907, %rcx, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rcx
	shrq	$63, %rcx
	sarq	$38, %rsi
	addl	%ecx, %esi
	addl	%eax, %esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_hid_sensor_set_report_latency
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_hid_sensor_get_report_latency
	movl	%eax, (%r15)
LBB0_3:
	movl	%r14d, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__hid_sensor_set_report_latency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _hid_sensor_set_report_latency
__hid_sensor_set_report_latency:        ; @_hid_sensor_set_report_latency
	.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	x19, x3
	mov	x21, x2
	bl	_dev_to_iio_dev
	bl	_iio_device_get_drvdata
	mov	x20, x0
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x21
	mov	w1, #34464
	movk	w1, #1, lsl #16
	bl	_iio_str_to_fixpoint
	cbnz	w0, LBB0_4
; %bb.1:
	ldp	w10, w8, [sp, #8]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	mov	w9, #1000
	mov	w11, #19923
	movk	w11, #4194, lsl #16
	mul	x10, x10, x11
	lsr	x11, x10, #63
	asr	x10, x10, #38
	add	w10, w10, w11
	madd	w1, w8, w9, w10
	mov	x0, x20
	bl	_hid_sensor_set_report_latency
	tbnz	w0, #31, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_hid_sensor_get_report_latency
	str	w0, [x20]
LBB0_3:
	mov	x0, x19
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__hid_sensor_set_report_latency
.subsections_via_symbols
