	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wps_registrar_add_pbc_session
_wps_registrar_add_pbc_session:         ## @wps_registrar_add_pbc_session
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rdi
	callq	_os_get_reltime
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	xorl	%ebx, %ebx
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	movq	%r13, %rbx
	testq	%rax, %rax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r13
	movl	16(%rax), %edi
	movl	(%r14), %edx
	movq	%r12, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%r13), %edi
	movq	_WPS_UUID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movq	(%r13), %r12
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.6:
	movq	%r12, (%rbx)
	jmp	LBB0_11
LBB0_8:
	movl	$24, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_19
## %bb.9:
	movq	%rax, %r13
	movl	16(%rax), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_os_memcpy
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	movl	12(%r13), %edi
	movq	_WPS_UUID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_os_memcpy
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r12
LBB0_12:
	movq	%r12, (%r13)
	movq	%r13, (%rax)
	movl	-48(%rbp), %eax
	movl	%eax, 8(%r13)
	testq	%r12, %r12
	je	LBB0_19
## %bb.13:
	leaq	8(%r12), %rsi
	movq	_WPS_PBC_WALK_TIME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-48(%rbp), %rdi
	callq	_os_reltime_expired
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	movq	%r12, %r14
	jmp	LBB0_16
LBB0_17:
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %r14
	testq	%r14, %r14
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	8(%r14), %rsi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_os_reltime_expired
	movq	%r12, %r13
	movq	%r14, %r12
	testq	%rax, %rax
	je	LBB0_18
LBB0_16:
	movq	$0, (%r13)
	movq	%r14, %rdi
	callq	_wps_free_pbc_sessions
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_WPS_UUID_LEN,4,2               ## @WPS_UUID_LEN
	.comm	_WPS_PBC_WALK_TIME,4,2          ## @WPS_PBC_WALK_TIME
	.no_dead_strip	_wps_registrar_add_pbc_session
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wps_registrar_add_pbc_session
_wps_registrar_add_pbc_session:         ; @wps_registrar_add_pbc_session
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	add	x0, sp, #8
	bl	_os_get_reltime
	ldr	x8, [x20]
Lloh0:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x24, #0
Lloh2:
	adrp	x25, _WPS_UUID_LEN@GOTPAGE
Lloh3:
	ldr	x25, [x25, _WPS_UUID_LEN@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	mov	x24, x19
	cbz	x8, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x19, x8
	ldr	w0, [x8, #16]
	ldr	w2, [x23]
	mov	x1, x22
	bl	_os_memcmp
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #12]
	ldr	w2, [x25]
	mov	x1, x21
	bl	_os_memcmp
	cbnz	x0, LBB0_2
; %bb.5:
	ldr	x21, [x19]
	cbz	x24, LBB0_11
; %bb.6:
	str	x21, [x24]
	b	LBB0_10
LBB0_7:
	mov	w0, #24
	bl	_os_zalloc
	cbz	x0, LBB0_15
; %bb.8:
	mov	x19, x0
	ldr	w0, [x0, #16]
	ldr	w2, [x23]
	mov	x1, x22
	bl	_os_memcpy
	cbz	x21, LBB0_10
; %bb.9:
	ldr	w0, [x19, #12]
Lloh4:
	adrp	x8, _WPS_UUID_LEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WPS_UUID_LEN@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_os_memcpy
LBB0_10:
	ldr	x21, [x20]
LBB0_11:
	str	x21, [x19]
	str	x19, [x20]
	ldr	w8, [sp, #8]
	str	w8, [x19, #8]
	cbz	x21, LBB0_15
; %bb.12:
	add	x1, x21, #8
Lloh7:
	adrp	x22, _WPS_PBC_WALK_TIME@GOTPAGE
Lloh8:
	ldr	x22, [x22, _WPS_PBC_WALK_TIME@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x0, sp, #8
	bl	_os_reltime_expired
	cbz	x0, LBB0_17
; %bb.13:
	mov	x20, x21
LBB0_14:
	str	xzr, [x19]
	mov	x0, x20
	bl	_wps_free_pbc_sessions
LBB0_15:
	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
	add	sp, sp, #96
	ret
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x1, x20, #8
	ldr	w2, [x22]
	add	x0, sp, #8
	bl	_os_reltime_expired
	mov	x19, x21
	mov	x21, x20
	cbnz	x0, LBB0_14
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x21]
	cbnz	x20, LBB0_16
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_WPS_UUID_LEN,4,2               ; @WPS_UUID_LEN
	.comm	_WPS_PBC_WALK_TIME,4,2          ; @WPS_PBC_WALK_TIME
	.no_dead_strip	_wps_registrar_add_pbc_session
.subsections_via_symbols
