	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_restore_signal_mask         ## -- Begin function dl_restore_signal_mask
	.p2align	4, 0x90
_dl_restore_signal_mask:                ## @dl_restore_signal_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_old_mask_inited@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_dl_assert
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_old_mask@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	xorl	%edi, %edi
	cmpl	$-1, %eax
	setne	%dil
	leaq	L_.str.1(%rip), %rsi
	popq	%rbp
	jmp	_dl_passert                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_old_mask_inited,8,3            ## @old_mask_inited
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"old_mask in not inited"

	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
	.comm	_old_mask,4,2                   ## @old_mask
L_.str.1:                               ## @.str.1
	.asciz	"failed to restore signal mask"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_restore_signal_mask         ; -- Begin function dl_restore_signal_mask
	.p2align	2
_dl_restore_signal_mask:                ; @dl_restore_signal_mask
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _old_mask_inited@GOTPAGE
Lloh1:
	ldr	x8, [x8, _old_mask_inited@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dl_assert
Lloh5:
	adrp	x8, _SIG_SETMASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIG_SETMASK@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, _old_mask@GOTPAGE
Lloh9:
	ldr	x1, [x1, _old_mask@GOTPAGEOFF]
	mov	x2, #0
	bl	_sigprocmask
	cmn	w0, #1
	cset	w0, ne
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_dl_passert
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_old_mask_inited,8,3            ; @old_mask_inited
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"old_mask in not inited"

	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
	.comm	_old_mask,4,2                   ; @old_mask
l_.str.1:                               ; @.str.1
	.asciz	"failed to restore signal mask"

.subsections_via_symbols
