	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_cmd_exec_act             ## -- Begin function event_cmd_exec_act
	.p2align	4, 0x90
_event_cmd_exec_act:                    ## @event_cmd_exec_act
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$-1, -28(%rbp)
	xorl	%eax, %eax
	callq	_fork
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.1:
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	leaq	-28(%rbp), %rsi
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_waitpid
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %r14
	movq	_EINTR@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	cmpl	%eax, (%r14)
	jne	LBB0_7
## %bb.4:
	leaq	-28(%rbp), %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_waitpid
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %eax
	cmpl	%eax, (%r14)
	je	LBB0_5
LBB0_7:
	movl	-28(%rbp), %eax
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	movl	$-1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_DFL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_signal
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_signal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_signal
	movq	__PATH_BSHELL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	xorl	%r8d, %r8d
	callq	_execl
	movl	$127, %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot fork"

	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIG_DFL,4,2                    ## @SIG_DFL
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	__PATH_BSHELL,4,2               ## @_PATH_BSHELL
L_.str.1:                               ## @.str.1
	.asciz	"sh"

L_.str.2:                               ## @.str.2
	.asciz	"-c"

	.comm	_errno,4,2                      ## @errno
	.comm	_EINTR,4,2                      ## @EINTR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_cmd_exec_act             ; -- Begin function event_cmd_exec_act
	.p2align	2
_event_cmd_exec_act:                    ; @event_cmd_exec_act
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w8, #-1
	str	w8, [sp, #12]
	bl	_fork
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.1:
	cbz	w0, LBB0_8
; %bb.2:
	add	x1, sp, #12
	mov	w2, #0
	bl	_waitpid
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.3:
Lloh0:
	adrp	x19, _errno@GOTPAGE
Lloh1:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x20, _EINTR@GOTPAGE
Lloh3:
	ldr	x20, [x20, _EINTR@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	w0, #-1
	mov	w2, #0
	bl	_waitpid
	ldr	w8, [x19]
	ldr	w9, [x20]
	cmn	w0, #1
	ccmp	w8, w9, #0, eq
	b.eq	LBB0_4
LBB0_5:
	ldr	w0, [sp, #12]
	b	LBB0_7
LBB0_6:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
Lloh6:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x20, _SIG_DFL@GOTPAGE
Lloh10:
	ldr	x20, [x20, _SIG_DFL@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_signal
Lloh11:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_signal
Lloh14:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_signal
Lloh17:
	adrp	x8, __PATH_BSHELL@GOTPAGE
Lloh18:
	ldr	x8, [x8, __PATH_BSHELL@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	w3, [x19]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh22:
	adrp	x2, l_.str.2@PAGE
Lloh23:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x4, #0
	bl	_execl
	mov	w0, #127
	bl	__exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot fork"

	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIG_DFL,4,2                    ; @SIG_DFL
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	__PATH_BSHELL,4,2               ; @_PATH_BSHELL
l_.str.1:                               ; @.str.1
	.asciz	"sh"

l_.str.2:                               ; @.str.2
	.asciz	"-c"

	.comm	_errno,4,2                      ; @errno
	.comm	_EINTR,4,2                      ; @EINTR
.subsections_via_symbols
