	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_build_vendor_ext           ## -- Begin function wps_build_vendor_ext
	.p2align	4, 0x90
_wps_build_vendor_ext:                  ## @wps_build_vendor_ext
	.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	_MAX_WPS_VENDOR_EXTENSIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r12
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rcx
	movq	(%rcx,%r15,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	callq	_wpabuf_head_u8
	movl	%eax, %ebx
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_wpabuf_len
	movl	%r13d, %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_wpa_hexdump
	movq	_ATTR_VENDOR_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wpabuf_put_be16
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_wpabuf_len
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_wpabuf_put_be16
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rsi
	movq	%r14, %rdi
	callq	_wpabuf_put_buf
	movq	_MAX_WPS_VENDOR_EXTENSIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_WPS_VENDOR_EXTENSIONS,4,2  ## @MAX_WPS_VENDOR_EXTENSIONS
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS:  * Vendor Extension"

	.comm	_ATTR_VENDOR_EXT,4,2            ## @ATTR_VENDOR_EXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_build_vendor_ext           ; -- Begin function wps_build_vendor_ext
	.p2align	2
_wps_build_vendor_ext:                  ; @wps_build_vendor_ext
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x24, _MAX_WPS_VENDOR_EXTENSIONS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MAX_WPS_VENDOR_EXTENSIONS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x25, #0
Lloh2:
	adrp	x26, _MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x26, [x26, _MSG_DEBUG@GOTPAGEOFF]
Lloh4:
	adrp	x27, _ATTR_VENDOR_EXT@GOTPAGE
Lloh5:
	ldr	x27, [x27, _ATTR_VENDOR_EXT@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	cmp	x25, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	ldr	x0, [x9, x25, lsl #3]
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w22, [x26]
	bl	_wpabuf_head_u8
	mov	x23, x0
	ldr	x8, [x20]
	lsl	x28, x25, #3
	ldr	x0, [x8, x28]
	bl	_wpabuf_len
	mov	x3, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_wpa_hexdump
	ldr	w1, [x27]
	mov	x0, x19
	bl	_wpabuf_put_be16
	ldr	x8, [x20]
	ldr	x0, [x8, x28]
	bl	_wpabuf_len
	mov	x1, x0
	mov	x0, x19
	bl	_wpabuf_put_be16
	ldr	x8, [x20]
	ldr	x1, [x8, x28]
	mov	x0, x19
	bl	_wpabuf_put_buf
	ldr	w8, [x24]
	b	LBB0_2
LBB0_5:
	mov	w0, #0
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_WPS_VENDOR_EXTENSIONS,4,2  ; @MAX_WPS_VENDOR_EXTENSIONS
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS:  * Vendor Extension"

	.comm	_ATTR_VENDOR_EXT,4,2            ; @ATTR_VENDOR_EXT
.subsections_via_symbols
