	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_init
_gen_init:                              ## @gen_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_RLIMIT_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_getrlimit
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	-48(%rbp), %eax
	movl	%eax, -44(%rbp)
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_setrlimit
LBB0_2:
	movq	_RLIMIT_FSIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_getrlimit
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	-48(%rbp), %eax
	movl	%eax, -44(%rbp)
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_setrlimit
LBB0_4:
	movq	_RLIMIT_STACK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_getrlimit
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	-48(%rbp), %eax
	movl	%eax, -44(%rbp)
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_setrlimit
LBB0_6:
	movq	_RLIMIT_RSS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_getrlimit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movl	-48(%rbp), %eax
	movl	%eax, -44(%rbp)
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_setrlimit
LBB0_8:
	movq	_s_mask@GOTPCREL(%rip), %rdi
	callq	_sigemptyset
	testq	%rax, %rax
	js	LBB0_16
## %bb.9:
	movq	_SIGTERM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_s_mask@GOTPCREL(%rip), %rdi
	callq	_sigaddset
	testq	%rax, %rax
	js	LBB0_16
## %bb.10:
	movq	_SIGINT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_s_mask@GOTPCREL(%rip), %rdi
	callq	_sigaddset
	testq	%rax, %rax
	js	LBB0_16
## %bb.11:
	movq	_SIGHUP@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_s_mask@GOTPCREL(%rip), %rdi
	callq	_sigaddset
	testq	%rax, %rax
	js	LBB0_16
## %bb.12:
	movq	_SIGPIPE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_s_mask@GOTPCREL(%rip), %rdi
	callq	_sigaddset
	testq	%rax, %rax
	js	LBB0_16
## %bb.13:
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_mask@GOTPCREL(%rip), %rdi
	callq	_sigaddset
	testq	%rax, %rax
	js	LBB0_16
## %bb.14:
	movq	_SIGXCPU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_mask@GOTPCREL(%rip), %rdi
	callq	_sigaddset
	testq	%rax, %rax
	js	LBB0_16
## %bb.15:
	movq	_SIGXFSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_mask@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_sigaddset
	testq	%rax, %rax
	js	LBB0_16
## %bb.17:
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	(%r12), %eax
	movl	%eax, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	_sig_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	(%r14), %edi
	leaq	-72(%rbp), %rsi
	callq	_setup_sig
	testq	%rax, %rax
	jne	LBB0_24
## %bb.18:
	movl	(%rbx), %edi
	leaq	-72(%rbp), %rsi
	callq	_setup_sig
	testq	%rax, %rax
	jne	LBB0_24
## %bb.19:
	movl	(%r13), %edi
	leaq	-72(%rbp), %rsi
	callq	_setup_sig
	testq	%rax, %rax
	jne	LBB0_24
## %bb.20:
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-72(%rbp), %rsi
	callq	_setup_sig
	testq	%rax, %rax
	jne	LBB0_24
## %bb.21:
	movq	_SIGXCPU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-72(%rbp), %rsi
	callq	_setup_sig
	testq	%rax, %rax
	je	LBB0_22
LBB0_24:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	$1, %edi
	callq	_syswarn
	jmp	LBB0_25
LBB0_16:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_paxwarn
LBB0_25:
	movl	$-1, %ebx
LBB0_26:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	(%r15), %edi
	xorl	%ebx, %ebx
	leaq	-72(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	js	LBB0_24
## %bb.23:
	movq	_SIGXFSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-72(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	jns	LBB0_26
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_RLIMIT_DATA,4,2                ## @RLIMIT_DATA
	.comm	_RLIMIT_FSIZE,4,2               ## @RLIMIT_FSIZE
	.comm	_RLIMIT_STACK,4,2               ## @RLIMIT_STACK
	.comm	_RLIMIT_RSS,4,2                 ## @RLIMIT_RSS
	.comm	_s_mask,4,2                     ## @s_mask
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.comm	_SIGXCPU,4,2                    ## @SIGXCPU
	.comm	_SIGXFSZ,4,2                    ## @SIGXFSZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to set up signal mask"

	.comm	_sig_cleanup,4,2                ## @sig_cleanup
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"Unable to set up signal handler"

	.no_dead_strip	_gen_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_init
_gen_init:                              ; @gen_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x19, _RLIMIT_DATA@GOTPAGE
Lloh1:
	ldr	x19, [x19, _RLIMIT_DATA@GOTPAGEOFF]
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_getrlimit
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #24]
	str	w8, [sp, #28]
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_setrlimit
LBB0_2:
Lloh2:
	adrp	x19, _RLIMIT_FSIZE@GOTPAGE
Lloh3:
	ldr	x19, [x19, _RLIMIT_FSIZE@GOTPAGEOFF]
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_getrlimit
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w8, [sp, #24]
	str	w8, [sp, #28]
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_setrlimit
LBB0_4:
Lloh4:
	adrp	x19, _RLIMIT_STACK@GOTPAGE
Lloh5:
	ldr	x19, [x19, _RLIMIT_STACK@GOTPAGEOFF]
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_getrlimit
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w8, [sp, #24]
	str	w8, [sp, #28]
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_setrlimit
LBB0_6:
Lloh6:
	adrp	x19, _RLIMIT_RSS@GOTPAGE
Lloh7:
	ldr	x19, [x19, _RLIMIT_RSS@GOTPAGEOFF]
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_getrlimit
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	w8, [sp, #24]
	str	w8, [sp, #28]
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_setrlimit
LBB0_8:
Lloh8:
	adrp	x0, _s_mask@GOTPAGE
Lloh9:
	ldr	x0, [x0, _s_mask@GOTPAGEOFF]
	bl	_sigemptyset
	tbnz	x0, #63, LBB0_22
; %bb.9:
Lloh10:
	adrp	x21, _SIGTERM@GOTPAGE
Lloh11:
	ldr	x21, [x21, _SIGTERM@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh12:
	adrp	x0, _s_mask@GOTPAGE
Lloh13:
	ldr	x0, [x0, _s_mask@GOTPAGEOFF]
	bl	_sigaddset
	tbnz	x0, #63, LBB0_22
; %bb.10:
Lloh14:
	adrp	x22, _SIGINT@GOTPAGE
Lloh15:
	ldr	x22, [x22, _SIGINT@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh16:
	adrp	x0, _s_mask@GOTPAGE
Lloh17:
	ldr	x0, [x0, _s_mask@GOTPAGEOFF]
	bl	_sigaddset
	tbnz	x0, #63, LBB0_22
; %bb.11:
Lloh18:
	adrp	x26, _SIGHUP@GOTPAGE
Lloh19:
	ldr	x26, [x26, _SIGHUP@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh20:
	adrp	x0, _s_mask@GOTPAGE
Lloh21:
	ldr	x0, [x0, _s_mask@GOTPAGEOFF]
	bl	_sigaddset
	tbnz	x0, #63, LBB0_22
; %bb.12:
Lloh22:
	adrp	x20, _SIGPIPE@GOTPAGE
Lloh23:
	ldr	x20, [x20, _SIGPIPE@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh24:
	adrp	x0, _s_mask@GOTPAGE
Lloh25:
	ldr	x0, [x0, _s_mask@GOTPAGEOFF]
	bl	_sigaddset
	tbnz	x0, #63, LBB0_22
; %bb.13:
Lloh26:
	adrp	x24, _SIGQUIT@GOTPAGE
Lloh27:
	ldr	x24, [x24, _SIGQUIT@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh28:
	adrp	x0, _s_mask@GOTPAGE
Lloh29:
	ldr	x0, [x0, _s_mask@GOTPAGEOFF]
	bl	_sigaddset
	tbnz	x0, #63, LBB0_22
; %bb.14:
Lloh30:
	adrp	x25, _SIGXCPU@GOTPAGE
Lloh31:
	ldr	x25, [x25, _SIGXCPU@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh32:
	adrp	x0, _s_mask@GOTPAGE
Lloh33:
	ldr	x0, [x0, _s_mask@GOTPAGEOFF]
	bl	_sigaddset
	tbnz	x0, #63, LBB0_22
; %bb.15:
Lloh34:
	adrp	x23, _SIGXFSZ@GOTPAGE
Lloh35:
	ldr	x23, [x23, _SIGXFSZ@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh36:
	adrp	x19, _s_mask@GOTPAGE
Lloh37:
	ldr	x19, [x19, _s_mask@GOTPAGEOFF]
	mov	x0, x19
	bl	_sigaddset
	tbnz	x0, #63, LBB0_22
; %bb.16:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w8, [x19]
	str	w8, [sp, #16]
	str	xzr, [sp, #8]
Lloh38:
	adrp	x8, _sig_cleanup@GOTPAGE
Lloh39:
	ldr	x8, [x8, _sig_cleanup@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	w8, [sp]
	ldr	w0, [x26]
	mov	x1, sp
	bl	_setup_sig
	cbnz	x0, LBB0_21
; %bb.17:
	ldr	w0, [x21]
	mov	x1, sp
	bl	_setup_sig
	cbnz	x0, LBB0_21
; %bb.18:
	ldr	w0, [x22]
	mov	x1, sp
	bl	_setup_sig
	cbnz	x0, LBB0_21
; %bb.19:
	ldr	w0, [x24]
	mov	x1, sp
	bl	_setup_sig
	cbnz	x0, LBB0_21
; %bb.20:
	ldr	w0, [x25]
	mov	x1, sp
	bl	_setup_sig
	cbz	x0, LBB0_25
LBB0_21:
Lloh41:
	adrp	x8, _errno@GOTPAGE
Lloh42:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x2, l_.str.1@PAGE
Lloh45:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_syswarn
	b	LBB0_23
LBB0_22:
Lloh46:
	adrp	x1, l_.str@PAGE
Lloh47:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_paxwarn
LBB0_23:
	mov	w0, #-1
LBB0_24:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_25:
Lloh48:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	str	w8, [sp]
	ldr	w0, [x20]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	tbnz	x0, #63, LBB0_21
; %bb.26:
	ldr	w0, [x23]
	mov	x1, sp
	mov	x2, #0
	bl	_sigaction
	tbnz	x0, #63, LBB0_21
; %bb.27:
	mov	w0, #0
	b	LBB0_24
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_RLIMIT_DATA,4,2                ; @RLIMIT_DATA
	.comm	_RLIMIT_FSIZE,4,2               ; @RLIMIT_FSIZE
	.comm	_RLIMIT_STACK,4,2               ; @RLIMIT_STACK
	.comm	_RLIMIT_RSS,4,2                 ; @RLIMIT_RSS
	.comm	_s_mask,4,2                     ; @s_mask
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.comm	_SIGXCPU,4,2                    ; @SIGXCPU
	.comm	_SIGXFSZ,4,2                    ; @SIGXFSZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to set up signal mask"

	.comm	_sig_cleanup,4,2                ; @sig_cleanup
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"Unable to set up signal handler"

	.no_dead_strip	_gen_init
.subsections_via_symbols
