	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lbtf_op_remove_interface
_lbtf_op_remove_interface:              ## @lbtf_op_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), %rbx
	movq	_LBTF_DEB_MACOPS@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_lbtf_deb_enter
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_NL80211_IFTYPE_MESH_POINT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_lbtf_beacon_ctrl
LBB0_3:
	movq	_LBTF_PASSIVE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_lbtf_set_mode
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_lbtf_set_bssid
	movq	$0, (%rbx)
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_lbtf_deb_leave                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LBTF_DEB_MACOPS,4,2            ## @LBTF_DEB_MACOPS
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ## @NL80211_IFTYPE_MESH_POINT
	.comm	_LBTF_PASSIVE_MODE,4,2          ## @LBTF_PASSIVE_MODE
	.no_dead_strip	_lbtf_op_remove_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lbtf_op_remove_interface
_lbtf_op_remove_interface:              ; @lbtf_op_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]
Lloh0:
	adrp	x20, _LBTF_DEB_MACOPS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LBTF_DEB_MACOPS@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_lbtf_deb_enter
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _NL80211_IFTYPE_MESH_POINT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _NL80211_IFTYPE_MESH_POINT@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_lbtf_beacon_ctrl
LBB0_2:
Lloh8:
	adrp	x8, _LBTF_PASSIVE_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LBTF_PASSIVE_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lbtf_set_mode
	mov	x0, x19
	mov	w1, #0
	mov	x2, #0
	bl	_lbtf_set_bssid
	str	xzr, [x19]
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lbtf_deb_leave
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_LBTF_DEB_MACOPS,4,2            ; @LBTF_DEB_MACOPS
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ; @NL80211_IFTYPE_MESH_POINT
	.comm	_LBTF_PASSIVE_MODE,4,2          ; @LBTF_PASSIVE_MODE
	.no_dead_strip	_lbtf_op_remove_interface
.subsections_via_symbols
