	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_com_sq_update_llq_tail
_ena_com_sq_update_llq_tail:            ## @ena_com_sq_update_llq_tail
	.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
	xorl	%r14d, %r14d
	cmpl	$0, 8(%rdi)
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movl	24(%rdi), %esi
	callq	_ena_com_write_bounce_buffer_to_dev
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	leaq	32(%rbx), %rdi
	callq	_ena_com_get_next_bounce_buffer
	movl	%eax, 24(%rbx)
	movl	40(%rbx), %edx
	xorl	%r14d, %r14d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_memset
	movq	$0, 16(%rbx)
	movq	48(%rbx), %rax
	movq	_ENA_ADMIN_SINGLE_DESC_PER_ENTRY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.3:
	movl	40(%rbx), %eax
	cltd
	idivl	(%rbx)
LBB0_4:
	movl	%eax, 8(%rbx)
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENA_ADMIN_SINGLE_DESC_PER_ENTRY,8,3 ## @ENA_ADMIN_SINGLE_DESC_PER_ENTRY
	.no_dead_strip	_ena_com_sq_update_llq_tail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_com_sq_update_llq_tail
_ena_com_sq_update_llq_tail:            ; @ena_com_sq_update_llq_tail
	.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
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_7
LBB0_2:
	mov	x19, x0
	ldr	w1, [x0, #24]
	bl	_ena_com_write_bounce_buffer_to_dev
	mov	x20, x0
	bl	_unlikely
	cbnz	x0, LBB0_7
; %bb.3:
	add	x0, x19, #32
	bl	_ena_com_get_next_bounce_buffer
	str	w0, [x19, #24]
	ldr	w2, [x19, #40]
	mov	w1, #0
	bl	_memset
	str	xzr, [x19, #16]
	ldr	x8, [x19, #48]
Lloh0:
	adrp	x9, _ENA_ADMIN_SINGLE_DESC_PER_ENTRY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ENA_ADMIN_SINGLE_DESC_PER_ENTRY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
	mov	w8, #1
	b	LBB0_6
LBB0_5:
	ldr	w8, [x19, #40]
	ldr	w9, [x19]
	sdiv	w8, w8, w9
LBB0_6:
	mov	w20, #0
	str	w8, [x19, #8]
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_ADMIN_SINGLE_DESC_PER_ENTRY,8,3 ; @ENA_ADMIN_SINGLE_DESC_PER_ENTRY
	.no_dead_strip	_ena_com_sq_update_llq_tail
.subsections_via_symbols
