	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function darwin_rs6000_extra_signals
_darwin_rs6000_extra_signals:           ## @darwin_rs6000_extra_signals
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	_SIGSTKSZ@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_xmalloc
	movl	%eax, -28(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -32(%rbp)
	movq	$0, -40(%rbp)
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	callq	_sigaltstack
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_fatal_error
LBB0_2:
	leaq	-16(%rbp), %rdi
	callq	_sigemptyset
	movq	_SA_ONSTACK@GOTPCREL(%rip), %rax
	movq	_SA_SIGINFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -24(%rbp)
	movq	_segv_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_SIGSEGV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_fatal_error
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGSTKSZ,4,2                   ## @SIGSTKSZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"While setting up signal stack: %m"

	.comm	_SA_ONSTACK,4,2                 ## @SA_ONSTACK
	.comm	_SA_SIGINFO,4,2                 ## @SA_SIGINFO
	.comm	_segv_handler,4,2               ## @segv_handler
	.comm	_SIGSEGV,4,2                    ## @SIGSEGV
L_.str.1:                               ## @.str.1
	.asciz	"While setting up signal handler: %m"

	.no_dead_strip	_darwin_rs6000_extra_signals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function darwin_rs6000_extra_signals
_darwin_rs6000_extra_signals:           ; @darwin_rs6000_extra_signals
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _SIGSTKSZ@GOTPAGE
Lloh1:
	ldr	x19, [x19, _SIGSTKSZ@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_xmalloc
	ldr	w8, [x19]
	stp	w8, w0, [sp, #8]
	str	xzr, [sp]
	mov	x0, sp
	mov	x1, #0
	bl	_sigaltstack
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal_error
LBB0_2:
	add	x8, sp, #16
	add	x0, x8, #8
	bl	_sigemptyset
Lloh4:
	adrp	x8, _SA_ONSTACK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SA_ONSTACK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _SA_SIGINFO@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SA_SIGINFO@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh10:
	adrp	x9, _segv_handler@GOTPAGE
Lloh11:
	ldr	x9, [x9, _segv_handler@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
Lloh13:
	adrp	x8, _SIGSEGV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SIGSEGV@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	add	x1, sp, #16
	mov	w2, #0
	bl	_sigaction
	tbz	x0, #63, LBB0_4
; %bb.3:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal_error
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGSTKSZ,4,2                   ; @SIGSTKSZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"While setting up signal stack: %m"

	.comm	_SA_ONSTACK,4,2                 ; @SA_ONSTACK
	.comm	_SA_SIGINFO,4,2                 ; @SA_SIGINFO
	.comm	_segv_handler,4,2               ; @segv_handler
	.comm	_SIGSEGV,4,2                    ; @SIGSEGV
l_.str.1:                               ; @.str.1
	.asciz	"While setting up signal handler: %m"

	.no_dead_strip	_darwin_rs6000_extra_signals
.subsections_via_symbols
