	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_peer_supp_oper_classes
_copy_peer_supp_oper_classes:           ## @copy_peer_supp_oper_classes
	.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	%rsi, %r14
	movl	8(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rdx
	cmpq	%rdx, (%r14)
	jge	LBB0_7
LBB0_4:
	callq	_os_free
	movq	(%rbx), %rdi
	callq	_os_zalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %rdi
	movq	(%rbx), %rdx
	movl	8(%rbx), %esi
LBB0_7:
	movq	%rdx, (%r14)
	callq	_os_memcpy
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_hexdump
	jmp	LBB0_8
LBB0_1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movl	$-1, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TDLS: No supported operating classes received"

L_.str.1:                               ## @.str.1
	.asciz	"TDLS: Peer Supported Operating Classes"

	.no_dead_strip	_copy_peer_supp_oper_classes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_peer_supp_oper_classes
_copy_peer_supp_oper_classes:           ; @copy_peer_supp_oper_classes
	.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
	mov	x19, x1
	ldr	w1, [x0, #8]
	cbz	w1, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x19]
	ldr	x2, [x20]
	cmp	x8, x2
	b.ge	LBB0_5
LBB0_3:
	bl	_os_free
	ldr	x0, [x20]
	bl	_os_zalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.4:
	ldr	x2, [x20]
	ldr	w1, [x20, #8]
LBB0_5:
	str	x2, [x19]
	bl	_os_memcpy
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x3, x2, [x19]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_hexdump
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #-1
	b	LBB0_8
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TDLS: No supported operating classes received"

l_.str.1:                               ; @.str.1
	.asciz	"TDLS: Peer Supported Operating Classes"

	.no_dead_strip	_copy_peer_supp_oper_classes
.subsections_via_symbols
