	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_dfsdm_dma_request
_stm32_dfsdm_dma_request:               ## @stm32_dfsdm_dma_request
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_iio_priv
	movq	%rax, %rbx
	leaq	12(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dma_request_slave_channel
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_DFSDM_DMA_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	addq	$12, %rdx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_alloc_coherent
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	_INDIO_BUFFER_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
	movq	_stm32_dfsdm_buffer_setup_ops@GOTPCREL(%rip), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	(%rbx), %rdi
	callq	_dma_release_channel
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DFSDM_DMA_BUFFER_SIZE,4,2      ## @DFSDM_DMA_BUFFER_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INDIO_BUFFER_SOFTWARE,4,2      ## @INDIO_BUFFER_SOFTWARE
	.comm	_stm32_dfsdm_buffer_setup_ops,4,2 ## @stm32_dfsdm_buffer_setup_ops
	.no_dead_strip	_stm32_dfsdm_dma_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_dfsdm_dma_request
_stm32_dfsdm_dma_request:               ; @stm32_dfsdm_dma_request
	.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
	mov	x20, x0
	add	x0, x19, #12
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dma_request_slave_channel
	str	x0, [x20]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _DFSDM_DMA_BUFFER_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DFSDM_DMA_BUFFER_SIZE@GOTPAGEOFF]
	ldr	w0, [x8]
Lloh4:
	ldr	w1, [x9]
	add	x2, x20, #12
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	bl	_dma_alloc_coherent
	str	w0, [x20, #8]
	cbz	w0, LBB0_4
; %bb.2:
	mov	w0, #0
Lloh8:
	adrp	x8, _INDIO_BUFFER_SOFTWARE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INDIO_BUFFER_SOFTWARE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
Lloh11:
	adrp	x8, _stm32_dfsdm_buffer_setup_ops@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stm32_dfsdm_buffer_setup_ops@GOTPAGEOFF]
	str	x8, [x19]
	b	LBB0_6
LBB0_3:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	ldr	x0, [x20]
	bl	_dma_release_channel
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DFSDM_DMA_BUFFER_SIZE,4,2      ; @DFSDM_DMA_BUFFER_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INDIO_BUFFER_SOFTWARE,4,2      ; @INDIO_BUFFER_SOFTWARE
	.comm	_stm32_dfsdm_buffer_setup_ops,4,2 ; @stm32_dfsdm_buffer_setup_ops
	.no_dead_strip	_stm32_dfsdm_dma_request
.subsections_via_symbols
