	.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
	movl	%edi, %ebx
	leaq	_sigterm_handler.message(%rip), %rsi
	movl	$2, %edi
	movl	$17, %edx
	callq	_kwrite
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movq	_pending_signals@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	movq	_sigterm_immediate_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_signal                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @sigterm_handler.message
_sigterm_handler.message:
	.asciz	"SIGTERM handled.\n"

	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_pending_signals,4,2            ## @pending_signals
	.comm	_sigterm_immediate_handler,4,2  ## @sigterm_immediate_handler
	.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
	mov	x19, x0
Lloh0:
	adrp	x1, _sigterm_handler.message@PAGE
Lloh1:
	add	x1, x1, _sigterm_handler.message@PAGEOFF
	mov	w0, #2
	mov	w2, #17
	bl	_kwrite
Lloh2:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh5:
	adrp	x9, _pending_signals@GOTPAGE
Lloh6:
	ldr	x9, [x9, _pending_signals@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
Lloh7:
	adrp	x8, _sigterm_immediate_handler@GOTPAGE
Lloh8:
	ldr	x8, [x8, _sigterm_immediate_handler@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_signal
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_sigterm_handler.message:               ; @sigterm_handler.message
	.asciz	"SIGTERM handled.\n"

	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_pending_signals,4,2            ; @pending_signals
	.comm	_sigterm_immediate_handler,4,2  ; @sigterm_immediate_handler
	.no_dead_strip	_sigterm_handler
.subsections_via_symbols
