	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sig_init                       ## -- Begin function sig_init
	.p2align	4, 0x90
_sig_init:                              ## @sig_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_GCLP
	testq	%r12, %r12
	je	LBB0_1
## %bb.8:
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_h_hup@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_setsig
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_h_int@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_setsig
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_h_term@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_setsig
	testq	%rax, %rax
	je	LBB0_13
LBB0_11:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_msgq
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_1:
	movq	%rax, %r14
	movq	___sigblockset@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_sigemptyset
	movq	_SIGHUP@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movl	(%r12), %edi
	movq	_INDX_HUP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	(%r14), %rsi
	movq	_h_hup@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_setsig
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movq	_SIGINT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	___sigblockset@GOTPCREL(%rip), %rdi
	callq	_sigaddset
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movl	(%rbx), %edi
	movq	_INDX_INT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	(%r14), %rsi
	movq	_h_int@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_setsig
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movq	_SIGTERM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	___sigblockset@GOTPCREL(%rip), %rdi
	callq	_sigaddset
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movl	(%rbx), %edi
	movq	_INDX_TERM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	(%r14), %rsi
	movq	_h_term@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_setsig
	testq	%rax, %rax
	je	LBB0_12
LBB0_7:
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_perr
	movl	$1, %ebx
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___sigblockset,4,2              ## @__sigblockset
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_INDX_HUP,8,3                   ## @INDX_HUP
	.comm	_h_hup,4,2                      ## @h_hup
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_INDX_INT,8,3                   ## @INDX_INT
	.comm	_h_int,4,2                      ## @h_int
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_INDX_TERM,8,3                  ## @INDX_TERM
	.comm	_h_term,4,2                     ## @h_term
	.comm	_M_SYSERR,4,2                   ## @M_SYSERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"signal-reset"

	.comm	_INDX_WINCH,8,3                 ## @INDX_WINCH
	.comm	_SIGWINCH,4,2                   ## @SIGWINCH
	.comm	_h_winch,4,2                    ## @h_winch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sig_init                       ; -- Begin function sig_init
	.p2align	2
_sig_init:                              ; @sig_init
	.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	x21, x1
	mov	x19, x0
	bl	_GCLP
	cbz	x21, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _h_hup@GOTPAGE
Lloh4:
	ldr	x8, [x8, _h_hup@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_setsig
	cbnz	x0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _SIGINT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _h_int@GOTPAGE
Lloh10:
	ldr	x8, [x8, _h_int@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_setsig
	cbnz	x0, LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _h_term@GOTPAGE
Lloh16:
	ldr	x8, [x8, _h_term@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_setsig
	cbz	x0, LBB0_12
LBB0_4:
Lloh18:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_msgq
	mov	w0, #0
	b	LBB0_12
LBB0_5:
	mov	x20, x0
Lloh23:
	adrp	x21, ___sigblockset@GOTPAGE
Lloh24:
	ldr	x21, [x21, ___sigblockset@GOTPAGEOFF]
	mov	x0, x21
	bl	_sigemptyset
Lloh25:
	adrp	x22, _SIGHUP@GOTPAGE
Lloh26:
	ldr	x22, [x22, _SIGHUP@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_sigaddset
	cbnz	x0, LBB0_11
; %bb.6:
	ldr	w0, [x22]
Lloh27:
	adrp	x8, _INDX_HUP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _INDX_HUP@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh29:
	ldr	x8, [x8]
	add	x1, x9, x8, lsl #2
Lloh30:
	adrp	x8, _h_hup@GOTPAGE
Lloh31:
	ldr	x8, [x8, _h_hup@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	bl	_setsig
	cbnz	x0, LBB0_11
; %bb.7:
Lloh33:
	adrp	x21, _SIGINT@GOTPAGE
Lloh34:
	ldr	x21, [x21, _SIGINT@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh35:
	adrp	x0, ___sigblockset@GOTPAGE
Lloh36:
	ldr	x0, [x0, ___sigblockset@GOTPAGEOFF]
	bl	_sigaddset
	cbnz	x0, LBB0_11
; %bb.8:
	ldr	w0, [x21]
Lloh37:
	adrp	x8, _INDX_INT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _INDX_INT@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh39:
	ldr	x8, [x8]
	add	x1, x9, x8, lsl #2
Lloh40:
	adrp	x8, _h_int@GOTPAGE
Lloh41:
	ldr	x8, [x8, _h_int@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	bl	_setsig
	cbnz	x0, LBB0_11
; %bb.9:
Lloh43:
	adrp	x21, _SIGTERM@GOTPAGE
Lloh44:
	ldr	x21, [x21, _SIGTERM@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh45:
	adrp	x0, ___sigblockset@GOTPAGE
Lloh46:
	ldr	x0, [x0, ___sigblockset@GOTPAGEOFF]
	bl	_sigaddset
	cbnz	x0, LBB0_11
; %bb.10:
	ldr	w0, [x21]
Lloh47:
	adrp	x8, _INDX_TERM@GOTPAGE
Lloh48:
	ldr	x8, [x8, _INDX_TERM@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh49:
	ldr	x8, [x8]
	add	x1, x9, x8, lsl #2
Lloh50:
	adrp	x8, _h_term@GOTPAGE
Lloh51:
	ldr	x8, [x8, _h_term@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	bl	_setsig
	cbz	x0, LBB0_12
LBB0_11:
	ldr	w0, [x19]
	mov	x1, #0
	bl	_perr
	mov	w0, #1
LBB0_12:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	___sigblockset,4,2              ; @__sigblockset
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_INDX_HUP,8,3                   ; @INDX_HUP
	.comm	_h_hup,4,2                      ; @h_hup
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_INDX_INT,8,3                   ; @INDX_INT
	.comm	_h_int,4,2                      ; @h_int
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_INDX_TERM,8,3                  ; @INDX_TERM
	.comm	_h_term,4,2                     ; @h_term
	.comm	_M_SYSERR,4,2                   ; @M_SYSERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"signal-reset"

	.comm	_INDX_WINCH,8,3                 ; @INDX_WINCH
	.comm	_SIGWINCH,4,2                   ; @SIGWINCH
	.comm	_h_winch,4,2                    ; @h_winch
.subsections_via_symbols
