	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_thread_signals
_setup_thread_signals:                  ## @setup_thread_signals
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	_handle_signal_action@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	leaq	-16(%rbp), %rdi
	callq	_sigemptyset
	movq	$0, -24(%rbp)
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_oldset@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	callq	_pthread_sigmask
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_handle_signal_action,4,2       ## @handle_signal_action
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
	.comm	_oldset,4,2                     ## @oldset
	.no_dead_strip	_setup_thread_signals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_thread_signals
_setup_thread_signals:                  ; @setup_thread_signals
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _handle_signal_action@GOTPAGE
Lloh1:
	ldr	x8, [x8, _handle_signal_action@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	mov	x8, sp
	add	x0, x8, #8
	bl	_sigemptyset
	str	xzr, [sp]
Lloh3:
	adrp	x8, _SIGINT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
Lloh6:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
Lloh9:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
Lloh12:
	adrp	x8, _SIG_SETMASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIG_SETMASK@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, _oldset@GOTPAGE
Lloh16:
	ldr	x1, [x1, _oldset@GOTPAGEOFF]
	mov	x2, #0
	bl	_pthread_sigmask
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_handle_signal_action,4,2       ; @handle_signal_action
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
	.comm	_oldset,4,2                     ; @oldset
	.no_dead_strip	_setup_thread_signals
.subsections_via_symbols
