	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wps_er_add_sta_data
_wps_er_add_sta_data:                   ## @wps_er_add_sta_data
	.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
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edx, %edx
	callq	_wps_er_sta_get
	movq	%rax, %r15
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.1:
	testq	%r15, %r15
	je	LBB0_13
## %bb.2:
	movq	112(%r13), %rdi
	testq	%rdi, %rdi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.3:
	xorl	%r14d, %r14d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_19
LBB0_4:
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	(%rax), %rax
	movq	_WPS_M1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%r15, %r15
	je	LBB0_12
## %bb.6:
	cmpq	%rcx, %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_25
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_8:
	movq	104(%r13), %rsi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %r14d
	testq	%rsi, %rsi
	jne	LBB0_23
	jmp	LBB0_29
LBB0_9:
	testq	%r15, %r15
	je	LBB0_51
## %bb.10:
	movq	112(%r13), %rdi
	testq	%rdi, %rdi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_26
LBB0_11:
	xorl	%r14d, %r14d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_20
LBB0_12:
	cmpq	%rcx, %rax
	jne	LBB0_51
LBB0_13:
	movl	$96, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_51
## %bb.14:
	movq	%rax, %r15
	movl	88(%rax), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_os_memcpy
	movq	%r14, 80(%r15)
	leaq	8(%r14), %rdi
	movq	%r15, %rsi
	addq	$72, %rsi
	callq	_dl_list_add
	movb	$1, %al
	testl	%r12d, %r12d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.15:
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_51:
	xorl	%r15d, %r15d
	jmp	LBB0_49
LBB0_16:
	movl	$1, (%r15)
	movb	$1, %r14b
LBB0_17:
	movq	112(%r13), %rdi
	testq	%rdi, %rdi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_21
## %bb.18:
	testl	%r12d, %r12d
	je	LBB0_20
LBB0_19:
	cmpl	$0, (%r15)
	jne	LBB0_29
LBB0_20:
	callq	_WPA_GET_BE16
	movq	%rax, 64(%r15)
LBB0_21:
	movq	104(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_29
## %bb.22:
	testl	%r12d, %r12d
	je	LBB0_28
LBB0_23:
	cmpl	$0, (%r15)
	jne	LBB0_29
	jmp	LBB0_28
LBB0_25:
	movq	112(%r13), %rdi
	testq	%rdi, %rdi
	jne	LBB0_11
LBB0_26:
	movq	104(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_52
## %bb.27:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
LBB0_28:
	movl	60(%r15), %edi
	movq	_WPS_UUID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_os_memcpy
LBB0_29:
	movq	96(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_33
## %bb.30:
	testl	%r12d, %r12d
	je	LBB0_32
## %bb.31:
	cmpl	$0, (%r15)
	jne	LBB0_37
LBB0_32:
	movl	56(%r15), %edi
	movl	$8, %edx
	callq	_os_memcpy
LBB0_33:
	movq	88(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_37
## %bb.34:
	testl	%r12d, %r12d
	je	LBB0_36
## %bb.35:
	cmpl	$0, (%r15)
	jne	LBB0_37
LBB0_36:
	callq	_WPA_GET_BE16
	movq	%rax, 48(%r15)
LBB0_37:
	cmpq	$0, 80(%r13)
	je	LBB0_39
## %bb.38:
	movq	40(%r15), %rdi
	callq	_os_free
	movq	80(%r13), %rdi
	movl	72(%r13), %esi
	callq	_dup_binstr
	movq	%rax, 40(%r15)
LBB0_39:
	cmpq	$0, 64(%r13)
	je	LBB0_41
## %bb.40:
	movq	32(%r15), %rdi
	callq	_os_free
	movq	64(%r13), %rdi
	movl	56(%r13), %esi
	callq	_dup_binstr
	movq	%rax, 32(%r15)
LBB0_41:
	cmpq	$0, 48(%r13)
	je	LBB0_43
## %bb.42:
	movq	24(%r15), %rdi
	callq	_os_free
	movq	48(%r13), %rdi
	movl	40(%r13), %esi
	callq	_dup_binstr
	movq	%rax, 24(%r15)
LBB0_43:
	cmpq	$0, 32(%r13)
	je	LBB0_45
## %bb.44:
	movq	16(%r15), %rdi
	callq	_os_free
	movq	32(%r13), %rdi
	movl	24(%r13), %esi
	callq	_dup_binstr
	movq	%rax, 16(%r15)
LBB0_45:
	cmpq	$0, 16(%r13)
	je	LBB0_47
## %bb.46:
	movq	8(%r15), %rdi
	callq	_os_free
	movq	16(%r13), %rdi
	movl	8(%r13), %esi
	callq	_dup_binstr
	movq	%rax, 8(%r15)
LBB0_47:
	movq	_wps_er_sta_timeout@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	movl	(%rbx), %edx
	movl	$300, %edi                      ## imm = 0x12C
	xorl	%esi, %esi
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_eloop_register_timeout
	orb	-44(%rbp), %r14b                ## 1-byte Folded Reload
	cmpb	$1, %r14b
	jne	LBB0_49
## %bb.48:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_WPS_EV_ER_ENROLLEE_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_wps_er_sta_event
LBB0_49:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	movq	96(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_54
## %bb.53:
	xorl	%r14d, %r14d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_32
LBB0_54:
	movq	88(%r13), %rdi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %r14d
	testq	%rdi, %rdi
	jne	LBB0_36
	jmp	LBB0_37
	.cfi_endproc
                                        ## -- End function
	.comm	_WPS_M1,8,3                     ## @WPS_M1
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_WPS_UUID_LEN,4,2               ## @WPS_UUID_LEN
	.comm	_wps_er_sta_timeout,4,2         ## @wps_er_sta_timeout
	.comm	_WPS_EV_ER_ENROLLEE_ADD,4,2     ## @WPS_EV_ER_ENROLLEE_ADD
	.no_dead_strip	_wps_er_add_sta_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wps_er_add_sta_data
_wps_er_add_sta_data:                   ; @wps_er_add_sta_data
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	mov	x2, #0
	bl	_wps_er_sta_get
	mov	x19, x0
	cbz	w22, LBB0_4
; %bb.1:
	cbz	x19, LBB0_13
; %bb.2:
	ldr	x0, [x21, #112]
	cbz	x0, LBB0_8
; %bb.3:
	mov	w24, #0
	mov	w23, #0
	b	LBB0_18
LBB0_4:
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.5:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _WPS_M1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WPS_M1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cbz	x19, LBB0_12
; %bb.6:
	b.ne	LBB0_10
; %bb.7:
	mov	w23, #0
	b	LBB0_16
LBB0_8:
	mov	w23, #0
	mov	w24, #0
	ldr	x1, [x21, #104]
	cbnz	x1, LBB0_22
	b	LBB0_23
LBB0_9:
	cbz	x19, LBB0_46
LBB0_10:
	ldr	x0, [x21, #112]
	cbz	x0, LBB0_25
; %bb.11:
	mov	w24, #0
	mov	w23, #0
	b	LBB0_19
LBB0_12:
	b.ne	LBB0_47
LBB0_13:
	mov	w0, #96
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_46
; %bb.14:
	ldr	w0, [x19, #88]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x23
	bl	_os_memcpy
	str	x20, [x19, #80]
	add	x0, x20, #8
	add	x1, x19, #72
	bl	_dl_list_add
	mov	w23, #1
	cbz	w22, LBB0_16
; %bb.15:
	mov	w24, #0
	ldr	x0, [x21, #112]
	cbnz	x0, LBB0_17
	b	LBB0_20
LBB0_16:
	mov	w24, #1
	str	w24, [x19]
	ldr	x0, [x21, #112]
	cbz	x0, LBB0_20
LBB0_17:
	cbz	w22, LBB0_19
LBB0_18:
	ldr	w8, [x19]
	cbnz	w8, LBB0_23
LBB0_19:
	bl	_WPA_GET_BE16
	str	x0, [x19, #64]
LBB0_20:
	ldr	x1, [x21, #104]
	cbz	x1, LBB0_23
; %bb.21:
	cbz	w22, LBB0_27
LBB0_22:
	ldr	w8, [x19]
	cbz	w8, LBB0_27
LBB0_23:
	ldr	x1, [x21, #96]
	cbnz	x1, LBB0_28
LBB0_24:
	ldr	x0, [x21, #88]
	cbnz	x0, LBB0_31
	b	LBB0_34
LBB0_25:
	ldr	x1, [x21, #104]
	cbz	x1, LBB0_48
; %bb.26:
	mov	w23, #0
	mov	w24, #0
LBB0_27:
	ldr	w0, [x19, #60]
Lloh6:
	adrp	x8, _WPS_UUID_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WPS_UUID_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_os_memcpy
	ldr	x1, [x21, #96]
	cbz	x1, LBB0_24
LBB0_28:
	cbz	w22, LBB0_30
; %bb.29:
	ldr	w8, [x19]
	cbnz	w8, LBB0_34
LBB0_30:
	ldr	w0, [x19, #56]
	mov	w2, #8
	bl	_os_memcpy
	ldr	x0, [x21, #88]
	cbz	x0, LBB0_34
LBB0_31:
	cbz	w22, LBB0_33
; %bb.32:
	ldr	w8, [x19]
	cbnz	w8, LBB0_34
LBB0_33:
	bl	_WPA_GET_BE16
	str	x0, [x19, #48]
LBB0_34:
	ldr	x8, [x21, #80]
	cbz	x8, LBB0_36
; %bb.35:
	ldr	x0, [x19, #40]
	bl	_os_free
	ldr	x0, [x21, #80]
	ldr	w1, [x21, #72]
	bl	_dup_binstr
	str	x0, [x19, #40]
LBB0_36:
	ldr	x8, [x21, #64]
	cbz	x8, LBB0_38
; %bb.37:
	ldr	x0, [x19, #32]
	bl	_os_free
	ldr	x0, [x21, #64]
	ldr	w1, [x21, #56]
	bl	_dup_binstr
	str	x0, [x19, #32]
LBB0_38:
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_40
; %bb.39:
	ldr	x0, [x19, #24]
	bl	_os_free
	ldr	x0, [x21, #48]
	ldr	w1, [x21, #40]
	bl	_dup_binstr
	str	x0, [x19, #24]
LBB0_40:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_42
; %bb.41:
	ldr	x0, [x19, #16]
	bl	_os_free
	ldr	x0, [x21, #32]
	ldr	w1, [x21, #24]
	bl	_dup_binstr
	str	x0, [x19, #16]
LBB0_42:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_44
; %bb.43:
	ldr	x0, [x19, #8]
	bl	_os_free
	ldr	x0, [x21, #16]
	ldr	w1, [x21, #8]
	bl	_dup_binstr
	str	x0, [x19, #8]
LBB0_44:
Lloh9:
	adrp	x21, _wps_er_sta_timeout@GOTPAGE
Lloh10:
	ldr	x21, [x21, _wps_er_sta_timeout@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
	ldr	w2, [x21]
	mov	w0, #300
	mov	w1, #0
	mov	x3, x19
	mov	x4, #0
	bl	_eloop_register_timeout
	orr	w8, w24, w23
	cmp	w8, #1
	b.ne	LBB0_46
; %bb.45:
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _WPS_EV_ER_ENROLLEE_ADD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WPS_EV_ER_ENROLLEE_ADD@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_wps_er_sta_event
LBB0_46:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_47:
	mov	x19, #0
	b	LBB0_46
LBB0_48:
	ldr	x1, [x21, #96]
	cbz	x1, LBB0_50
; %bb.49:
	mov	w24, #0
	mov	w23, #0
	b	LBB0_30
LBB0_50:
	mov	w23, #0
	mov	w24, #0
	ldr	x0, [x21, #88]
	cbnz	x0, LBB0_33
	b	LBB0_34
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_WPS_M1,8,3                     ; @WPS_M1
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_WPS_UUID_LEN,4,2               ; @WPS_UUID_LEN
	.comm	_wps_er_sta_timeout,4,2         ; @wps_er_sta_timeout
	.comm	_WPS_EV_ER_ENROLLEE_ADD,4,2     ; @WPS_EV_ER_ENROLLEE_ADD
	.no_dead_strip	_wps_er_add_sta_data
.subsections_via_symbols
