	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sigint_handler
_sigint_handler:                        ## @sigint_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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movaps	L___const.sigint_handler.message(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movb	$0, -32(%rbp)
	leaq	-48(%rbp), %rsi
	movl	$2, %edi
	movl	$16, %edx
	callq	_kwrite
	movl	$1, %eax
	movl	%ebx, %ecx
	shlq	%cl, %rax
	movq	_pending_signals@GOTPCREL(%rip), %rcx
	orq	%rax, (%rcx)
	movq	_sigint_immediate_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_signal
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @__const.sigint_handler.message
L___const.sigint_handler.message:
	.asciz	"SIGINT handled.\n"

	.comm	_pending_signals,8,3            ## @pending_signals
	.comm	_sigint_immediate_handler,4,2   ## @sigint_immediate_handler
	.no_dead_strip	_sigint_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sigint_handler
_sigint_handler:                        ; @sigint_handler
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, l___const.sigint_handler.message@PAGE
Lloh4:
	add	x8, x8, l___const.sigint_handler.message@PAGEOFF
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp]
	strb	wzr, [sp, #16]
	mov	x1, sp
	mov	w0, #2
	mov	w2, #16
	bl	_kwrite
	mov	w8, #1
	lsl	x8, x8, x19
Lloh6:
	adrp	x9, _pending_signals@GOTPAGE
Lloh7:
	ldr	x9, [x9, _pending_signals@GOTPAGEOFF]
	ldr	x10, [x9]
	orr	x8, x10, x8
	str	x8, [x9]
Lloh8:
	adrp	x8, _sigint_immediate_handler@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sigint_immediate_handler@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_signal
	ldr	x8, [sp, #24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.sigint_handler.message:       ; @__const.sigint_handler.message
	.asciz	"SIGINT handled.\n"

	.comm	_pending_signals,8,3            ; @pending_signals
	.comm	_sigint_immediate_handler,4,2   ; @sigint_immediate_handler
	.no_dead_strip	_sigint_handler
.subsections_via_symbols
