	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_registrar_init             ## -- Begin function wps_registrar_init
	.p2align	4, 0x90
_wps_registrar_init:                    ## @wps_registrar_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$104, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	leaq	100(%rax), %rdi
	callq	_dl_list_init
	movq	%rbx, %rdi
	addq	$96, %rdi
	callq	_dl_list_init
	movq	%r15, 88(%rbx)
	movups	72(%r14), %xmm0
	movups	%xmm0, 72(%rbx)
	movups	56(%r14), %xmm0
	movups	%xmm0, 56(%rbx)
	movq	48(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	movl	40(%r14), %esi
	callq	_wpabuf_alloc_copy
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movq	$-1, (%rbx)
	movups	24(%r14), %xmm0
	movups	%xmm0, 32(%rbx)
	movl	20(%r14), %esi
	testl	%esi, %esi
	je	LBB0_6
## %bb.5:
	movl	28(%rbx), %edi
	movl	16(%r14), %edx
	callq	_os_memcpy
	movl	16(%r14), %eax
	movl	%eax, 24(%rbx)
LBB0_6:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.7:
	movl	(%r14), %esi
	callq	_os_memdup
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
LBB0_9:
	movq	%rbx, %rdi
	callq	_wps_set_ie
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%rbx, %rdi
	callq	_wps_registrar_deinit
	jmp	LBB0_11
LBB0_3:
	movq	%rbx, %rdi
	callq	_os_free
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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	_wps_registrar_init             ; -- Begin function wps_registrar_init
	.p2align	2
_wps_registrar_init:                    ; @wps_registrar_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	mov	w0, #104
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.1:
	add	x0, x19, #100
	bl	_dl_list_init
	add	x0, x19, #96
	bl	_dl_list_init
	str	x21, [x19, #88]
	ldur	q0, [x20, #72]
	stur	q0, [x19, #72]
	ldur	q0, [x20, #56]
	stur	q0, [x19, #56]
	ldr	x0, [x20, #48]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x20, #40]
	bl	_wpabuf_alloc_copy
	str	x0, [x19, #48]
	cbz	x0, LBB0_10
LBB0_3:
	add	x8, x20, #32
	ldr	w9, [x20, #36]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x19]
	ldr	d0, [x20, #24]
	ld1.s	{ v0 }[2], [x8]
	mov.s	v0[3], w9
	str	q0, [x19, #32]
	ldr	w1, [x20, #20]
	cbz	w1, LBB0_5
; %bb.4:
	ldr	w0, [x19, #28]
	ldr	w2, [x20, #16]
	bl	_os_memcpy
	ldr	w8, [x20, #16]
	str	w8, [x19, #24]
LBB0_5:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w1, [x20]
	bl	_os_memdup
	str	x0, [x19, #16]
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w8, [x20]
	str	w8, [x19, #8]
LBB0_8:
	mov	x0, x19
	bl	_wps_set_ie
	cbz	x0, LBB0_12
; %bb.9:
	mov	x0, x19
	bl	_wps_registrar_deinit
	b	LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_os_free
LBB0_11:
	mov	x19, #0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
