	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism2_ioctl_giwsens
_prism2_ioctl_giwsens:                  ## @prism2_ioctl_giwsens
	.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	%rdx, %r14
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_HFA384X_RID_CNFSYSTEMSCALE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %ecx
	movl	$1, %r8d
	callq	*(%rax)
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	-20(%rbp), %edi
	callq	_le16_to_cpu
	movl	%eax, 4(%r14)
	movl	$1, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HFA384X_RID_CNFSYSTEMSCALE,4,2 ## @HFA384X_RID_CNFSYSTEMSCALE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_prism2_ioctl_giwsens
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism2_ioctl_giwsens
_prism2_ioctl_giwsens:                  ; @prism2_ioctl_giwsens
	.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	x19, x2
	mov	x20, x0
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _HFA384X_RID_CNFSYSTEMSCALE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HFA384X_RID_CNFSYSTEMSCALE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	w21, #1
	add	x2, sp, #12
	mov	x0, x20
	mov	w3, #2
	mov	w4, #1
	blr	x8
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_le16_to_cpu
	mov	x8, x0
	mov	w0, #0
	stp	w21, w8, [x19]
	b	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, #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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HFA384X_RID_CNFSYSTEMSCALE,4,2 ; @HFA384X_RID_CNFSYSTEMSCALE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_prism2_ioctl_giwsens
.subsections_via_symbols
