	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gru_create_message_queue       ## -- Begin function gru_create_message_queue
	.p2align	4, 0x90
_gru_create_message_queue:              ## @gru_create_message_queue
	.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
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %ecx
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	_GRU_CACHE_LINE_BYTES@GOTPCREL(%rip), %rsi
	movl	%edx, %eax
	xorl	%edx, %edx
	divl	(%rsi)
	movl	%eax, %r14d
	leal	-2(%r14), %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%ecx, %edx
	callq	_memset
	leaq	20(%rbx), %rax
	movq	%rax, 48(%rbx)
	movl	%r15d, %esi
	shrl	%esi
	leal	-1(%rsi), %ecx
	movq	_GRU_CACHE_LINE_BYTES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	imull	%edx, %ecx
	leaq	(%rbx,%rcx,4), %rcx
	addq	$20, %rcx
	movq	%rcx, 40(%rbx)
	movq	%rax, 32(%rbx)
	addl	$-4, %r14d
	imull	%edx, %r14d
	leaq	(%rbx,%r14,4), %rax
	addq	$20, %rax
	movq	%rax, 24(%rbx)
	movl	%r15d, (%rbx)
	movq	8(%rbx), %rax
	movabsq	$4294967296, %rcx               ## imm = 0x100000000
	movq	%rcx, (%rax)
	incl	%esi
	movl	$2, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_gru_mesq_head
	movl	%eax, 16(%rbx)
	movq	%rbx, 24(%r13)
	movq	%rbx, %rdi
	callq	_uv_gpa
	movl	%eax, 16(%r13)
	movl	%r15d, (%r13)
	sarl	%r12d
	movl	%r12d, 4(%r13)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r13)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%r13)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GRU_CACHE_LINE_BYTES,4,2       ## @GRU_CACHE_LINE_BYTES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function gru_create_message_queue
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gru_create_message_queue
	.p2align	2
_gru_create_message_queue:              ; @gru_create_message_queue
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x24, _GRU_CACHE_LINE_BYTES@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GRU_CACHE_LINE_BYTES@GOTPAGEOFF]
	ldr	w8, [x24]
	udiv	w25, w2, w8
	sub	w26, w25, #2
	mov	x0, x1
	mov	w1, #0
	bl	_memset
	add	x8, x22, #20
	lsr	w9, w26, #1
	sub	w10, w9, #1
	ldr	w11, [x24]
	mul	w10, w10, w11
	add	x10, x8, w10, uxtw #2
	stp	x10, x8, [x22, #40]
	sub	w10, w25, #4
	mul	w10, w11, w10
	add	x10, x8, w10, uxtw #2
	stp	x10, x8, [x22, #24]
	str	w26, [x22]
	ldr	x8, [x22, #8]
Lloh2:
	adrp	x10, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x10, lCPI0_0@PAGEOFF]
	str	d0, [x8]
	add	w1, w9, #1
	mov	w0, #2
	bl	_gru_mesq_head
	str	w0, [x22, #16]
	str	x22, [x23, #24]
	mov	x0, x22
	bl	_uv_gpa
	stp	w19, w0, [x23, #12]
	asr	w8, w21, #1
	stp	w26, w8, [x23]
	str	w20, [x23, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GRU_CACHE_LINE_BYTES,4,2       ; @GRU_CACHE_LINE_BYTES
.subsections_via_symbols
