	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_set_wds_peer
_nl80211_set_wds_peer:                  ## @nl80211_set_wds_peer
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movq	_NL80211_ATTR_MAC@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_1
## %bb.3:
	movq	%rsi, %rbx
	movq	8(%rsi), %rax
	movq	(%rax), %r14
	movq	8(%rax), %r15
	movq	8(%r15), %r13
	movq	%r15, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	movq	(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.7:
	movq	(%r13), %rax
	movq	_NL80211_IFTYPE_WDS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.8:
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_data
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdev_set_wds_peer              ## TAILCALL
LBB0_6:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_MAC,8,3           ## @NL80211_ATTR_MAC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NL80211_IFTYPE_WDS,8,3         ## @NL80211_IFTYPE_WDS
	.no_dead_strip	_nl80211_set_wds_peer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_set_wds_peer
_nl80211_set_wds_peer:                  ; @nl80211_set_wds_peer
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x22, _NL80211_ATTR_MAC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NL80211_ATTR_MAC@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1, #8]
	ldp	x20, x21, [x8]
	ldr	x23, [x21, #8]
	mov	x0, x21
	bl	_netif_running
	cbz	x0, LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.5:
	ldr	x8, [x23]
Lloh6:
	adrp	x9, _NL80211_IFTYPE_WDS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NL80211_IFTYPE_WDS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_data
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	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
	b	_rdev_set_wds_peer
LBB0_7:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_MAC,8,3           ; @NL80211_ATTR_MAC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NL80211_IFTYPE_WDS,8,3         ; @NL80211_IFTYPE_WDS
	.no_dead_strip	_nl80211_set_wds_peer
.subsections_via_symbols
