	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ivtv_enqueue                   ## -- Begin function ivtv_enqueue
	.p2align	4, 0x90
_ivtv_enqueue:                          ## @ivtv_enqueue
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	16(%rdi), %rax
	cmpq	%rdx, %rax
	jne	LBB0_2
## %bb.1:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r15)
	movups	%xmm0, 24(%r15)
LBB0_2:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	leaq	16(%r15), %rdi
	leaq	12(%rbx), %rsi
	callq	_list_add_tail
	incl	8(%rbx)
	movl	8(%r14), %eax
	addl	%eax, 4(%rbx)
	movl	8(%r15), %eax
	subl	(%r15), %eax
	addl	%eax, (%rbx)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ivtv_enqueue                   ; -- Begin function ivtv_enqueue
	.p2align	2
_ivtv_enqueue:                          ; @ivtv_enqueue
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x8, x0, #16
	cmp	x8, x2
	b.ne	LBB0_2
; %bb.1:
	stp	xzr, xzr, [x21]
	stp	xzr, xzr, [x21, #24]
LBB0_2:
	mov	x0, x20
	bl	_spin_lock_irqsave
	add	x0, x21, #16
	add	x1, x19, #12
	bl	_list_add_tail
	add	x8, x20, #8
	ldur	d0, [x19, #4]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x8]
	add.2s	v0, v0, v1
	stur	d0, [x19, #4]
	ldr	w8, [x21, #8]
	ldr	w9, [x21]
	ldr	w10, [x19]
	sub	w8, w8, w9
	add	w8, w10, w8
	str	w8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
