	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_fake_wsc_ack
_build_fake_wsc_ack:                    ## @build_fake_wsc_ack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$100, %edi
	callq	_wpabuf_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	_UPNP_WPS_WLANEVENT_TYPE_EAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_u8
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_wpabuf_put_str
	movq	%rbx, %rdi
	callq	_wps_build_version
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	_WPS_WSC_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wps_build_msg_type
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_ATTR_ENROLLEE_NONCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_be16
	movq	_WPS_NONCE_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_be16
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put
	movq	_ATTR_REGISTRAR_NONCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_be16
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_be16
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wps_build_wfa_ext
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_wpabuf_free
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UPNP_WPS_WLANEVENT_TYPE_EAP,4,2 ## @UPNP_WPS_WLANEVENT_TYPE_EAP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"00:00:00:00:00:00"

	.comm	_WPS_WSC_ACK,4,2                ## @WPS_WSC_ACK
	.comm	_ATTR_ENROLLEE_NONCE,4,2        ## @ATTR_ENROLLEE_NONCE
	.comm	_WPS_NONCE_LEN,4,2              ## @WPS_NONCE_LEN
	.comm	_ATTR_REGISTRAR_NONCE,4,2       ## @ATTR_REGISTRAR_NONCE
	.no_dead_strip	_build_fake_wsc_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_fake_wsc_ack
_build_fake_wsc_ack:                    ; @build_fake_wsc_ack
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w0, #100
	bl	_wpabuf_alloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _UPNP_WPS_WLANEVENT_TYPE_EAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UPNP_WPS_WLANEVENT_TYPE_EAP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpabuf_put_u8
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_wpabuf_put_str
	mov	x0, x19
	bl	_wps_build_version
	cbnz	x0, LBB0_4
; %bb.2:
Lloh5:
	adrp	x8, _WPS_WSC_ACK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WPS_WSC_ACK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wps_build_msg_type
	cbnz	x0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _ATTR_ENROLLEE_NONCE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATTR_ENROLLEE_NONCE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpabuf_put_be16
Lloh11:
	adrp	x20, _WPS_NONCE_LEN@GOTPAGE
Lloh12:
	ldr	x20, [x20, _WPS_NONCE_LEN@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_wpabuf_put_be16
	ldr	w1, [x20]
	mov	x0, x19
	bl	_wpabuf_put
Lloh13:
	adrp	x8, _ATTR_REGISTRAR_NONCE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ATTR_REGISTRAR_NONCE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpabuf_put_be16
	ldr	w1, [x20]
	mov	x0, x19
	bl	_wpabuf_put_be16
	ldr	w1, [x20]
	mov	x0, x19
	bl	_wpabuf_put
	mov	x0, x19
	mov	w1, #0
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_wps_build_wfa_ext
	cbz	x0, LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_wpabuf_free
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_UPNP_WPS_WLANEVENT_TYPE_EAP,4,2 ; @UPNP_WPS_WLANEVENT_TYPE_EAP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"00:00:00:00:00:00"

	.comm	_WPS_WSC_ACK,4,2                ; @WPS_WSC_ACK
	.comm	_ATTR_ENROLLEE_NONCE,4,2        ; @ATTR_ENROLLEE_NONCE
	.comm	_WPS_NONCE_LEN,4,2              ; @WPS_NONCE_LEN
	.comm	_ATTR_REGISTRAR_NONCE,4,2       ; @ATTR_REGISTRAR_NONCE
	.no_dead_strip	_build_fake_wsc_ack
.subsections_via_symbols
