	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_get_mpath
_nl80211_get_mpath:                     ## @nl80211_get_mpath
	.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, %r12
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rsi), %rax
	movq	(%rax), %r13
	movq	8(%rax), %r14
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	-56(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	8(%r12), %rax
	movq	_NL80211_ATTR_MAC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	testl	%edi, %edi
	je	LBB0_9
## %bb.1:
	callq	_nla_data
	movq	8(%r13), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_7
## %bb.2:
	movq	(%r14), %rcx
	movq	(%rcx), %rdx
	movq	_NL80211_IFTYPE_MESH_POINT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_7
## %bb.3:
	leaq	-56(%rbp), %r8
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rax, %r13
	movq	%rax, %rdx
	movq	%r15, %rcx
	callq	_rdev_get_mpath
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.4:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	_NLMSG_DEFAULT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nlmsg_new
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	%rax, %r13
	movl	(%r12), %edx
	movl	4(%r12), %esi
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	movq	%r14, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	leaq	-56(%rbp), %rax
	pushq	%rax
	pushq	%r15
	callq	_nl80211_send_mpath
	addq	$16, %rsp
	movq	%r13, %rdi
	testq	%rax, %rax
	js	LBB0_14
## %bb.6:
	movq	%r12, %rsi
	callq	_genlmsg_reply
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_7:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_10:
	subl	(%rax), %ebx
LBB0_11:
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.12:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_14:
	callq	_nlmsg_free
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_NL80211_ATTR_MAC,8,3           ## @NL80211_ATTR_MAC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ## @NL80211_IFTYPE_MESH_POINT
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ## @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_nl80211_get_mpath
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_get_mpath
_nl80211_get_mpath:                     ; @nl80211_get_mpath
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x8, [x1, #16]
	ldp	x22, x20, [x8]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	sub	x0, x29, #64
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _NL80211_ATTR_MAC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NL80211_ATTR_MAC@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_8
; %bb.1:
	bl	_nla_data
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.2:
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _NL80211_IFTYPE_MESH_POINT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NL80211_IFTYPE_MESH_POINT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	mov	x23, x0
	sub	x4, x29, #64
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	mov	x3, x21
	bl	_rdev_get_mpath
	cbnz	w0, LBB0_10
; %bb.4:
Lloh14:
	adrp	x8, _NLMSG_DEFAULT_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NLMSG_DEFAULT_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_nlmsg_new
	cbz	x0, LBB0_12
; %bb.5:
	mov	x22, x0
	ldp	w2, w1, [x19]
	sub	x7, x29, #64
	mov	w3, #0
	mov	x4, x20
	mov	x5, x23
	mov	x6, x21
	bl	_nl80211_send_mpath
	tbnz	x0, #63, LBB0_13
; %bb.6:
	mov	x0, x22
	mov	x1, x19
	bl	_genlmsg_reply
	b	LBB0_10
LBB0_7:
Lloh20:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	mov	sp, x24
	ldur	x8, [x29, #-56]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.11:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_13:
	mov	x0, x22
	bl	_nlmsg_free
Lloh29:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_9
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_NL80211_ATTR_MAC,8,3           ; @NL80211_ATTR_MAC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ; @NL80211_IFTYPE_MESH_POINT
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ; @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_nl80211_get_mpath
.subsections_via_symbols
