	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfg80211_wext_siwpmksa
_cfg80211_wext_siwpmksa:                ## @cfg80211_wext_siwpmksa
	.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	%rcx, %r12
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movl	8(%rbx), %edi
	callq	_wiphy_to_dev
	movq	%rax, %r14
	leaq	-48(%rbp), %rdi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	(%rbx), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	8(%r12), %eax
	movl	%eax, -44(%rbp)
	movl	4(%r12), %eax
	movl	%eax, -48(%rbp)
	movl	(%r12), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$129, %eax
	je	LBB0_9
## %bb.4:
	cmpl	$130, %eax
	jne	LBB0_11
## %bb.5:
	movq	(%r14), %rax
	cmpl	$0, 8(%rax)
	je	LBB0_11
## %bb.6:
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_rdev_set_pmksa
	movl	%eax, %r13d
	jmp	LBB0_13
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_7:
	movq	(%r14), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_11
## %bb.8:
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_rdev_del_pmksa
	movl	%eax, %r13d
	jmp	LBB0_13
LBB0_9:
	movq	(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_rdev_flush_pmksa
	movl	%eax, %r13d
	jmp	LBB0_13
LBB0_11:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
LBB0_12:
	subl	(%rax), %r13d
LBB0_13:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_cfg80211_wext_siwpmksa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfg80211_wext_siwpmksa
_cfg80211_wext_siwpmksa:                ; @cfg80211_wext_siwpmksa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x3
	mov	x19, x0
	ldr	x22, [x0]
	ldr	w0, [x22, #8]
	bl	_wiphy_to_dev
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	ldur	d0, [x21, #4]
	str	d0, [sp, #8]
	ldr	w8, [x21]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.3:
	cmp	w8, #130
	b.ne	LBB0_11
; %bb.4:
	ldr	x8, [x20]
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_11
; %bb.5:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_rdev_set_pmksa
	b	LBB0_13
LBB0_6:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
	ldr	x8, [x20]
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_11
; %bb.8:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_rdev_del_pmksa
	b	LBB0_13
LBB0_9:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbz	w8, LBB0_11
; %bb.10:
	mov	x0, x20
	mov	x1, x19
	bl	_rdev_flush_pmksa
	b	LBB0_13
LBB0_11:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_cfg80211_wext_siwpmksa
.subsections_via_symbols
