	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_sensors_read_axis_data
_st_sensors_read_axis_data:             ## @st_sensors_read_axis_data
	.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	%rdx, %r14
	movq	%rsi, %rbx
	callq	_iio_priv
	movq	%rax, %r12
	movq	8(%rbx), %rdi
	addq	16(%rbx), %rdi
	movl	$8, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %r13d
	movq	_GFP_DMA@GOTPCREL(%rip), %rax
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	%r13d, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	(%r12), %edi
	movl	(%rbx), %esi
	movq	%rax, %rdx
	movl	%r13d, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_10
## %bb.3:
	cmpl	$3, %r13d
	je	LBB0_8
## %bb.4:
	cmpl	$2, %r13d
	je	LBB0_7
## %bb.5:
	cmpl	$1, %r13d
	jne	LBB0_10
## %bb.6:
	movq	(%r15), %rax
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_11
LBB0_8:
	movq	%r15, %rdi
	callq	_st_sensors_get_unaligned_le24
	jmp	LBB0_9
LBB0_7:
	movq	%r15, %rdi
	callq	_get_unaligned_le16
LBB0_9:
	movl	%eax, (%r14)
LBB0_10:
	movq	%r15, %rdi
	callq	_kfree
LBB0_11:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_DMA,4,2                    ## @GFP_DMA
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_st_sensors_read_axis_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_sensors_read_axis_data
_st_sensors_read_axis_data:             ; @st_sensors_read_axis_data
	.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, x2
	mov	x21, x1
	bl	_iio_priv
	mov	x23, x0
	ldp	x9, x8, [x21, #8]
	add	x0, x9, x8
	mov	w1, #8
	bl	_DIV_ROUND_UP
	mov	x22, x0
Lloh0:
	adrp	x8, _GFP_DMA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_DMA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_kmalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	w0, [x23]
	ldr	w1, [x21]
	mov	x2, x20
	mov	x3, x22
	bl	_regmap_bulk_read
	mov	x21, x0
	tbnz	w0, #31, LBB0_10
; %bb.2:
	cmp	w22, #3
	b.eq	LBB0_7
; %bb.3:
	cmp	w22, #2
	b.eq	LBB0_8
; %bb.4:
	cmp	w22, #1
	b.ne	LBB0_10
; %bb.5:
	ldr	x0, [x20]
	b	LBB0_9
LBB0_6:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_11
LBB0_7:
	mov	x0, x20
	bl	_st_sensors_get_unaligned_le24
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_get_unaligned_le16
LBB0_9:
	str	w0, [x19]
LBB0_10:
	mov	x0, x20
	bl	_kfree
LBB0_11:
	mov	x0, x21
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_DMA,4,2                    ; @GFP_DMA
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_st_sensors_read_axis_data
.subsections_via_symbols
