	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism2_ioctl_giwap
_prism2_ioctl_giwap:                    ## @prism2_ioctl_giwap
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	16(%rax), %r15
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r14)
	movl	(%rax), %ecx
	cmpl	$128, %ecx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %ecx
	je	LBB0_5
## %bb.2:
	cmpl	$130, %ecx
	jne	LBB0_7
## %bb.3:
	movq	(%rbx), %rsi
	jmp	LBB0_4
LBB0_6:
	movq	8(%rax), %rsi
	jmp	LBB0_4
LBB0_5:
	movq	16(%r15), %rsi
LBB0_4:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
LBB0_10:
	callq	_memcpy
	xorl	%eax, %eax
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	8(%r15), %rax
	movq	_HFA384X_RID_CURRENTBSSID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	$1, %r8d
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movq	(%r15), %rdi
	movl	(%r12), %edx
	movq	%r14, %rsi
	jmp	LBB0_10
LBB0_8:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ARPHRD_ETHER,4,2               ## @ARPHRD_ETHER
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_HFA384X_RID_CURRENTBSSID,4,2   ## @HFA384X_RID_CURRENTBSSID
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_prism2_ioctl_giwap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism2_ioctl_giwap
_prism2_ioctl_giwap:                    ; @prism2_ioctl_giwap
	.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	x19, x2
	mov	x20, x0
	bl	_netdev_priv
	ldr	x21, [x0, #16]
Lloh0:
	adrp	x8, _ARPHRD_ETHER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_9
; %bb.3:
	ldr	x1, [x20]
	b	LBB0_6
LBB0_4:
	ldr	x1, [x0, #8]
	b	LBB0_6
LBB0_5:
	ldr	x1, [x21, #16]
LBB0_6:
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
LBB0_7:
	bl	_memcpy
	mov	w0, #0
LBB0_8:
	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
LBB0_9:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _HFA384X_RID_CURRENTBSSID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HFA384X_RID_CURRENTBSSID@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
Lloh9:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh10:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x20
	mov	x2, x19
	mov	w4, #1
	blr	x8
	tbnz	w0, #31, LBB0_11
; %bb.10:
	ldr	x0, [x21]
	ldr	w2, [x22]
	mov	x1, x19
	b	LBB0_7
LBB0_11:
Lloh11:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ARPHRD_ETHER,4,2               ; @ARPHRD_ETHER
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_HFA384X_RID_CURRENTBSSID,4,2   ; @HFA384X_RID_CURRENTBSSID
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_prism2_ioctl_giwap
.subsections_via_symbols
