	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iface_Delete                   ## -- Begin function iface_Delete
	.p2align	4, 0x90
_iface_Delete:                          ## @iface_Delete
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_ncpaddr_family
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%r13d, %r13d
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_ID0socket
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.1:
	movl	%eax, %r12d
	cmpl	$0, (%rbx)
	je	LBB0_9
## %bb.2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	$1, %r15d
	xorl	%r12d, %r12d
	leaq	-72(%rbp), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	addq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ncprange_getaddr
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ncpaddr_equal
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %eax
	addq	$-4, %r14
	leaq	1(%r15), %rcx
	addq	$4, %r12
	cmpq	%rax, %r15
	movq	%rcx, %r15
	jb	LBB0_3
## %bb.8:
	xorl	%r13d, %r13d
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_9
LBB0_11:
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_log_Printf
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_4:
	movl	16(%rbx), %edi
	movq	8(%rbx), %rsi
	subq	%r14, %rsi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_iface_addr_Zap
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	8(%rbx), %rsi
	subq	%r14, %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ncp_IfaceAddrDeleted
	movq	8(%rbx), %rax
	movl	(%rbx), %edx
	subl	%r15d, %edx
	shll	$2, %edx
	leaq	(%rax,%r15,4), %rsi
	leaq	(%rax,%r15,4), %rdi
	addq	$-4, %rdi
	callq	_memmove
	decl	(%rbx)
	movl	$1, %r13d
	jmp	LBB0_9
LBB0_5:
	xorl	%r13d, %r13d
LBB0_9:
	movl	%r12d, %edi
	callq	_close
LBB0_10:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_LogERROR,4,2                   ## @LogERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iface_Delete: socket(): %s\n"

	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iface_Delete                   ; -- Begin function iface_Delete
	.p2align	2
_iface_Delete:                          ; @iface_Delete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	bl	_ncpaddr_family
Lloh0:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_ID0socket
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x20]
	cbz	w8, LBB0_8
; %bb.2:
	mov	x23, #0
	mov	x24, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, x23
	add	x1, sp, #8
	bl	_ncprange_getaddr
	add	x0, sp, #8
	mov	x1, x22
	bl	_ncpaddr_equal
	cbnz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	ldr	w8, [x20]
	add	x23, x23, #4
	cmp	x24, x8
	b.lo	LBB0_3
	b	LBB0_8
LBB0_5:
Lloh3:
	adrp	x8, _LogERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_log_Printf
	mov	w20, #0
	b	LBB0_10
LBB0_6:
	ldr	w0, [x20, #16]
	ldr	x8, [x20, #8]
	add	x1, x8, x23
	mov	x2, x19
	bl	_iface_addr_Zap
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x8, [x20, #8]
	add	x1, x8, x23
	mov	x0, x21
	bl	_ncp_IfaceAddrDeleted
	ldr	x8, [x20, #8]
	ldr	w9, [x20]
	mvn	w10, w24
	add	w9, w10, w9
	lsl	w2, w9, #2
	add	x0, x8, x23
	add	x1, x0, #4
	bl	_memmove
	ldr	w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20]
	mov	w20, #1
	b	LBB0_9
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	x0, x19
	bl	_close
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_LogERROR,4,2                   ; @LogERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iface_Delete: socket(): %s\n"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
