	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function main_sig_handler
_main_sig_handler:                      ## @main_sig_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
	movl	$1, %eax
	movl	%ebx, %ecx
	shlq	%cl, %rax
	movq	_pending_signals@GOTPCREL(%rip), %rcx
	orq	%rax, (%rcx)
	movq	_SIGINT@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_sigint_immediate_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_signal
LBB0_2:
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_3
## %bb.4:
	movq	_sigterm_immediate_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_signal                         ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pending_signals,8,3            ## @pending_signals
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_sigint_immediate_handler,4,2   ## @sigint_immediate_handler
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_sigterm_immediate_handler,4,2  ## @sigterm_immediate_handler
	.no_dead_strip	_main_sig_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function main_sig_handler
_main_sig_handler:                      ; @main_sig_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
	mov	w8, #1
	lsl	x8, x8, x19
Lloh0:
	adrp	x9, _pending_signals@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pending_signals@GOTPAGEOFF]
	ldr	x10, [x9]
	orr	x8, x10, x8
	str	x8, [x9]
Lloh2:
	adrp	x8, _SIGINT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _sigint_immediate_handler@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sigint_immediate_handler@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_signal
LBB0_2:
Lloh8:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _sigterm_immediate_handler@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sigterm_immediate_handler@GOTPAGEOFF]
Lloh13:
	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
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_pending_signals,8,3            ; @pending_signals
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_sigint_immediate_handler,4,2   ; @sigint_immediate_handler
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_sigterm_immediate_handler,4,2  ; @sigterm_immediate_handler
	.no_dead_strip	_main_sig_handler
.subsections_via_symbols
