	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_tdls_assoc_resp_ies        ## -- Begin function wpa_tdls_assoc_resp_ies
	.p2align	4, 0x90
_wpa_tdls_assoc_resp_ies:               ## @wpa_tdls_assoc_resp_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	leaq	-24(%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_10
## %bb.2:
	cmpq	$0, -16(%rbp)
	je	LBB0_10
## %bb.3:
	cmpl	$5, -24(%rbp)
	jl	LBB0_10
## %bb.4:
	cmpl	$0, (%rbx)
	jne	LBB0_7
## %bb.5:
	leaq	-24(%rbp), %rdi
	callq	_wpa_tdls_prohibited
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$1, (%rbx)
LBB0_7:
	cmpl	$0, 4(%rbx)
	jne	LBB0_10
## %bb.8:
	leaq	-24(%rbp), %rdi
	callq	_wpa_tdls_chan_switch_prohibited
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movl	$1, 4(%rbx)
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	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 prohibited based on (Re)Association Response IEs"

L_.str.1:                               ## @.str.1
	.asciz	"TDLS: TDLS channel switch prohibited based on (Re)Association Response IEs"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_tdls_assoc_resp_ies        ; -- Begin function wpa_tdls_assoc_resp_ies
	.p2align	2
_wpa_tdls_assoc_resp_ies:               ; @wpa_tdls_assoc_resp_ies
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x1, LBB0_8
; %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_8
; %bb.2:
	ldr	w8, [x19]
	cbnz	w8, LBB0_5
; %bb.3:
	mov	x0, sp
	bl	_wpa_tdls_prohibited
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w8, #1
	str	w8, [x19]
LBB0_5:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_8
; %bb.6:
	mov	x0, sp
	bl	_wpa_tdls_chan_switch_prohibited
	cbz	x0, LBB0_8
; %bb.7:
Lloh8:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.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 prohibited based on (Re)Association Response IEs"

l_.str.1:                               ; @.str.1
	.asciz	"TDLS: TDLS channel switch prohibited based on (Re)Association Response IEs"

.subsections_via_symbols
