	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_peer_set_vlan             ## -- Begin function wlan_peer_set_vlan
	.p2align	4, 0x90
_wlan_peer_set_vlan:                    ## @wlan_peer_set_vlan
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	$0, -28(%rbp)
	movl	4(%rsi), %esi
	movq	_IEEE80211_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	%r14d, -40(%rbp)
	movq	$8, -48(%rbp)
	movl	(%rbx), %edi
	movq	_IEEE80211_IOC_STA_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movl	$1, %r9d
	callq	_wlan_ioctl
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	%r14d, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_ADDR_LEN,4,2         ## @IEEE80211_ADDR_LEN
	.comm	_IEEE80211_IOC_STA_VLAN,4,2     ## @IEEE80211_IOC_STA_VLAN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_peer_set_vlan             ; -- Begin function wlan_peer_set_vlan
	.p2align	2
_wlan_peer_set_vlan:                    ; @wlan_peer_set_vlan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	wzr, [sp, #28]
	ldr	w1, [x1, #4]
Lloh0:
	adrp	x8, _IEEE80211_ADDR_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_ADDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	str	w19, [sp, #8]
	mov	w8, #8
	str	x8, [sp, #16]
	ldr	w0, [x21]
Lloh3:
	adrp	x8, _IEEE80211_IOC_STA_VLAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_IOC_STA_VLAN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #28
	add	x3, sp, #8
	add	x4, sp, #16
	mov	w5, #1
	bl	_wlan_ioctl
	tbnz	x0, #63, LBB0_2
; %bb.1:
	mov	w0, #0
	str	w19, [x20]
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_ADDR_LEN,4,2         ; @IEEE80211_ADDR_LEN
	.comm	_IEEE80211_IOC_STA_VLAN,4,2     ; @IEEE80211_IOC_STA_VLAN
.subsections_via_symbols
