	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_job_control_test
	leaq	-24(%rbp), %rdi
	callq	_sigemptyset
	movq	_SA_SIGINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_rtsig_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_SIGRTMIN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-32(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	leaq	-36(%rbp), %r14
	movq	%r14, %rdi
	callq	_sigemptyset
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_sigaddset
	movq	_SIG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_getpid
	movl	(%rbx), %esi
	movl	%eax, %edi
	movl	$1, %edx
	callq	_sigqueue
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_job_control_test
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SA_SIGINFO,4,2                 ## @SA_SIGINFO
	.comm	_rtsig_handler,4,2              ## @rtsig_handler
	.comm	_SIGRTMIN,4,2                   ## @SIGRTMIN
	.comm	_SIG_BLOCK,4,2                  ## @SIG_BLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_job_control_test
	add	x8, sp, #16
	add	x0, x8, #8
	bl	_sigemptyset
Lloh0:
	adrp	x8, _SA_SIGINFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SA_SIGINFO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _rtsig_handler@GOTPAGE
Lloh4:
	ldr	x9, [x9, _rtsig_handler@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
Lloh6:
	adrp	x19, _SIGRTMIN@GOTPAGE
Lloh7:
	ldr	x19, [x19, _SIGRTMIN@GOTPAGEOFF]
	ldr	w0, [x19]
	add	x1, sp, #16
	mov	x2, #0
	bl	_sigaction
	add	x0, sp, #12
	bl	_sigemptyset
	ldr	w1, [x19]
	add	x0, sp, #12
	bl	_sigaddset
Lloh8:
	adrp	x8, _SIG_BLOCK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIG_BLOCK@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, sp, #12
	mov	x2, #0
	bl	_sigprocmask
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_getpid
	ldr	w1, [x19]
	mov	w2, #1
	bl	_sigqueue
	cbnz	x0, LBB0_1
; %bb.2:
	bl	_job_control_test
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SA_SIGINFO,4,2                 ; @SA_SIGINFO
	.comm	_rtsig_handler,4,2              ; @rtsig_handler
	.comm	_SIGRTMIN,4,2                   ; @SIGRTMIN
	.comm	_SIG_BLOCK,4,2                  ; @SIG_BLOCK
.subsections_via_symbols
