	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism2_ioctl_siwnickn
_prism2_ioctl_siwnickn:                 ## @prism2_ioctl_siwnickn
	.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, %r15
	movq	%rdx, %r12
	movq	%rdi, %r13
	callq	_netdev_priv
	movq	(%rax), %rbx
	movl	16(%rbx), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	16(%rbx), %edi
	movl	(%r12), %edx
	movq	%r15, %rsi
	callq	_memcpy
	movl	$1, (%rbx)
	movq	_HFA384X_RID_CNFOWNNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	movq	%r13, %rdi
	callq	_hostap_set_string
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	%r13, %rdi
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HFA384X_RID_CNFOWNNAME,4,2     ## @HFA384X_RID_CNFOWNNAME
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_prism2_ioctl_siwnickn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism2_ioctl_siwnickn
_prism2_ioctl_siwnickn:                 ; @prism2_ioctl_siwnickn
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
	bl	_netdev_priv
	ldr	x22, [x0]
	ldr	w0, [x22, #16]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x22, #16]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_memcpy
	mov	w8, #1
	str	w8, [x22]
Lloh0:
	adrp	x8, _HFA384X_RID_CNFOWNNAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HFA384X_RID_CNFOWNNAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x22, #16]
	mov	x0, x19
	bl	_hostap_set_string
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HFA384X_RID_CNFOWNNAME,4,2     ; @HFA384X_RID_CNFOWNNAME
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_prism2_ioctl_siwnickn
.subsections_via_symbols
