	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copyexec_main_sig_handler      ## -- Begin function copyexec_main_sig_handler
	.p2align	4, 0x90
_copyexec_main_sig_handler:             ## @copyexec_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
	movl	%edi, %ecx
	movl	$1, %eax
	shlq	%cl, %rax
	movq	_pending_signals@GOTPCREL(%rip), %rdx
	orq	%rax, (%rdx)
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_SIGINT@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_getpid
	movq	_sigterm_receiver_pid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pending_signals,8,3            ## @pending_signals
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_sigterm_receiver_pid,4,2       ## @sigterm_receiver_pid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copyexec_main_sig_handler      ; -- Begin function copyexec_main_sig_handler
	.p2align	2
_copyexec_main_sig_handler:             ; @copyexec_main_sig_handler
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w8, #1
Lloh0:
	adrp	x9, _pending_signals@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pending_signals@GOTPAGEOFF]
	lsl	x8, x8, x0
	ldr	x10, [x9]
	orr	x8, x10, x8
	str	x8, [x9]
Lloh2:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _SIGINT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SIGINT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	bl	_getpid
Lloh8:
	adrp	x8, _sigterm_receiver_pid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sigterm_receiver_pid@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_pending_signals,8,3            ; @pending_signals
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_sigterm_receiver_pid,4,2       ; @sigterm_receiver_pid
.subsections_via_symbols
