	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_supp_rates
_copy_supp_rates:                       ## @copy_supp_rates
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	24(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rax
	movl	(%rsi), %edi
	addq	$2, %rdx
	movq	8(%rax), %rsi
	movq	16(%rax), %rcx
	addq	$-2, %rcx
	leaq	8(%rsi), %r8
	xorl	%ebx, %ebx
	testq	%rsi, %rsi
	cmoveq	%rsi, %r8
	je	LBB0_3
## %bb.4:
	movq	(%rax), %r9
	addq	$-2, %r9
	jmp	LBB0_5
LBB0_1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$-1, %ebx
	jmp	LBB0_6
LBB0_3:
	xorl	%r9d, %r9d
LBB0_5:
	movl	$4, %esi
	callq	_merge_byte_arrays
	movl	%eax, 4(%r14)
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TDLS: No supported rates received"

	.no_dead_strip	_copy_supp_rates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_supp_rates
_copy_supp_rates:                       ; @copy_supp_rates
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x9, [x0, #24]
	cbz	x9, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x8, x0
	ldr	w0, [x1]
	add	x2, x9, #2
	ldp	x10, x9, [x8, #8]
	sub	x3, x9, #2
	add	x9, x10, #8
	cmp	x10, #0
	csel	x4, xzr, x9, eq
	cbz	x10, LBB0_4
; %bb.2:
	ldr	x8, [x8]
	sub	x5, x8, #2
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_6
LBB0_4:
	mov	x5, #0
LBB0_5:
	mov	w1, #4
	bl	_merge_byte_arrays
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #4]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TDLS: No supported rates received"

	.no_dead_strip	_copy_supp_rates
.subsections_via_symbols
