	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__thr_wake_all                  ## -- Begin function _thr_wake_all
	.p2align	4, 0x90
__thr_wake_all:                         ## @_thr_wake_all
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %edx
	testl	%esi, %esi
	jle	LBB0_8
## %bb.1:
	movl	%edx, %ecx
	leaq	-1(%rcx), %rsi
	movl	%ecx, %r8d
	andl	$7, %r8d
	cmpq	$7, %rsi
	jae	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_5
LBB0_3:
	andl	$-8, %ecx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rsi,8), %rax
	movl	$1, (%rax)
	movq	8(%rdi,%rsi,8), %rax
	movl	$1, (%rax)
	movq	16(%rdi,%rsi,8), %rax
	movl	$1, (%rax)
	movq	24(%rdi,%rsi,8), %rax
	movl	$1, (%rax)
	movq	32(%rdi,%rsi,8), %rax
	movl	$1, (%rax)
	movq	40(%rdi,%rsi,8), %rax
	movl	$1, (%rax)
	movq	48(%rdi,%rsi,8), %rax
	movl	$1, (%rax)
	movq	56(%rdi,%rsi,8), %rax
	movl	$1, (%rax)
	addq	$8, %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_4
LBB0_5:
	testq	%r8, %r8
	je	LBB0_8
## %bb.6:
	leaq	(%rdi,%rsi,8), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rax
	movl	$1, (%rax)
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_7
LBB0_8:
	movq	_UMTX_OP_NWAKE_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	popq	%rbp
	jmp	__umtx_op                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UMTX_OP_NWAKE_PRIVATE,4,2      ## @UMTX_OP_NWAKE_PRIVATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__thr_wake_all                  ; -- Begin function _thr_wake_all
	.p2align	2
__thr_wake_all:                         ; @_thr_wake_all
	.cfi_startproc
; %bb.0:
	mov	x2, x1
	cmp	w1, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w8, w2
	cmp	w2, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x9, #0
	b	LBB0_6
LBB0_3:
	and	x9, x8, #0xfffffffc
	add	x10, x0, #16
	mov	w11, #1
	mov	x12, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x13, x14, [x10, #-16]
	ldp	x15, x16, [x10], #32
	str	w11, [x13]
	str	w11, [x14]
	str	w11, [x15]
	str	w11, [x16]
	subs	x12, x12, #4
	b.ne	LBB0_4
; %bb.5:
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_6:
	add	x10, x0, x9, lsl #3
	sub	x8, x8, x9
	mov	w9, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10], #8
	str	w9, [x11]
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
Lloh0:
	adrp	x8, _UMTX_OP_NWAKE_PRIVATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UMTX_OP_NWAKE_PRIVATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x3, #0
	mov	x4, #0
	b	__umtx_op
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UMTX_OP_NWAKE_PRIVATE,4,2      ; @UMTX_OP_NWAKE_PRIVATE
.subsections_via_symbols
