	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gqueue_dequeue                 ## -- Begin function gqueue_dequeue
	.p2align	4, 0x90
_gqueue_dequeue:                        ## @gqueue_dequeue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_gqueue_empty
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%ecx, %ecx
	jmp	LBB0_6
LBB0_2:
	movq	(%rbx), %rcx
	movq	8(%rbx), %rax
	movq	(%rcx,%rax,8), %rcx
	incq	%rax
	movslq	16(%rbx), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_5
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_5:
	movq	%rdx, 8(%rbx)
	decl	20(%rbx)
LBB0_6:
	movq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gqueue_dequeue                 ; -- Begin function gqueue_dequeue
	.p2align	2
_gqueue_dequeue:                        ; @gqueue_dequeue
	.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
	mov	x19, x0
	bl	_gqueue_empty
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_3
LBB0_2:
	ldp	x8, x9, [x19]
	ldr	x0, [x8, x9, lsl #3]
	add	x8, x9, #1
	ldp	w9, w10, [x19, #16]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	udiv	x11, x8, x9
	msub	x8, x11, x9, x8
	str	x8, [x19, #8]
	sub	w8, w10, #1
	str	w8, [x19, #20]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
