	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_proc_clear_current_signal      ## -- Begin function proc_clear_current_signal
	.p2align	4, 0x90
_proc_clear_current_signal:             ## @proc_clear_current_signal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movl	12(%rdi), %edi
	xorl	%esi, %esi
	callq	_find_procinfo_or_die
	movq	%rax, %rdi
LBB0_2:
	movl	8(%rdi), %edi
	movq	_PIOCSSIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_ioctl
	shrq	$63, %rax
	xorl	$1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIOCSSIG,4,2                   ## @PIOCSSIG
	.comm	_PCSSIG,4,2                     ## @PCSSIG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_proc_clear_current_signal      ; -- Begin function proc_clear_current_signal
	.p2align	2
_proc_clear_current_signal:             ; @proc_clear_current_signal
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x0, #12]
	mov	w1, #0
	bl	_find_procinfo_or_die
LBB0_2:
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _PIOCSSIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIOCSSIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_ioctl
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PIOCSSIG,4,2                   ; @PIOCSSIG
	.comm	_PCSSIG,4,2                     ; @PCSSIG
.subsections_via_symbols
