	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_set_ap_wps_ie          ## -- Begin function hostapd_set_ap_wps_ie
	.p2align	4, 0x90
_hostapd_set_ap_wps_ie:                 ## @hostapd_set_ap_wps_ie
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rax
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movq	%rdi, %rbx
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	callq	_hostapd_build_ap_extra_ies
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movq	8(%rbx), %rax
	movl	(%rbx), %edi
	movq	-40(%rbp), %rsi
	movq	-32(%rbp), %rdx
	movq	-24(%rbp), %rcx
	callq	*(%rax)
	movl	%eax, %r14d
	movq	-40(%rbp), %rsi
	movq	-32(%rbp), %rdx
	movq	-24(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_hostapd_free_ap_extra_ies
	jmp	LBB0_5
LBB0_3:
	movl	$-1, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_set_ap_wps_ie          ; -- Begin function hostapd_set_ap_wps_ie
	.p2align	2
_hostapd_set_ap_wps_ie:                 ; @hostapd_set_ap_wps_ie
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x19, x0
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	bl	_hostapd_build_ap_extra_ies
	tbnz	x0, #63, LBB0_5
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w0, [x19]
	ldp	x2, x1, [sp, #16]
	ldr	x3, [sp, #8]
	blr	x8
	mov	x20, x0
	ldp	x2, x1, [sp, #16]
	ldr	x3, [sp, #8]
	mov	x0, x19
	bl	_hostapd_free_ap_extra_ies
	b	LBB0_6
LBB0_4:
	mov	w20, #0
	b	LBB0_6
LBB0_5:
	mov	w20, #-1
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
