	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function JobPassSig_suspend
_JobPassSig_suspend:                    ## @JobPassSig_suspend
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_make_suspended@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	callq	_JobCondPassSig
	leaq	-60(%rbp), %r14
	movq	%r14, %rdi
	callq	_sigfillset
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sigdelset
	movq	_SIG_SETMASK@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rsi
	callq	_sigprocmask
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movq	%rax, -56(%rbp)
	leaq	-40(%rbp), %rdi
	callq	_sigemptyset
	movq	$0, -48(%rbp)
	leaq	-56(%rbp), %rsi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_sigaction
	movq	_JOB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_debug_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
LBB0_2:
	xorl	%eax, %eax
	callq	_getpid
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_kill
	leaq	_JobPassSig_suspend(%rip), %rax
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rsi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_sigaction
	movl	(%r15), %edi
	leaq	-28(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_make_suspended,4,2             ## @make_suspended
	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
	.comm	_JOB,4,2                        ## @JOB
	.comm	_debug_file,4,2                 ## @debug_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"JobPassSig passing signal %d to self.\n"

	.no_dead_strip	_JobPassSig_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function JobPassSig_suspend
_JobPassSig_suspend:                    ; @JobPassSig_suspend
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _make_suspended@GOTPAGE
Lloh1:
	ldr	x8, [x8, _make_suspended@GOTPAGEOFF]
	mov	w9, #1
Lloh2:
	str	w9, [x8]
	bl	_JobCondPassSig
	sub	x0, x29, #20
	bl	_sigfillset
	sub	x0, x29, #20
	mov	x1, x19
	bl	_sigdelset
Lloh3:
	adrp	x20, _SIG_SETMASK@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SIG_SETMASK@GOTPAGEOFF]
	ldr	w0, [x20]
	sub	x1, x29, #20
	add	x2, sp, #24
	bl	_sigprocmask
Lloh5:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
	str	x8, [sp]
	mov	x8, sp
	add	x0, x8, #16
	bl	_sigemptyset
	str	xzr, [sp, #8]
	mov	x1, sp
	mov	x0, x19
	mov	x2, #0
	bl	_sigaction
Lloh7:
	adrp	x8, _JOB@GOTPAGE
Lloh8:
	ldr	x8, [x8, _JOB@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_DEBUG
	cbz	x0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _debug_file@GOTPAGE
Lloh11:
	ldr	x8, [x8, _debug_file@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_2:
	bl	_getpid
	mov	x1, x19
	bl	_kill
Lloh15:
	adrp	x8, _JobPassSig_suspend@PAGE
Lloh16:
	add	x8, x8, _JobPassSig_suspend@PAGEOFF
	str	x8, [sp]
	mov	x1, sp
	mov	x0, x19
	mov	x2, #0
	bl	_sigaction
	ldr	w0, [x20]
	add	x1, sp, #24
	mov	x2, #0
	bl	_sigprocmask
	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	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_make_suspended,4,2             ; @make_suspended
	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
	.comm	_JOB,4,2                        ; @JOB
	.comm	_debug_file,4,2                 ; @debug_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"JobPassSig passing signal %d to self.\n"

	.no_dead_strip	_JobPassSig_suspend
.subsections_via_symbols
