	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sigchild_setup
_sigchild_setup:                        ## @sigchild_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_RLIMIT_CORE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_getrlimit
	movl	-24(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_setrlimit
	movq	_sigchild_action@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setchildhandler
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sigemptyset
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RLIMIT_CORE,4,2                ## @RLIMIT_CORE
	.comm	_sigchild_action,4,2            ## @sigchild_action
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_SIG_BLOCK,4,2                  ## @SIG_BLOCK
	.no_dead_strip	_sigchild_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sigchild_setup
_sigchild_setup:                        ; @sigchild_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x19, _RLIMIT_CORE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _RLIMIT_CORE@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	x1, sp
	bl	_getrlimit
	ldr	w8, [sp]
	str	w8, [sp, #4]
	ldr	w0, [x19]
	mov	x1, sp
	bl	_setrlimit
Lloh2:
	adrp	x8, _sigchild_action@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sigchild_action@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_setchildhandler
	add	x0, sp, #12
	bl	_sigemptyset
Lloh5:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_sigaddset
Lloh8:
	adrp	x8, _SIG_BLOCK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIG_BLOCK@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, sp, #12
	mov	x2, #0
	bl	_sigprocmask
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RLIMIT_CORE,4,2                ; @RLIMIT_CORE
	.comm	_sigchild_action,4,2            ; @sigchild_action
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_SIG_BLOCK,4,2                  ; @SIG_BLOCK
	.no_dead_strip	_sigchild_setup
.subsections_via_symbols
