	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__thr_signal_init               ## -- Begin function _thr_signal_init
	.p2align	4, 0x90
__thr_signal_init:                      ## @_thr_signal_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	__thr_maskset@GOTPCREL(%rip), %rsi
	leaq	-44(%rbp), %rdx
	callq	___sys_sigprocmask
	movq	__SIG_MAXSIG@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	movq	_SIGCANCEL@GOTPCREL(%rip), %r12
	leaq	-144(%rbp), %r15
	movq	_SIG_DFL@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	(%r13), %ebx
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	cmpl	(%r12), %ebx
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	___sys_sigaction
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-144(%rbp), %rax
	cmpq	(%r14), %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_SIG_IGN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	___libc_sigaction_slot
	movups	-144(%rbp), %xmm0
	movups	-128(%rbp), %xmm1
	movups	%xmm0, (%rax)
	movups	%xmm1, 16(%rax)
	movups	-144(%rbp), %xmm0
	movups	-128(%rbp), %xmm1
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm1, -64(%rbp)
	leaq	8(%rax), %rdi
	callq	_remove_thr_signals
	movq	_SA_NODEFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-56(%rbp), %eax
	movq	_SA_SIGINFO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -56(%rbp)
	movq	_thr_sighandler@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	__thr_maskset@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	%ebx, %edi
	leaq	-80(%rbp), %rsi
	xorl	%edx, %edx
	callq	___sys_sigaction
	jmp	LBB0_8
LBB0_9:
	movl	-104(%rbp), %r15d
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
LBB0_1:
                                        ## implicit-def: $r15d
LBB0_10:
	movl	(%rbx), %edi
	leaq	-44(%rbp), %rsi
	xorl	%edx, %edx
	callq	___sys_sigprocmask
	leaq	-104(%rbp), %r14
	movl	%r15d, %edi
	callq	_SIGFILLSET
	movq	_SA_SIGINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	_sigcancel_handler@GOTPCREL(%rip), %rax
	movq	%rax, -96(%rbp)
	movq	_SIGCANCEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-112(%rbp), %rsi
	xorl	%edx, %edx
	callq	___sys_sigaction
	movl	-104(%rbp), %edi
	callq	_SIGEMPTYSET
	movl	-104(%rbp), %edi
	movl	(%rbx), %esi
	callq	_SIGADDSET
	movq	_SIG_UNBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	___sys_sigprocmask
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
	.comm	__thr_maskset,4,2               ## @_thr_maskset
	.comm	__SIG_MAXSIG,4,2                ## @_SIG_MAXSIG
	.comm	_SIGCANCEL,4,2                  ## @SIGCANCEL
	.comm	_SIG_DFL,8,3                    ## @SIG_DFL
	.comm	_SIG_IGN,8,3                    ## @SIG_IGN
	.comm	_SA_NODEFER,4,2                 ## @SA_NODEFER
	.comm	_SA_SIGINFO,4,2                 ## @SA_SIGINFO
	.comm	_thr_sighandler,8,3             ## @thr_sighandler
	.comm	_sigcancel_handler,4,2          ## @sigcancel_handler
	.comm	_SIG_UNBLOCK,4,2                ## @SIG_UNBLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__thr_signal_init               ; -- Begin function _thr_signal_init
	.p2align	2
__thr_signal_init:                      ; @_thr_signal_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x23, _SIG_SETMASK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SIG_SETMASK@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x19, __thr_maskset@GOTPAGE
Lloh3:
	ldr	x19, [x19, __thr_maskset@GOTPAGEOFF]
	add	x2, sp, #12
	mov	x1, x19
	bl	___sys_sigprocmask
Lloh4:
	adrp	x24, __SIG_MAXSIG@GOTPAGE
Lloh5:
	ldr	x24, [x24, __SIG_MAXSIG@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh6:
	adrp	x22, _SA_SIGINFO@GOTPAGE
Lloh7:
	ldr	x22, [x22, _SA_SIGINFO@GOTPAGEOFF]
Lloh8:
	adrp	x21, _SIGCANCEL@GOTPAGE
Lloh9:
	ldr	x21, [x21, _SIGCANCEL@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w20, #0
Lloh10:
	adrp	x25, _SIG_DFL@GOTPAGE
Lloh11:
	ldr	x25, [x25, _SIG_DFL@GOTPAGEOFF]
Lloh12:
	adrp	x26, _SIG_IGN@GOTPAGE
Lloh13:
	ldr	x26, [x26, _SIG_IGN@GOTPAGEOFF]
Lloh14:
	adrp	x27, _SA_NODEFER@GOTPAGE
Lloh15:
	ldr	x27, [x27, _SA_NODEFER@GOTPAGEOFF]
Lloh16:
	adrp	x28, _thr_sighandler@GOTPAGE
Lloh17:
	ldr	x28, [x28, _thr_sighandler@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	cmp	w20, w8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, #0
	bl	___sys_sigaction
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]
	ldr	x9, [x25]
	ldr	x10, [x26]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	___libc_sigaction_slot
	ldp	q1, q0, [sp, #16]
	stp	q1, q0, [x0]
	ldp	q0, q1, [sp, #16]
	stp	q0, q1, [sp, #48]
	add	x0, x0, #8
	bl	_remove_thr_signals
	ldr	w8, [x27]
	ldr	w9, [sp, #72]
	bic	w8, w9, w8
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [sp, #72]
	ldr	x8, [x28]
	str	x8, [sp, #64]
	ldr	w8, [x19]
	str	w8, [sp, #56]
	add	x1, sp, #48
	mov	x0, x20
	mov	x2, #0
	bl	___sys_sigaction
	b	LBB0_2
LBB0_7:
	ldr	w19, [sp, #88]
	b	LBB0_9
LBB0_8:
                                        ; implicit-def: $w19
LBB0_9:
	ldr	w0, [x23]
	add	x1, sp, #12
	mov	x2, #0
	bl	___sys_sigprocmask
	add	x8, sp, #80
	add	x20, x8, #8
	mov	x0, x19
	bl	_SIGFILLSET
	ldr	w8, [x22]
	str	w8, [sp, #104]
Lloh18:
	adrp	x8, _sigcancel_handler@GOTPAGE
Lloh19:
	ldr	x8, [x8, _sigcancel_handler@GOTPAGEOFF]
	str	x8, [sp, #96]
	ldr	w0, [x21]
	add	x1, sp, #80
	mov	x2, #0
	bl	___sys_sigaction
	ldr	w0, [sp, #88]
	bl	_SIGEMPTYSET
	ldr	w0, [sp, #88]
	ldr	w1, [x21]
	bl	_SIGADDSET
Lloh20:
	adrp	x8, _SIG_UNBLOCK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SIG_UNBLOCK@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, #0
	bl	___sys_sigprocmask
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
	.comm	__thr_maskset,4,2               ; @_thr_maskset
	.comm	__SIG_MAXSIG,4,2                ; @_SIG_MAXSIG
	.comm	_SIGCANCEL,4,2                  ; @SIGCANCEL
	.comm	_SIG_DFL,8,3                    ; @SIG_DFL
	.comm	_SIG_IGN,8,3                    ; @SIG_IGN
	.comm	_SA_NODEFER,4,2                 ; @SA_NODEFER
	.comm	_SA_SIGINFO,4,2                 ; @SA_SIGINFO
	.comm	_thr_sighandler,8,3             ; @thr_sighandler
	.comm	_sigcancel_handler,4,2          ; @sigcancel_handler
	.comm	_SIG_UNBLOCK,4,2                ; @SIG_UNBLOCK
.subsections_via_symbols
