	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sighup_handler
_sighup_handler:                        ## @sighup_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movabsq	$2865672330168137, %rax         ## imm = 0xA2E5055484749
	movq	%rax, -19(%rbp)
	movabsq	$5208212115452882791, %rax      ## imm = 0x4847495320746F67
	movq	%rax, -24(%rbp)
	leaq	-24(%rbp), %rsi
	movl	$2, %edi
	movl	$12, %edx
	callq	_kwrite
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	_sighup_handler(%rip), %rsi
	callq	_signal
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.sighup_handler.message:       ## @__const.sighup_handler.message
	.asciz	"got SIGHUP.\n"

	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.no_dead_strip	_sighup_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sighup_handler
_sighup_handler:                        ; @sighup_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, l___const.sighup_handler.message@PAGE
Lloh4:
	add	x8, x8, l___const.sighup_handler.message@PAGEOFF
	ldr	x9, [x8]
	str	x9, [sp, #8]
	ldur	x8, [x8, #5]
	stur	x8, [sp, #13]
	add	x1, sp, #8
	mov	w0, #2
	mov	w2, #12
	bl	_kwrite
Lloh5:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, _sighup_handler@PAGE
Lloh9:
	add	x1, x1, _sighup_handler@PAGEOFF
	bl	_signal
	ldur	x8, [x29, #-8]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.sighup_handler.message:       ; @__const.sighup_handler.message
	.asciz	"got SIGHUP.\n"

	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.no_dead_strip	_sighup_handler
.subsections_via_symbols
