	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_ipw_close
_do_ipw_close:                          ## @do_ipw_close
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	decq	(%rdi)
	je	LBB0_1
LBB0_3:
	popq	%rbp
	retq
LBB0_1:
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	$0, 24(%rdi)
	movq	$0, (%rax)
	movq	8(%rdi), %rax
	movq	_TTYTYPE_MODEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movl	16(%rdi), %edi
	popq	%rbp
	jmp	_ipwireless_ppp_close           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TTYTYPE_MODEM,8,3              ## @TTYTYPE_MODEM
	.no_dead_strip	_do_ipw_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_ipw_close
_do_ipw_close:                          ; @do_ipw_close
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	subs	x8, x8, #1
	str	x8, [x0]
	b.eq	LBB0_2
LBB0_1:
	ret
LBB0_2:
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_1
; %bb.3:
	str	xzr, [x0, #24]
	str	xzr, [x8]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _TTYTYPE_MODEM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TTYTYPE_MODEM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.4:
	ldr	w0, [x0, #16]
	b	_ipwireless_ppp_close
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TTYTYPE_MODEM,8,3              ; @TTYTYPE_MODEM
	.no_dead_strip	_do_ipw_close
.subsections_via_symbols
