	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hvc_iucv_notifier_del
_hvc_iucv_notifier_del:                 ## @hvc_iucv_notifier_del
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %edi
	callq	_hvc_iucv_get_private
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_flush_sndbuf_sync
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	leaq	24(%rbx), %rdi
	callq	_destroy_tty_buffer_list
	movq	%rbx, %rdi
	addq	$20, %rdi
	callq	_destroy_tty_buffer_list
	movq	_TTY_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TTY_CLOSED,4,2                 ## @TTY_CLOSED
	.no_dead_strip	_hvc_iucv_notifier_del
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hvc_iucv_notifier_del
_hvc_iucv_notifier_del:                 ; @hvc_iucv_notifier_del
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x0, x1
	bl	_hvc_iucv_get_private
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	bl	_flush_sndbuf_sync
	mov	x0, x19
	bl	_spin_lock_bh
	add	x0, x19, #24
	bl	_destroy_tty_buffer_list
	add	x0, x19, #20
	bl	_destroy_tty_buffer_list
Lloh0:
	adrp	x8, _TTY_CLOSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TTY_CLOSED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_bh
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TTY_CLOSED,4,2                 ; @TTY_CLOSED
	.no_dead_strip	_hvc_iucv_notifier_del
.subsections_via_symbols
