	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sig_handler
_sig_handler:                           ## @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
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_child_finished@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_2:
	movq	_done@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_signr@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_child_finished,4,2             ## @child_finished
	.comm	_done,4,2                       ## @done
	.comm	_signr,4,2                      ## @signr
	.no_dead_strip	_sig_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sig_handler
_sig_handler:                           ; @sig_handler
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _child_finished@GOTPAGE
Lloh4:
	ldr	x8, [x8, _child_finished@GOTPAGEOFF]
	mov	w9, #1
Lloh5:
	str	w9, [x8]
LBB0_2:
Lloh6:
	adrp	x8, _done@GOTPAGE
Lloh7:
	ldr	x8, [x8, _done@GOTPAGEOFF]
	mov	w9, #1
Lloh8:
	str	w9, [x8]
Lloh9:
	adrp	x8, _signr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _signr@GOTPAGEOFF]
Lloh11:
	str	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_child_finished,4,2             ; @child_finished
	.comm	_done,4,2                       ; @done
	.comm	_signr,4,2                      ; @signr
	.no_dead_strip	_sig_handler
.subsections_via_symbols
