	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__thr_release_wake_addr         ## -- Begin function _thr_release_wake_addr
	.p2align	4, 0x90
__thr_release_wake_addr:                ## @_thr_release_wake_addr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	__get_curthread
	cmpq	_default_wake_addr@GOTPCREL(%rip), %rbx
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_addr_lock@GOTPCREL(%rip), %r15
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_THR_LOCK_ACQUIRE
	movq	_wake_addr_head@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	%rbx, (%rax)
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_THR_LOCK_RELEASE               ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_default_wake_addr,8,3          ## @default_wake_addr
	.comm	_addr_lock,4,2                  ## @addr_lock
	.comm	_wake_addr_head,8,3             ## @wake_addr_head
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__thr_release_wake_addr         ; -- Begin function _thr_release_wake_addr
	.p2align	2
__thr_release_wake_addr:                ; @_thr_release_wake_addr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	__get_curthread
Lloh0:
	adrp	x8, _default_wake_addr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _default_wake_addr@GOTPAGEOFF]
	cmp	x19, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x21, _addr_lock@GOTPAGE
Lloh3:
	ldr	x21, [x21, _addr_lock@GOTPAGEOFF]
	mov	x1, x21
	bl	_THR_LOCK_ACQUIRE
Lloh4:
	adrp	x8, _wake_addr_head@GOTPAGE
Lloh5:
	ldr	x8, [x8, _wake_addr_head@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x19]
	str	x19, [x8]
	mov	x0, x20
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_THR_LOCK_RELEASE
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_default_wake_addr,8,3          ; @default_wake_addr
	.comm	_addr_lock,4,2                  ; @addr_lock
	.comm	_wake_addr_head,8,3             ; @wake_addr_head
.subsections_via_symbols
