	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ms5611_write_raw
_ms5611_write_raw:                      ## @ms5611_write_raw
	.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
	movq	%r8, %rbx
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_iio_priv
	movq	%rax, %r14
	movq	_IIO_CHAN_INFO_OVERSAMPLING_RATIO@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	movq	_IIO_TEMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_ms5611_avail_temp_osr@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_IIO_PRESSURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.5:
	movq	_ms5611_avail_pressure_osr@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_ms5611_find_osr
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_iio_device_claim_direct_mode
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%r15), %rax
	xorl	%ecx, %ecx
	movq	_IIO_TEMP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%cl
	movq	%r12, 8(%r14,%rcx,8)
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%r13, %rdi
	callq	_iio_device_release_direct_mode
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IIO_CHAN_INFO_OVERSAMPLING_RATIO,8,3 ## @IIO_CHAN_INFO_OVERSAMPLING_RATIO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IIO_TEMP,8,3                   ## @IIO_TEMP
	.comm	_ms5611_avail_temp_osr,4,2      ## @ms5611_avail_temp_osr
	.comm	_IIO_PRESSURE,8,3               ## @IIO_PRESSURE
	.comm	_ms5611_avail_pressure_osr,4,2  ## @ms5611_avail_pressure_osr
	.no_dead_strip	_ms5611_write_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ms5611_write_raw
_ms5611_write_raw:                      ; @ms5611_write_raw
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_iio_priv
Lloh0:
	adrp	x8, _IIO_CHAN_INFO_OVERSAMPLING_RATIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IIO_CHAN_INFO_OVERSAMPLING_RATIO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	x8, [x21]
Lloh3:
	adrp	x24, _IIO_TEMP@GOTPAGE
Lloh4:
	ldr	x24, [x24, _IIO_TEMP@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _ms5611_avail_temp_osr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ms5611_avail_temp_osr@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh7:
	adrp	x9, _IIO_PRESSURE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IIO_PRESSURE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
Lloh10:
	adrp	x8, _ms5611_avail_pressure_osr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ms5611_avail_pressure_osr@GOTPAGEOFF]
LBB0_5:
	ldr	w23, [x8]
	mov	x0, x23
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_ms5611_find_osr
	cbz	x0, LBB0_8
; %bb.6:
	mov	x22, x0
	mov	x0, x19
	bl	_iio_device_claim_direct_mode
	cbnz	w0, LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x21]
	ldr	x9, [x24]
	mov	w10, #8
	mov	w11, #16
	cmp	x8, x9
	csel	x8, x11, x10, eq
	str	x22, [x20, x8]
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	bl	_iio_device_release_direct_mode
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IIO_CHAN_INFO_OVERSAMPLING_RATIO,8,3 ; @IIO_CHAN_INFO_OVERSAMPLING_RATIO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IIO_TEMP,8,3                   ; @IIO_TEMP
	.comm	_ms5611_avail_temp_osr,4,2      ; @ms5611_avail_temp_osr
	.comm	_IIO_PRESSURE,8,3               ; @IIO_PRESSURE
	.comm	_ms5611_avail_pressure_osr,4,2  ; @ms5611_avail_pressure_osr
	.no_dead_strip	_ms5611_write_raw
.subsections_via_symbols
