	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netif_remove                   ## -- Begin function netif_remove
	.p2align	4, 0x90
_netif_remove:                          ## @netif_remove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	_netif_list@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rcx
	cmpq	%rdi, %rcx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	jmp	LBB0_2
LBB0_8:
	popq	%rbp
	retq
LBB0_5:
	movq	(%rdi), %rcx
	movq	%rcx, (%rax)
	movq	_netif_default@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	$0, (%rax)
LBB0_7:
	movq	_NETIF_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbp
	jmp	_LWIP_DEBUGF                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_netif_list,8,3                 ## @netif_list
	.comm	_netif_default,8,3              ## @netif_default
	.comm	_NETIF_DEBUG,4,2                ## @NETIF_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"netif_remove: removed netif\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netif_remove                   ; -- Begin function netif_remove
	.p2align	2
_netif_remove:                          ; @netif_remove
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _netif_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _netif_list@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8]
	cmp	x9, x0
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x9, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x9
	b	LBB0_2
LBB0_5:
	ret
LBB0_6:
	ldr	x9, [x0]
	str	x9, [x8]
Lloh2:
	adrp	x8, _netif_default@GOTPAGE
Lloh3:
	ldr	x8, [x8, _netif_default@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x9, x0
	b.ne	LBB0_8
; %bb.7:
	str	xzr, [x8]
LBB0_8:
Lloh4:
	adrp	x8, _NETIF_DEBUG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NETIF_DEBUG@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	b	_LWIP_DEBUGF
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_netif_list,8,3                 ; @netif_list
	.comm	_netif_default,8,3              ; @netif_default
	.comm	_NETIF_DEBUG,4,2                ; @NETIF_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"netif_remove: removed netif\n"

.subsections_via_symbols
