	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adxl372_configure_fifo
_adxl372_configure_fifo:                ## @adxl372_configure_fifo
	.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	%rdi, %r13
	movq	_ADXL372_STANDBY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_adxl372_set_op_mode
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movl	4(%r13), %ebx
	movl	16(%r13), %edi
	imull	(%r13), %ebx
	callq	_ADXL372_FIFO_CTL_FORMAT_MODE
	movl	%eax, %r15d
	movl	12(%r13), %edi
	callq	_ADXL372_FIFO_CTL_MODE_MODE
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_ADXL372_FIFO_CTL_SAMPLES_MODE
	movl	%eax, %r12d
	movl	8(%r13), %edi
	movq	_ADXL372_FIFO_SAMPLES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edx
	callq	_regmap_write
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	orl	%r15d, %r14d
	orl	%r12d, %r14d
	movl	8(%r13), %edi
	movq	_ADXL372_FIFO_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_regmap_write
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_ADXL372_FULL_BW_MEASUREMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_adxl372_set_op_mode            ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADXL372_STANDBY,4,2            ## @ADXL372_STANDBY
	.comm	_ADXL372_FIFO_SAMPLES,4,2       ## @ADXL372_FIFO_SAMPLES
	.comm	_ADXL372_FIFO_CTL,4,2           ## @ADXL372_FIFO_CTL
	.comm	_ADXL372_FULL_BW_MEASUREMENT,4,2 ## @ADXL372_FULL_BW_MEASUREMENT
	.no_dead_strip	_adxl372_configure_fifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adxl372_configure_fifo
_adxl372_configure_fifo:                ; @adxl372_configure_fifo
	.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	x19, x0
Lloh0:
	adrp	x8, _ADXL372_STANDBY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADXL372_STANDBY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_adxl372_set_op_mode
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldp	w8, w9, [x19]
	mul	w23, w9, w8
	ldr	w0, [x19, #16]
	bl	_ADXL372_FIFO_CTL_FORMAT_MODE
	mov	x20, x0
	ldr	w0, [x19, #12]
	bl	_ADXL372_FIFO_CTL_MODE_MODE
	mov	x21, x0
	mov	x0, x23
	bl	_ADXL372_FIFO_CTL_SAMPLES_MODE
	mov	x22, x0
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x8, _ADXL372_FIFO_SAMPLES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADXL372_FIFO_SAMPLES@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	and	w2, w23, #0xff
	bl	_regmap_write
	tbnz	w0, #31, LBB0_4
; %bb.2:
	orr	w8, w21, w20
	orr	w2, w8, w22
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x8, _ADXL372_FIFO_CTL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ADXL372_FIFO_CTL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_regmap_write
	tbnz	w0, #31, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _ADXL372_FULL_BW_MEASUREMENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADXL372_FULL_BW_MEASUREMENT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_adxl372_set_op_mode
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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ADXL372_STANDBY,4,2            ; @ADXL372_STANDBY
	.comm	_ADXL372_FIFO_SAMPLES,4,2       ; @ADXL372_FIFO_SAMPLES
	.comm	_ADXL372_FIFO_CTL,4,2           ; @ADXL372_FIFO_CTL
	.comm	_ADXL372_FULL_BW_MEASUREMENT,4,2 ; @ADXL372_FULL_BW_MEASUREMENT
	.no_dead_strip	_adxl372_configure_fifo
.subsections_via_symbols
