	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism2_get_datarates
_prism2_get_datarates:                  ## @prism2_get_datarates
	.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
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_HFA384X_RID_SUPPORTEDDATARATES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-96(%rbp), %rdx
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movl	$48, %ecx
	xorl	%r8d, %r8d
	callq	*(%rax)
	cmpl	$2, %eax
	jl	LBB0_4
## %bb.1:
	movl	%eax, %ebx
	movl	-96(%rbp), %edi
	callq	_le16_to_cpu
	addl	$-2, %ebx
	cmpl	%eax, %ebx
	jl	LBB0_4
## %bb.2:
	movl	%eax, %r12d
	cmpl	$10, %eax
	jg	LBB0_4
## %bb.3:
	leaq	-88(%rbp), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_memcpy
	movl	%r12d, %r15d
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%r15d, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HFA384X_RID_SUPPORTEDDATARATES,4,2 ## @HFA384X_RID_SUPPORTEDDATARATES
	.no_dead_strip	_prism2_get_datarates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism2_get_datarates
_prism2_get_datarates:                  ; @prism2_get_datarates
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _HFA384X_RID_SUPPORTEDDATARATES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HFA384X_RID_SUPPORTEDDATARATES@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #48
	mov	w4, #0
	blr	x8
	mov	w20, #0
	subs	w21, w0, #2
	b.lt	LBB0_4
; %bb.1:
	ldr	w0, [sp, #8]
	bl	_le16_to_cpu
	cmp	w21, w0
	ccmp	w0, #10, #0, ge
	b.le	LBB0_3
; %bb.2:
	mov	w20, #0
	b	LBB0_4
LBB0_3:
	mov	x20, x0
	add	x8, sp, #8
	add	x1, x8, #8
	mov	x0, x19
	mov	x2, x20
	bl	_memcpy
LBB0_4:
	ldur	x8, [x29, #-40]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HFA384X_RID_SUPPORTEDDATARATES,4,2 ; @HFA384X_RID_SUPPORTEDDATARATES
	.no_dead_strip	_prism2_get_datarates
.subsections_via_symbols
