	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mb_ies_by_info
LCPI0_0:
	.quad	2                               ## 0x2
	.quad	2                               ## 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_mb_ies_by_info
	.p2align	4, 0x90
_mb_ies_by_info:                        ## @mb_ies_by_info
	.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	%rdi, %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_WPA_ASSERT
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	8(%r14), %rcx
	cmpq	$4, %rax
	jae	LBB0_4
## %bb.2:
	xorl	%edi, %edi
	xorl	%edx, %edx
	jmp	LBB0_7
LBB0_4:
	movq	%rax, %rdx
	andq	$-4, %rdx
	leaq	48(%rcx), %rsi
	pxor	%xmm0, %xmm0
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [2,2]
	movq	%rdx, %rdi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-32(%rsi), %xmm3                ## xmm3 = mem[0],zero
	movq	-48(%rsi), %xmm4                ## xmm4 = mem[0],zero
	punpcklqdq	%xmm3, %xmm4            ## xmm4 = xmm4[0],xmm3[0]
	movq	(%rsi), %xmm3                   ## xmm3 = mem[0],zero
	movq	-16(%rsi), %xmm5                ## xmm5 = mem[0],zero
	punpcklqdq	%xmm3, %xmm5            ## xmm5 = xmm5[0],xmm3[0]
	paddq	%xmm2, %xmm0
	paddq	%xmm4, %xmm0
	paddq	%xmm2, %xmm1
	paddq	%xmm5, %xmm1
	addq	$64, %rsi
	addq	$-4, %rdi
	jne	LBB0_5
## %bb.6:
	paddq	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddq	%xmm1, %xmm0
	movq	%xmm0, %rdi
	cmpq	%rdx, %rax
	je	LBB0_9
LBB0_7:
	subq	%rdx, %rax
	shlq	$4, %rdx
	addq	%rdx, %rcx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rdx
	addq	%rdx, %rdi
	addq	$2, %rdi
	addq	$16, %rcx
	decq	%rax
	jne	LBB0_8
LBB0_9:
	callq	_wpabuf_alloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	%rax, %r15
	cmpq	$0, (%r14)
	je	LBB0_14
## %bb.11:
	xorl	%ebx, %ebx
	movq	_WLAN_EID_MULTI_BAND@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_wpabuf_put_u8
	movq	8(%r14), %rax
	movq	(%rax,%rbx), %rsi
	movq	%r15, %rdi
	callq	_wpabuf_put_u8
	movq	8(%r14), %rax
	movl	8(%rax,%rbx), %esi
	movq	(%rax,%rbx), %rdx
	movq	%r15, %rdi
	callq	_wpabuf_put_data
	incq	%r13
	addq	$16, %rbx
	cmpq	(%r14), %r13
	jb	LBB0_12
	jmp	LBB0_14
LBB0_13:
	xorl	%r15d, %r15d
LBB0_14:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_MULTI_BAND,8,3        ## @WLAN_EID_MULTI_BAND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mb_ies_by_info                 ; -- Begin function mb_ies_by_info
	.p2align	2
_mb_ies_by_info:                        ; @mb_ies_by_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_WPA_ASSERT
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x19, #8]
	cmp	x8, #4
	b.hs	LBB0_4
; %bb.2:
	mov	x0, #0
	mov	x10, #0
	b	LBB0_7
LBB0_3:
	mov	x20, #0
	b	LBB0_13
LBB0_4:
	mov	x12, #0
	mov	x13, #0
	mov	x14, #0
	mov	x15, #0
	and	x10, x8, #0xfffffffffffffffc
	add	x11, x9, #32
	mov	x16, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x17, [x11, #-32]
	ldur	x0, [x11, #-16]
	ldr	x1, [x11]
	add	x12, x12, x17
	add	x13, x13, x0
	ldr	x17, [x11, #16]
	add	x14, x14, x1
	add	x15, x15, x17
	add	x12, x12, #2
	add	x13, x13, #2
	add	x14, x14, #2
	add	x15, x15, #2
	add	x11, x11, #64
	subs	x16, x16, #4
	b.ne	LBB0_5
; %bb.6:
	add	x11, x13, x12
	add	x11, x14, x11
	add	x0, x15, x11
	cmp	x8, x10
	b.eq	LBB0_9
LBB0_7:
	sub	x8, x8, x10
	add	x9, x9, x10, lsl #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #16
	add	x10, x0, x10
	add	x0, x10, #2
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	bl	_wpabuf_alloc
	mov	x20, x0
	cbz	x0, LBB0_13
; %bb.10:
	ldr	x8, [x19]
	cbz	x8, LBB0_13
; %bb.11:
	mov	x21, #0
	mov	x22, #0
Lloh0:
	adrp	x23, _WLAN_EID_MULTI_BAND@GOTPAGE
Lloh1:
	ldr	x23, [x23, _WLAN_EID_MULTI_BAND@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x23]
	mov	x0, x20
	bl	_wpabuf_put_u8
	ldr	x8, [x19, #8]
	ldr	x1, [x8, x21]
	mov	x0, x20
	bl	_wpabuf_put_u8
	ldr	x8, [x19, #8]
	add	x8, x8, x21
	ldr	w1, [x8, #8]
	ldr	x2, [x8]
	mov	x0, x20
	bl	_wpabuf_put_data
	add	x22, x22, #1
	ldr	x8, [x19]
	add	x21, x21, #16
	cmp	x22, x8
	b.lo	LBB0_12
LBB0_13:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_MULTI_BAND,8,3        ; @WLAN_EID_MULTI_BAND
.subsections_via_symbols
