	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___sigev_thread_init            ## -- Begin function __sigev_thread_init
	.p2align	4, 0x90
___sigev_thread_init:                   ## @__sigev_thread_init
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-36(%rbp), %rbx
	movq	%rbx, %rdi
	callq	__pthread_mutexattr_init
	movq	_PTHREAD_MUTEX_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	__pthread_mutexattr_settype
	movl	$4, %edi
	callq	_malloc
	movq	_sigev_list_mtx@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	__pthread_mutex_init
	movq	%rbx, %rdi
	callq	__pthread_mutexattr_destroy
	movq	_HASH_QUEUES@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	movq	_sigev_hash@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r12, %rdi
	callq	_LIST_INIT
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_sigev_all@GOTPCREL(%rip), %rdi
	callq	_LIST_INIT
	movq	_sigev_threads@GOTPCREL(%rip), %rdi
	callq	_LIST_INIT
	movq	_sigev_default_thread@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	_atfork_registered@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_4
## %bb.5:
	cmpb	$0, ___sigev_thread_init.inited(%rip)
	jne	LBB0_7
LBB0_6:
	movq	_sigev_default_attr@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	__pthread_attr_init
	movq	_PTHREAD_SCOPE_SYSTEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	__pthread_attr_setscope
	movq	_PTHREAD_CREATE_DETACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	__pthread_attr_setdetachstate
	movb	$1, ___sigev_thread_init.inited(%rip)
LBB0_7:
	xorl	%edi, %edi
	callq	_sigev_thread_create
	movq	%rax, (%r14)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	___sigev_fork_prepare@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___sigev_fork_parent@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	___sigev_fork_child@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	__pthread_atfork
	movl	$1, (%rbx)
	cmpb	$0, ___sigev_thread_init.inited(%rip)
	je	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,___sigev_thread_init.inited,1,2 ## @__sigev_thread_init.inited
	.comm	_PTHREAD_MUTEX_NORMAL,4,2       ## @PTHREAD_MUTEX_NORMAL
	.comm	_sigev_list_mtx,4,2             ## @sigev_list_mtx
	.comm	_HASH_QUEUES,4,2                ## @HASH_QUEUES
	.comm	_sigev_hash,8,3                 ## @sigev_hash
	.comm	_sigev_all,4,2                  ## @sigev_all
	.comm	_sigev_threads,4,2              ## @sigev_threads
	.comm	_sigev_default_thread,8,3       ## @sigev_default_thread
	.comm	_atfork_registered,4,2          ## @atfork_registered
	.comm	___sigev_fork_prepare,4,2       ## @__sigev_fork_prepare
	.comm	___sigev_fork_parent,4,2        ## @__sigev_fork_parent
	.comm	___sigev_fork_child,4,2         ## @__sigev_fork_child
	.comm	_sigev_default_attr,4,2         ## @sigev_default_attr
	.comm	_PTHREAD_SCOPE_SYSTEM,4,2       ## @PTHREAD_SCOPE_SYSTEM
	.comm	_PTHREAD_CREATE_DETACHED,4,2    ## @PTHREAD_CREATE_DETACHED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___sigev_thread_init            ; -- Begin function __sigev_thread_init
	.p2align	2
___sigev_thread_init:                   ; @__sigev_thread_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	add	x0, sp, #12
	bl	__pthread_mutexattr_init
Lloh0:
	adrp	x8, _PTHREAD_MUTEX_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTHREAD_MUTEX_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	__pthread_mutexattr_settype
	mov	w0, #4
	bl	_malloc
Lloh3:
	adrp	x8, _sigev_list_mtx@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sigev_list_mtx@GOTPAGEOFF]
Lloh5:
	str	w0, [x8]
	add	x1, sp, #12
	bl	__pthread_mutex_init
	add	x0, sp, #12
	bl	__pthread_mutexattr_destroy
Lloh6:
	adrp	x19, _HASH_QUEUES@GOTPAGE
Lloh7:
	ldr	x19, [x19, _HASH_QUEUES@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
	mov	x21, #0
Lloh8:
	adrp	x22, _sigev_hash@GOTPAGE
Lloh9:
	ldr	x22, [x22, _sigev_hash@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x0, x8, x20
	bl	_LIST_INIT
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
Lloh10:
	adrp	x0, _sigev_all@GOTPAGE
Lloh11:
	ldr	x0, [x0, _sigev_all@GOTPAGEOFF]
	bl	_LIST_INIT
Lloh12:
	adrp	x0, _sigev_threads@GOTPAGE
Lloh13:
	ldr	x0, [x0, _sigev_threads@GOTPAGEOFF]
	bl	_LIST_INIT
Lloh14:
	adrp	x20, _sigev_default_thread@GOTPAGE
Lloh15:
	ldr	x20, [x20, _sigev_default_thread@GOTPAGEOFF]
	str	xzr, [x20]
Lloh16:
	adrp	x19, _atfork_registered@GOTPAGE
Lloh17:
	ldr	x19, [x19, _atfork_registered@GOTPAGEOFF]
	ldr	w8, [x19]
	cbnz	w8, LBB0_5
; %bb.4:
Lloh18:
	adrp	x8, ___sigev_fork_prepare@GOTPAGE
Lloh19:
	ldr	x8, [x8, ___sigev_fork_prepare@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, ___sigev_fork_parent@GOTPAGE
Lloh22:
	ldr	x8, [x8, ___sigev_fork_parent@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, ___sigev_fork_child@GOTPAGE
Lloh25:
	ldr	x8, [x8, ___sigev_fork_child@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	bl	__pthread_atfork
	mov	w8, #1
	str	w8, [x19]
LBB0_5:
	adrp	x21, ___sigev_thread_init.inited@PAGE
	ldrb	w8, [x21, ___sigev_thread_init.inited@PAGEOFF]
	tbnz	w8, #0, LBB0_7
; %bb.6:
Lloh27:
	adrp	x19, _sigev_default_attr@GOTPAGE
Lloh28:
	ldr	x19, [x19, _sigev_default_attr@GOTPAGEOFF]
	mov	x0, x19
	bl	__pthread_attr_init
Lloh29:
	adrp	x8, _PTHREAD_SCOPE_SYSTEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PTHREAD_SCOPE_SYSTEM@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	__pthread_attr_setscope
Lloh32:
	adrp	x8, _PTHREAD_CREATE_DETACHED@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PTHREAD_CREATE_DETACHED@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	__pthread_attr_setdetachstate
	mov	w8, #1
	strb	w8, [x21, ___sigev_thread_init.inited@PAGEOFF]
LBB0_7:
	mov	w0, #0
	bl	_sigev_thread_create
	str	x0, [x20]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,___sigev_thread_init.inited,1,2 ; @__sigev_thread_init.inited
	.comm	_PTHREAD_MUTEX_NORMAL,4,2       ; @PTHREAD_MUTEX_NORMAL
	.comm	_sigev_list_mtx,4,2             ; @sigev_list_mtx
	.comm	_HASH_QUEUES,4,2                ; @HASH_QUEUES
	.comm	_sigev_hash,8,3                 ; @sigev_hash
	.comm	_sigev_all,4,2                  ; @sigev_all
	.comm	_sigev_threads,4,2              ; @sigev_threads
	.comm	_sigev_default_thread,8,3       ; @sigev_default_thread
	.comm	_atfork_registered,4,2          ; @atfork_registered
	.comm	___sigev_fork_prepare,4,2       ; @__sigev_fork_prepare
	.comm	___sigev_fork_parent,4,2        ; @__sigev_fork_parent
	.comm	___sigev_fork_child,4,2         ; @__sigev_fork_child
	.comm	_sigev_default_attr,4,2         ; @sigev_default_attr
	.comm	_PTHREAD_SCOPE_SYSTEM,4,2       ; @PTHREAD_SCOPE_SYSTEM
	.comm	_PTHREAD_CREATE_DETACHED,4,2    ; @PTHREAD_CREATE_DETACHED
.subsections_via_symbols
