	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_signal_handler
_test_signal_handler:                   ## @test_signal_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	_stopped_already@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_LOG_ERROR
	movq	_stop@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$1, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_LOG_ERROR
	movl	$255, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_stopped_already,4,2            ## @stopped_already
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Killing program"

L_.str.1:                               ## @.str.1
	.asciz	"Stopping normally. CTRL+C again to kill program"

	.comm	_stop,4,2                       ## @stop
	.no_dead_strip	_test_signal_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_signal_handler
_test_signal_handler:                   ; @test_signal_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	x19, _stopped_already@GOTPAGE
Lloh1:
	ldr	x19, [x19, _stopped_already@GOTPAGEOFF]
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LOG_ERROR
Lloh4:
	adrp	x8, _stop@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stop@GOTPAGEOFF]
	mov	w9, #1
Lloh6:
	str	w9, [x8]
	str	w9, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOG_ERROR
	mov	w0, #255
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_stopped_already,4,2            ; @stopped_already
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Killing program"

l_.str.1:                               ; @.str.1
	.asciz	"Stopping normally. CTRL+C again to kill program"

	.comm	_stop,4,2                       ; @stop
	.no_dead_strip	_test_signal_handler
.subsections_via_symbols
