	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sigterm_handler
_sigterm_handler:                       ## @sigterm_handler
	.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	_received_sigterm@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	movq	_received_nb_signals@GOTPCREL(%rip), %rbx
	incl	(%rbx)
	xorl	%eax, %eax
	callq	_term_exit_sigsafe
	cmpl	$4, (%rbx)
	jge	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movl	$2, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_write
	movl	$123, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_received_sigterm,4,2           ## @received_sigterm
	.comm	_received_nb_signals,4,2        ## @received_nb_signals
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received > 3 system signals, hard exiting\n"

	.no_dead_strip	_sigterm_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sigterm_handler
_sigterm_handler:                       ; @sigterm_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _received_sigterm@GOTPAGE
Lloh1:
	ldr	x8, [x8, _received_sigterm@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x19, _received_nb_signals@GOTPAGE
Lloh4:
	ldr	x19, [x19, _received_nb_signals@GOTPAGEOFF]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	bl	_term_exit_sigsafe
	ldr	w8, [x19]
	cmp	w8, #4
	b.ge	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh5:
	adrp	x19, l_.str@PAGE
Lloh6:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	w0, #2
	mov	x1, x19
	bl	_write
	mov	w0, #123
	bl	_exit
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_received_sigterm,4,2           ; @received_sigterm
	.comm	_received_nb_signals,4,2        ; @received_nb_signals
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received > 3 system signals, hard exiting\n"

	.no_dead_strip	_sigterm_handler
.subsections_via_symbols
