	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rm3100_buffer_preenable
_rm3100_buffer_preenable:               ## @rm3100_buffer_preenable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_iio_priv
	movl	(%rax), %edi
	movq	_RM3100_REG_CMM@GOTPCREL(%rip), %rax
	movq	(%rbx), %rcx
	movl	(%rcx), %edx
	andl	$7, %edx
	movq	_RM3100_CMM_AXIS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movl	(%rax), %esi
	movq	_RM3100_CMM_START@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_regmap_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RM3100_REG_CMM,4,2             ## @RM3100_REG_CMM
	.comm	_RM3100_CMM_AXIS_SHIFT,4,2      ## @RM3100_CMM_AXIS_SHIFT
	.comm	_RM3100_CMM_START,4,2           ## @RM3100_CMM_START
	.no_dead_strip	_rm3100_buffer_preenable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rm3100_buffer_preenable
_rm3100_buffer_preenable:               ; @rm3100_buffer_preenable
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_iio_priv
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _RM3100_REG_CMM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RM3100_REG_CMM@GOTPAGEOFF]
	ldr	x9, [x19]
	ldr	w9, [x9]
	and	w9, w9, #0x7
Lloh2:
	adrp	x10, _RM3100_CMM_AXIS_SHIFT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RM3100_CMM_AXIS_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh5:
	adrp	x10, _RM3100_CMM_START@GOTPAGE
Lloh6:
	ldr	x10, [x10, _RM3100_CMM_START@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	ldr	w8, [x10]
	orr	w2, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regmap_write
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RM3100_REG_CMM,4,2             ; @RM3100_REG_CMM
	.comm	_RM3100_CMM_AXIS_SHIFT,4,2      ; @RM3100_CMM_AXIS_SHIFT
	.comm	_RM3100_CMM_START,4,2           ; @RM3100_CMM_START
	.no_dead_strip	_rm3100_buffer_preenable
.subsections_via_symbols
