	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IfaceDeleteCommand
_IfaceDeleteCommand:                    ## @IfaceDeleteCommand
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movslq	4(%rdi), %rax
	leal	1(%rax), %ecx
	movl	$-1, %ebx
	cmpl	%ecx, (%rdi)
	jne	LBB0_13
## %bb.1:
	movq	%rdi, %r14
	movq	32(%rdi), %rcx
	movl	(%rcx,%rax,4), %edx
	leaq	-24(%rbp), %rdi
	xorl	%esi, %esi
	callq	_ncpaddr_aton
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	movq	24(%r14), %rsi
	movq	8(%rsi), %rax
	movq	_ST_OPENED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	leaq	-24(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	callq	_ncpaddr_getip4
	movq	24(%r14), %rsi
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	(%rsi), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-24(%rbp), %rdi
	callq	_ncpaddr_ntoa
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_log_Printf
	movl	$1, %ebx
	jmp	LBB0_13
LBB0_6:
	movl	16(%rsi), %edi
	leaq	-24(%rbp), %rdx
	callq	_iface_Delete
	testl	%eax, %eax
	jne	LBB0_12
## %bb.7:
	movq	16(%r14), %rcx
	movl	$1, %eax
	cmpq	$0, (%rcx)
	jne	LBB0_12
## %bb.8:
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.9:
	leaq	-24(%rbp), %rdi
	callq	_ncpaddr_ntoa
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_prompt_Printf
	jmp	LBB0_11
LBB0_10:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-24(%rbp), %rdi
	callq	_ncpaddr_ntoa
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_log_Printf
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
LBB0_13:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ST_OPENED,8,3                  ## @ST_OPENED
	.comm	_LogWARN,4,2                    ## @LogWARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Cannot remove active interface address\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: No such interface address\n"

	.no_dead_strip	_IfaceDeleteCommand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IfaceDeleteCommand
_IfaceDeleteCommand:                    ; @IfaceDeleteCommand
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldp	w9, w8, [x0]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	w10, w8, #1
	cmp	w9, w10
	b.ne	LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #32]
	ldr	w2, [x9, x8, lsl #2]
	add	x0, sp, #8
	mov	x1, #0
	bl	_ncpaddr_aton
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x1, [x19, #24]
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x9, _ST_OPENED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ST_OPENED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	add	x0, sp, #8
	mov	x1, sp
	bl	_ncpaddr_getip4
	ldr	x1, [x19, #24]
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x1]
	ldr	x9, [sp]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
Lloh3:
	adrp	x8, _LogWARN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	add	x0, sp, #8
	bl	_ncpaddr_ntoa
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_log_Printf
	mov	w0, #1
	b	LBB0_15
LBB0_6:
	mov	w0, #-1
	b	LBB0_15
LBB0_7:
	ldr	w0, [x1, #16]
	add	x2, sp, #8
	bl	_iface_Delete
	cbnz	w0, LBB0_14
; %bb.8:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
	mov	w0, #1
	b	LBB0_14
LBB0_10:
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_12
; %bb.11:
	add	x0, sp, #8
	bl	_ncpaddr_ntoa
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_prompt_Printf
	b	LBB0_13
LBB0_12:
Lloh10:
	adrp	x8, _LogWARN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
	add	x0, sp, #8
	bl	_ncpaddr_ntoa
	mov	x2, x0
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_log_Printf
LBB0_13:
	mov	w0, #0
LBB0_14:
	cmp	w0, #0
	cset	w0, eq
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ST_OPENED,8,3                  ; @ST_OPENED
	.comm	_LogWARN,4,2                    ; @LogWARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Cannot remove active interface address\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: No such interface address\n"

	.no_dead_strip	_IfaceDeleteCommand
.subsections_via_symbols
