	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_mesh_del_route            ## -- Begin function wlan_mesh_del_route
	.p2align	4, 0x90
_wlan_mesh_del_route:                   ## @wlan_mesh_del_route
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_IEEE80211_MESH_RTCMD_DELETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	_IEEE80211_ADDR_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	(%rdi), %edi
	movq	_IEEE80211_IOC_MESH_RTCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %ecx
	leaq	-12(%rbp), %rdx
	leaq	-24(%rbp), %r8
	movl	$1, %r9d
	callq	_wlan_ioctl
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	_RowStatus_destroy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MESH_RTCMD_DELETE,4,2 ## @IEEE80211_MESH_RTCMD_DELETE
	.comm	_IEEE80211_ADDR_LEN,8,3         ## @IEEE80211_ADDR_LEN
	.comm	_IEEE80211_IOC_MESH_RTCMD,4,2   ## @IEEE80211_IOC_MESH_RTCMD
	.comm	_RowStatus_destroy,4,2          ## @RowStatus_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_mesh_del_route            ; -- Begin function wlan_mesh_del_route
	.p2align	2
_wlan_mesh_del_route:                   ; @wlan_mesh_del_route
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _IEEE80211_MESH_RTCMD_DELETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_MESH_RTCMD_DELETE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _IEEE80211_ADDR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_ADDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp]
	ldr	w0, [x0]
Lloh6:
	adrp	x8, _IEEE80211_IOC_MESH_RTCMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_IOC_MESH_RTCMD@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w3, [x19, #4]
	add	x2, sp, #12
	mov	x4, sp
	mov	w5, #1
	bl	_wlan_ioctl
	tbnz	x0, #63, LBB0_2
; %bb.1:
	mov	w0, #0
Lloh9:
	adrp	x8, _RowStatus_destroy@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RowStatus_destroy@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MESH_RTCMD_DELETE,4,2 ; @IEEE80211_MESH_RTCMD_DELETE
	.comm	_IEEE80211_ADDR_LEN,8,3         ; @IEEE80211_ADDR_LEN
	.comm	_IEEE80211_IOC_MESH_RTCMD,4,2   ; @IEEE80211_IOC_MESH_RTCMD
	.comm	_RowStatus_destroy,4,2          ; @RowStatus_destroy
.subsections_via_symbols
