	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_init_tx_ring
_ql_init_tx_ring:                       ## @ql_init_tx_ring
	.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, %rdi
	movl	(%rsi), %esi
	testl	%esi, %esi
	jle	LBB0_7
## %bb.1:
	movq	8(%rdi), %rax
	movq	16(%rdi), %r9
	leal	-1(%rsi), %ecx
	xorl	%edx, %edx
	cmpl	$3, %ecx
	jb	LBB0_4
## %bb.2:
	movl	%esi, %r8d
	andl	$-4, %r8d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, (%rax)
	movq	$0, 16(%rax)
	movq	%r9, 8(%rax)
	leal	1(%rdx), %ecx
	movl	%ecx, 24(%rax)
	movq	$0, 40(%rax)
	leaq	4(%r9), %rcx
	movq	%rcx, 32(%rax)
	leal	2(%rdx), %ecx
	movl	%ecx, 48(%rax)
	movq	$0, 64(%rax)
	leaq	8(%r9), %rcx
	movq	%rcx, 56(%rax)
	leal	3(%rdx), %ecx
	movl	%ecx, 72(%rax)
	movq	$0, 88(%rax)
	leaq	12(%r9), %rcx
	movq	%rcx, 80(%rax)
	addq	$16, %r9
	addq	$96, %rax
	addl	$4, %edx
	cmpl	%r8d, %edx
	jne	LBB0_3
LBB0_4:
	testb	$3, %sil
	je	LBB0_7
## %bb.5:
	movl	%esi, %ecx
	andl	$3, %ecx
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %r8
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, (%rax,%rcx)
	movq	$0, 16(%rax,%rcx)
	movq	%r9, 8(%rax,%rcx)
	addq	$4, %r9
	incl	%edx
	addq	$24, %rcx
	cmpl	%ecx, %r8d
	jne	LBB0_6
LBB0_7:
	addq	$4, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	popq	%rbp
	jmp	_atomic_set                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ql_init_tx_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_init_tx_ring
_ql_init_tx_ring:                       ; @ql_init_tx_ring
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	ldr	w1, [x1]
	subs	w9, w1, #1
	b.lt	LBB0_7
; %bb.1:
	ldp	x12, x13, [x8, #8]
	cmp	w9, #3
	b.hs	LBB0_3
; %bb.2:
	mov	w9, #0
	mov	x10, x13
	mov	x11, x12
	b	LBB0_6
LBB0_3:
	mov	x14, #0
	add	x15, x9, #1
	and	x9, x15, #0x1fffffffc
	add	x10, x13, x9, lsl #2
	mov	w11, #24
	madd	x11, x9, x11, x12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x16, x13, #4
	str	w14, [x12]
	add	x17, x13, #8
	add	w0, w14, #1
	str	w0, [x12, #24]
	add	x0, x13, #12
	add	w2, w14, #2
	str	w2, [x12, #48]
	add	w2, w14, #3
	str	w2, [x12, #72]
	stp	x13, xzr, [x12, #8]
	stp	x16, xzr, [x12, #32]
	stp	x17, xzr, [x12, #56]
	add	x14, x14, #4
	stp	x0, xzr, [x12, #80]
	add	x12, x12, #96
	add	x13, x13, #16
	cmp	x9, x14
	b.ne	LBB0_4
; %bb.5:
	cmp	x15, x9
	b.eq	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	w9, [x11]
	stp	x10, xzr, [x11, #8]
	add	x10, x10, #4
	add	w9, w9, #1
	add	x11, x11, #24
	cmp	w1, w9
	b.ne	LBB0_6
LBB0_7:
	add	x0, x8, #4
	b	_atomic_set
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ql_init_tx_ring
.subsections_via_symbols
