	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hvc_iucv_dtr_rts
_hvc_iucv_dtr_rts:                      ## @hvc_iucv_dtr_rts
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%esi, %esi
	je	LBB0_1
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	(%rdi), %edi
	callq	_hvc_iucv_get_private
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_flush_sndbuf_sync
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movq	8(%rbx), %r14
	movq	$0, 8(%rbx)
	movq	_IUCV_DISCONN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_iucv_path_sever
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_iucv_path_free                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IUCV_DISCONN,4,2               ## @IUCV_DISCONN
	.no_dead_strip	_hvc_iucv_dtr_rts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hvc_iucv_dtr_rts
_hvc_iucv_dtr_rts:                      ; @hvc_iucv_dtr_rts
	.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
	cbz	w1, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x0]
	bl	_hvc_iucv_get_private
	cbz	x0, LBB0_1
; %bb.3:
	mov	x19, x0
	bl	_flush_sndbuf_sync
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	x20, [x19, #8]
	str	xzr, [x19, #8]
Lloh0:
	adrp	x8, _IUCV_DISCONN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IUCV_DISCONN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_spin_unlock_bh
	cbz	x20, LBB0_1
; %bb.4:
	mov	x0, x20
	mov	x1, #0
	bl	_iucv_path_sever
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iucv_path_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IUCV_DISCONN,4,2               ; @IUCV_DISCONN
	.no_dead_strip	_hvc_iucv_dtr_rts
.subsections_via_symbols
