	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_ops_remove_interface
_rtw_ops_remove_interface:              ## @rtw_ops_remove_interface
	.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
	movq	(%rdi), %r14
	movq	8(%rsi), %rbx
	movl	(%rsi), %edx
	movl	16(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_rtw_info
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	12(%rbx), %edi
	callq	_eth_zero_addr
	movq	_PORT_SET_MAC_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RTW_NET_NO_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_PORT_SET_NET_TYPE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	$0, (%rbx)
	movq	_PORT_SET_BCN_CTRL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_rtw_vif_port_config
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stop vif %pM on port %d\n"

	.comm	_PORT_SET_MAC_ADDR,4,2          ## @PORT_SET_MAC_ADDR
	.comm	_RTW_NET_NO_LINK,4,2            ## @RTW_NET_NO_LINK
	.comm	_PORT_SET_NET_TYPE,4,2          ## @PORT_SET_NET_TYPE
	.comm	_PORT_SET_BCN_CTRL,4,2          ## @PORT_SET_BCN_CTRL
	.no_dead_strip	_rtw_ops_remove_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_ops_remove_interface
_rtw_ops_remove_interface:              ; @rtw_ops_remove_interface
	.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
	ldr	x19, [x0]
	ldr	x20, [x1, #8]
	ldr	w2, [x1]
	ldr	w3, [x20, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_rtw_info
	mov	x0, x19
	bl	_mutex_lock
	ldr	w0, [x20, #12]
	bl	_eth_zero_addr
Lloh2:
	adrp	x8, _PORT_SET_MAC_ADDR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PORT_SET_MAC_ADDR@GOTPAGEOFF]
Lloh4:
	adrp	x9, _RTW_NET_NO_LINK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RTW_NET_NO_LINK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	str	w9, [x20, #8]
Lloh8:
	adrp	x9, _PORT_SET_NET_TYPE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PORT_SET_NET_TYPE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	xzr, [x20]
Lloh11:
	adrp	x9, _PORT_SET_BCN_CTRL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PORT_SET_BCN_CTRL@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	mov	x1, x20
	bl	_rtw_vif_port_config
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stop vif %pM on port %d\n"

	.comm	_PORT_SET_MAC_ADDR,4,2          ; @PORT_SET_MAC_ADDR
	.comm	_RTW_NET_NO_LINK,4,2            ; @RTW_NET_NO_LINK
	.comm	_PORT_SET_NET_TYPE,4,2          ; @PORT_SET_NET_TYPE
	.comm	_PORT_SET_BCN_CTRL,4,2          ; @PORT_SET_BCN_CTRL
	.no_dead_strip	_rtw_ops_remove_interface
.subsections_via_symbols
