	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_async_kill
_remote_async_kill:                     ## @remote_async_kill
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_target_is_async_p
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_remote_desc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_serial_async
LBB0_2:
	movq	_kill_kludge@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	$0, (%rax)
	jmp	LBB0_5
LBB0_4:
	movq	_putpkt@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_RETURN_MASK_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	callq	_catch_errors
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_target_mourn_inferior          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_remote_desc,4,2                ## @remote_desc
	.comm	_kill_kludge,8,3                ## @kill_kludge
	.comm	_putpkt,8,3                     ## @putpkt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"k"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_RETURN_MASK_ERROR,4,2          ## @RETURN_MASK_ERROR
	.no_dead_strip	_remote_async_kill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_async_kill
_remote_async_kill:                     ; @remote_async_kill
	.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
	bl	_target_is_async_p
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _remote_desc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _remote_desc@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	mov	w2, #0
	bl	_serial_async
LBB0_2:
Lloh3:
	adrp	x8, _kill_kludge@GOTPAGE
Lloh4:
	ldr	x8, [x8, _kill_kludge@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.3:
	str	xzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_target_mourn_inferior
LBB0_4:
Lloh5:
	adrp	x8, _putpkt@GOTPAGE
Lloh6:
	ldr	x8, [x8, _putpkt@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
Lloh8:
	adrp	x8, _RETURN_MASK_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RETURN_MASK_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_catch_errors
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_target_mourn_inferior
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_remote_desc,4,2                ; @remote_desc
	.comm	_kill_kludge,8,3                ; @kill_kludge
	.comm	_putpkt,8,3                     ; @putpkt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"k"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_RETURN_MASK_ERROR,4,2          ; @RETURN_MASK_ERROR
	.no_dead_strip	_remote_async_kill
.subsections_via_symbols
