	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_tdls_ap_ies                ## -- Begin function wpa_tdls_ap_ies
	.p2align	4, 0x90
_wpa_tdls_ap_ies:                       ## @wpa_tdls_ap_ies
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, (%rdi)
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	leaq	-56(%rbp), %rax
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_ieee802_11_parse_elems
	movq	_ParseFailed@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.2:
	cmpq	$0, -48(%rbp)
	je	LBB0_5
## %bb.3:
	cmpl	$5, -56(%rbp)
	jl	LBB0_5
## %bb.4:
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	_wpa_tdls_prohibited
	movl	%eax, 4(%rbx)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	testl	%eax, %eax
	leaq	L_.str.2(%rip), %r13
	leaq	L_.str.1(%rip), %r15
	movq	%r15, %rdx
	cmoveq	%r13, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	%r14, %rdi
	callq	_wpa_tdls_chan_switch_prohibited
	movl	%eax, (%rbx)
	movl	(%r12), %edi
	testl	%eax, %eax
	cmoveq	%r13, %r15
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_printf
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ParseFailed,8,3                ## @ParseFailed
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TDLS: TDLS is %s in the target BSS"

L_.str.1:                               ## @.str.1
	.asciz	"prohibited"

L_.str.2:                               ## @.str.2
	.asciz	"allowed"

L_.str.3:                               ## @.str.3
	.asciz	"TDLS: TDLS channel switch %s in the target BSS"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_tdls_ap_ies                ; -- Begin function wpa_tdls_ap_ies
	.p2align	2
_wpa_tdls_ap_ies:                       ; @wpa_tdls_ap_ies
	.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
	str	xzr, [x0]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x8, x2
	mov	x19, x0
	mov	x2, sp
	mov	x0, x1
	mov	x1, x8
	mov	w3, #0
	bl	_ieee802_11_parse_elems
Lloh0:
	adrp	x8, _ParseFailed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ParseFailed@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [sp, #8]
	ldr	w10, [sp]
	cmp	x0, x8
	ccmp	x9, #0, #4, ne
	ccmp	w10, #5, #8, ne
	b.lt	LBB0_3
; %bb.2:
	mov	x0, sp
	bl	_wpa_tdls_prohibited
	str	w0, [x19, #4]
Lloh3:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh7:
	adrp	x22, l_.str.2@PAGE
Lloh8:
	add	x22, x22, l_.str.2@PAGEOFF
	cmp	w0, #0
	csel	x2, x22, x21, eq
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_wpa_printf
	mov	x0, sp
	bl	_wpa_tdls_chan_switch_prohibited
	str	w0, [x19]
	ldr	w8, [x20]
	cmp	w0, #0
	csel	x2, x22, x21, eq
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x8
	bl	_wpa_printf
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 AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ParseFailed,8,3                ; @ParseFailed
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TDLS: TDLS is %s in the target BSS"

l_.str.1:                               ; @.str.1
	.asciz	"prohibited"

l_.str.2:                               ; @.str.2
	.asciz	"allowed"

l_.str.3:                               ; @.str.3
	.asciz	"TDLS: TDLS channel switch %s in the target BSS"

.subsections_via_symbols
