	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atfork_prepare
_atfork_prepare:                        ## @atfork_prepare
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	-12(%rbp), %rdi
	callq	_sigfillset
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_die_errno
LBB0_2:
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rdx
	leaq	-12(%rbp), %rsi
	callq	_pthread_sigmask
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_CHECK_BUG
	movq	_PTHREAD_CANCEL_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_pthread_setcancelstate
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edi
	callq	_CHECK_BUG
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sigfillset"

	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
L_.str.1:                               ## @.str.1
	.asciz	"blocking all signals"

	.comm	_PTHREAD_CANCEL_DISABLE,4,2     ## @PTHREAD_CANCEL_DISABLE
L_.str.2:                               ## @.str.2
	.asciz	"disabling cancellation"

	.no_dead_strip	_atfork_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atfork_prepare
_atfork_prepare:                        ; @atfork_prepare
	.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
	mov	x19, x0
	add	x0, sp, #12
	bl	_sigfillset
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die_errno
LBB0_2:
Lloh2:
	adrp	x8, _SIG_SETMASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIG_SETMASK@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x2, x19, #4
	add	x1, sp, #12
	bl	_pthread_sigmask
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_CHECK_BUG
Lloh7:
	adrp	x8, _PTHREAD_CANCEL_DISABLE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PTHREAD_CANCEL_DISABLE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_pthread_setcancelstate
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_CHECK_BUG
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sigfillset"

	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
l_.str.1:                               ; @.str.1
	.asciz	"blocking all signals"

	.comm	_PTHREAD_CANCEL_DISABLE,4,2     ; @PTHREAD_CANCEL_DISABLE
l_.str.2:                               ; @.str.2
	.asciz	"disabling cancellation"

	.no_dead_strip	_atfork_prepare
.subsections_via_symbols
