	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802_11_parse_tests
_ieee802_11_parse_tests:                ## @ieee802_11_parse_tests
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_parse_tests@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	24(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	leaq	24(%r13), %r14
	movl	$56, %r15d
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %r12d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_parse_tests@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	(%r15,%r13), %r14
	movq	(%r13,%r15), %rdi
	addq	$32, %r15
	incl	%ebx
	testq	%rdi, %rdi
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-40(%r13,%r15), %esi
	leaq	-48(%rbp), %rdx
	movl	$1, %ecx
	callq	_ieee802_11_parse_elems
	cmpq	-56(%r13,%r15), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	movl	-40(%r13,%r15), %esi
	callq	_ieee802_11_ie_count
	cmpq	-48(%r13,%r15), %rax
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	leaq	l_.str.2(%rip), %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_ieee802_11_vendor_ie_concat
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %r12d
LBB0_8:
	leaq	l_.str.4(%rip), %rdi
	movl	$16, %esi
	movl	$287454020, %edx                ## imm = 0x11223344
	callq	_ieee802_11_vendor_ie_concat
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rbx, %rdi
	callq	_wpabuf_len
	leaq	L_.str.6(%rip), %r14
	cmpl	$2, %eax
	jne	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
	callq	_wpabuf_head
	cmpl	$1, (%rax)
	jne	LBB0_13
## %bb.12:
	cmpl	$2, 4(%rax)
	jne	LBB0_13
	jmp	LBB0_14
LBB0_9:
	leaq	L_.str.5(%rip), %r14
LBB0_13:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %r12d
LBB0_14:
	movq	%rbx, %rdi
	callq	_wpabuf_free
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ieee802_11_parse tests"

	.comm	_parse_tests,8,3                ## @parse_tests
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"ieee802_11_parse test %d failed"

	.section	__TEXT,__const
l_.str.2:                               ## @.str.2
	.asciz	"\000\001"

	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"ieee802_11_vendor_ie_concat test failed"

	.section	__TEXT,__const
l_.str.4:                               ## @.str.4
	.asciz	"\335\005\021\"3D\001\335\005\021\"3D\002\000\001"

	.section	__TEXT,__cstring,cstring_literals
L_.str.5:                               ## @.str.5
	.asciz	"ieee802_11_vendor_ie_concat test 2 failed"

L_.str.6:                               ## @.str.6
	.asciz	"ieee802_11_vendor_ie_concat test 3 failed"

	.no_dead_strip	_ieee802_11_parse_tests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802_11_parse_tests
_ieee802_11_parse_tests:                ; @ieee802_11_parse_tests
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh5:
	adrp	x22, _parse_tests@GOTPAGE
Lloh6:
	ldr	x22, [x22, _parse_tests@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	x25, x8
	ldr	x0, [x25, #24]!
Lloh7:
	adrp	x21, _MSG_ERROR@GOTPAGE
Lloh8:
	ldr	x21, [x21, _MSG_ERROR@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.1:
	mov	w23, #0
	mov	x24, #0
	mov	w19, #0
Lloh9:
	adrp	x20, l_.str.1@PAGE
Lloh10:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	str	x23, [sp]
	mov	x1, x20
	bl	_wpa_printf
	mov	w19, #-1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	add	x25, x8, x24
	ldr	x0, [x25, #56]!
	add	x24, x24, #32
	add	w23, w23, #1
	cbz	x0, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x26, x8, x24
	ldr	w1, [x26, #16]
	add	x2, sp, #8
	mov	w3, #1
	bl	_ieee802_11_parse_elems
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x25]
	ldr	w1, [x26, #16]
	bl	_ieee802_11_ie_count
	ldr	x8, [x26, #8]
	cmp	x0, x8
	b.ne	LBB0_2
	b	LBB0_3
LBB0_6:
	mov	w19, #0
LBB0_7:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #2
	mov	w2, #0
	bl	_ieee802_11_vendor_ie_concat
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [x21]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	mov	w19, #-1
LBB0_9:
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #16
	mov	w2, #13124
	movk	w2, #4386, lsl #16
	bl	_ieee802_11_vendor_ie_concat
	mov	x20, x0
	cbz	x0, LBB0_14
; %bb.10:
	mov	x0, x20
	bl	_wpabuf_len
	cmp	w0, #2
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x20
	bl	_wpabuf_head
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_13
; %bb.12:
	ldr	w8, [x0, #4]
	cmp	w8, #2
	b.eq	LBB0_16
LBB0_13:
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_15:
	ldr	w0, [x21]
	bl	_wpa_printf
	mov	w19, #-1
LBB0_16:
	mov	x0, x20
	bl	_wpabuf_free
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ieee802_11_parse tests"

	.comm	_parse_tests,8,3                ; @parse_tests
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"ieee802_11_parse test %d failed"

	.section	__TEXT,__const
l_.str.2:                               ; @.str.2
	.asciz	"\000\001"

	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"ieee802_11_vendor_ie_concat test failed"

	.section	__TEXT,__const
l_.str.4:                               ; @.str.4
	.asciz	"\335\005\021\"3D\001\335\005\021\"3D\002\000\001"

	.section	__TEXT,__cstring,cstring_literals
l_.str.5:                               ; @.str.5
	.asciz	"ieee802_11_vendor_ie_concat test 2 failed"

l_.str.6:                               ; @.str.6
	.asciz	"ieee802_11_vendor_ie_concat test 3 failed"

	.no_dead_strip	_ieee802_11_parse_tests
.subsections_via_symbols
