	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iio_dma_buffer_enqueue
_iio_dma_buffer_enqueue:                ## @iio_dma_buffer_enqueue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rcx
	movq	_IIO_BLOCK_STATE_DEAD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_1
## %bb.3:
	movq	%rsi, %rdi
	popq	%rbp
	jmp	_iio_buffer_block_put           ## TAILCALL
LBB0_1:
	movq	%rdi, %rax
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.4:
	movq	%rax, %rdi
	popq	%rbp
	jmp	_iio_dma_buffer_submit_block    ## TAILCALL
LBB0_2:
	movq	_IIO_BLOCK_STATE_QUEUED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rsi)
	addq	$8, %rsi
	movq	%rsi, %rdi
	movq	%rax, %rsi
	popq	%rbp
	jmp	_list_add_tail                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IIO_BLOCK_STATE_DEAD,8,3       ## @IIO_BLOCK_STATE_DEAD
	.comm	_IIO_BLOCK_STATE_QUEUED,8,3     ## @IIO_BLOCK_STATE_QUEUED
	.no_dead_strip	_iio_dma_buffer_enqueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iio_dma_buffer_enqueue
_iio_dma_buffer_enqueue:                ; @iio_dma_buffer_enqueue
	.cfi_startproc
; %bb.0:
	ldr	x9, [x1]
Lloh0:
	adrp	x10, _IIO_BLOCK_STATE_DEAD@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IIO_BLOCK_STATE_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x1
	b	_iio_buffer_block_put
LBB0_2:
	mov	x8, x0
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_4
; %bb.3:
	mov	x0, x8
	b	_iio_dma_buffer_submit_block
LBB0_4:
Lloh3:
	adrp	x9, _IIO_BLOCK_STATE_QUEUED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IIO_BLOCK_STATE_QUEUED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	str	x9, [x1], #8
	mov	x0, x1
	mov	x1, x8
	b	_list_add_tail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IIO_BLOCK_STATE_DEAD,8,3       ; @IIO_BLOCK_STATE_DEAD
	.comm	_IIO_BLOCK_STATE_QUEUED,8,3     ; @IIO_BLOCK_STATE_QUEUED
	.no_dead_strip	_iio_dma_buffer_enqueue
.subsections_via_symbols
