	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism2_ioctl_mlme
_prism2_ioctl_mlme:                     ## @prism2_ioctl_mlme
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	8(%rsi), %edi
	callq	_cpu_to_le16
	movl	%eax, -20(%rbp)
	movl	4(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.2:
	movl	(%rbx), %esi
	movq	_IEEE80211_STYPE_DEAUTH@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movl	(%rbx), %esi
	movq	_IEEE80211_STYPE_DISASSOC@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	leaq	-20(%rbp), %rcx
	movq	%r14, %rdi
	movl	$2, %r8d
	callq	_prism2_sta_send_mgmt
	jmp	LBB0_6
LBB0_5:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_STYPE_DEAUTH,4,2     ## @IEEE80211_STYPE_DEAUTH
	.comm	_IEEE80211_STYPE_DISASSOC,4,2   ## @IEEE80211_STYPE_DISASSOC
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_prism2_ioctl_mlme
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism2_ioctl_mlme
_prism2_ioctl_mlme:                     ; @prism2_ioctl_mlme
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #8]
	bl	_cpu_to_le16
	str	w0, [sp, #12]
	ldr	w8, [x20, #4]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
	ldr	w1, [x20]
Lloh0:
	adrp	x8, _IEEE80211_STYPE_DEAUTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_STYPE_DEAUTH@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _IEEE80211_STYPE_DISASSOC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_STYPE_DISASSOC@GOTPAGEOFF]
LBB0_4:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	mov	w4, #2
	bl	_prism2_sta_send_mgmt
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_STYPE_DEAUTH,4,2     ; @IEEE80211_STYPE_DEAUTH
	.comm	_IEEE80211_STYPE_DISASSOC,4,2   ; @IEEE80211_STYPE_DISASSOC
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_prism2_ioctl_mlme
.subsections_via_symbols
