	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_queue_iova                     ## -- Begin function queue_iova
	.p2align	4, 0x90
_queue_iova:                            ## @queue_iova
	.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	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	12(%rdi), %edi
	callq	_raw_cpu_ptr
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_spin_lock_irqsave
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_fq_ring_free
	movq	%rbx, %rdi
	callq	_fq_full
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_iova_domain_flush
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_fq_ring_free
LBB0_2:
	movq	%rbx, %rdi
	callq	_fq_ring_add
	movq	8(%rbx), %rcx
	movl	%eax, %r15d
	shlq	$5, %r15
	movq	%r13, (%rcx,%r15)
	movq	%r12, 8(%rcx,%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%rcx,%r15)
	leaq	8(%r14), %rdi
	callq	_atomic64_read
	movq	8(%rbx), %rcx
	movl	%eax, 24(%rcx,%r15)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	leaq	4(%r14), %rbx
	movq	%rbx, %rdi
	callq	_atomic_read
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_atomic_cmpxchg
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_IOVA_FQ_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IOVA_FQ_TIMEOUT,4,2            ## @IOVA_FQ_TIMEOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_queue_iova                     ; -- Begin function queue_iova
	.p2align	2
_queue_iova:                            ; @queue_iova
	.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	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldr	w0, [x0, #12]
	bl	_raw_cpu_ptr
	mov	x20, x0
	bl	_spin_lock_irqsave
	mov	x0, x19
	mov	x1, x20
	bl	_fq_ring_free
	mov	x0, x20
	bl	_fq_full
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_iova_domain_flush
	mov	x0, x19
	mov	x1, x20
	bl	_fq_ring_free
LBB0_2:
	mov	x0, x20
	bl	_fq_ring_add
	ldr	x8, [x20, #8]
	mov	w9, w0
	lsl	x24, x9, #5
	add	x8, x8, x24
	stp	x23, x22, [x8]
	str	x21, [x8, #16]
	add	x0, x19, #8
	bl	_atomic64_read
	ldr	x8, [x20, #8]
	add	x8, x8, x24
	str	w0, [x8, #24]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	add	x20, x19, #4
	mov	x0, x20
	bl	_atomic_read
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #1
	bl	_atomic_cmpxchg
	cbz	w0, LBB0_5
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
LBB0_5:
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _IOVA_FQ_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IOVA_FQ_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x20
	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	_mod_timer
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IOVA_FQ_TIMEOUT,4,2            ; @IOVA_FQ_TIMEOUT
.subsections_via_symbols
