	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wait_for_unix_gc               ## -- Begin function wait_for_unix_gc
	.p2align	4, 0x90
_wait_for_unix_gc:                      ## @wait_for_unix_gc
	.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	_unix_tot_inflight@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_UNIX_INFLIGHT_TRIGGER_GC@GOTPCREL(%rip), %rdx
	movq	_gc_in_progress@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	cmpq	(%rdx), %rcx
	jle	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_unix_gc
	movl	(%rbx), %eax
LBB0_3:
	movq	_unix_gc_wait@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wait_event                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_unix_tot_inflight,8,3          ## @unix_tot_inflight
	.comm	_UNIX_INFLIGHT_TRIGGER_GC,8,3   ## @UNIX_INFLIGHT_TRIGGER_GC
	.comm	_gc_in_progress,4,2             ## @gc_in_progress
	.comm	_unix_gc_wait,4,2               ## @unix_gc_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wait_for_unix_gc               ; -- Begin function wait_for_unix_gc
	.p2align	2
_wait_for_unix_gc:                      ; @wait_for_unix_gc
	.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
Lloh0:
	adrp	x8, _unix_tot_inflight@GOTPAGE
Lloh1:
	ldr	x8, [x8, _unix_tot_inflight@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _UNIX_INFLIGHT_TRIGGER_GC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UNIX_INFLIGHT_TRIGGER_GC@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
Lloh6:
	adrp	x19, _gc_in_progress@GOTPAGE
Lloh7:
	ldr	x19, [x19, _gc_in_progress@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	x9, x10
	ccmp	w8, #0, #0, gt
	b.ne	LBB0_2
; %bb.1:
	bl	_unix_gc
	ldr	w8, [x19]
LBB0_2:
Lloh8:
	adrp	x9, _unix_gc_wait@GOTPAGE
Lloh9:
	ldr	x9, [x9, _unix_gc_wait@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x9]
	cmp	w8, #0
	cset	w1, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wait_event
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_unix_tot_inflight,8,3          ; @unix_tot_inflight
	.comm	_UNIX_INFLIGHT_TRIGGER_GC,8,3   ; @UNIX_INFLIGHT_TRIGGER_GC
	.comm	_gc_in_progress,4,2             ; @gc_in_progress
	.comm	_unix_gc_wait,4,2               ; @unix_gc_wait
.subsections_via_symbols
