	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CredDialogFillUsernameCombo
_CredDialogFillUsernameCombo:           ## @CredDialogFillUsernameCombo
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	leaq	-72(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_CredEnumerateW
	testl	%eax, %eax
	je	LBB0_21
## %bb.1:
	cmpq	$0, -72(%rbp)
	je	LBB0_20
## %bb.2:
	xorl	%ebx, %ebx
	movq	_FALSE@GOTPCREL(%rip), %r15
	movq	_CREDUI_FLAGS_GENERIC_CREDENTIALS@GOTPCREL(%rip), %r14
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, 8(%rcx)
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	-72(%rbp), %rbx
	jae	LBB0_20
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	-48(%rbp), %rax
	movq	(%rax,%rbx,8), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %r13
	movl	(%r14), %edi
	movq	(%rcx), %rdx
	movq	_CRED_TYPE_GENERIC@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	testl	%edi, (%r12)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rdx
	jne	LBB0_3
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rdx
	je	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %r12
	movq	%r15, %r14
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-8(%rax,%r15,8), %rcx
	movq	8(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	(%rax,%rbx,8), %rax
	movq	8(%rax), %rdi
	callq	_lstrcmpW
	testl	%eax, %eax
	je	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=2
	cmpq	%r15, %rbx
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-48(%rbp), %rax
	incq	%r15
	jmp	LBB0_12
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %r15
	movq	%r12, %r14
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	testq	%r13, %r13
	jne	LBB0_4
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_CBEIF_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movl	$-1, -96(%rbp)
	movq	-48(%rbp), %rax
	movq	(%rax,%rbx,8), %rax
	movq	8(%rax), %rax
	movq	%rax, -88(%rbp)
	movq	_CBEM_INSERTITEMW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	leaq	-96(%rbp), %rcx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
	jmp	LBB0_4
LBB0_20:
	movq	-48(%rbp), %rdi
	callq	_CredFree
LBB0_21:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_CREDUI_FLAGS_GENERIC_CREDENTIALS,4,2 ## @CREDUI_FLAGS_GENERIC_CREDENTIALS
	.comm	_CRED_TYPE_GENERIC,8,3          ## @CRED_TYPE_GENERIC
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_CBEIF_TEXT,4,2                 ## @CBEIF_TEXT
	.comm	_CBEM_INSERTITEMW,4,2           ## @CBEM_INSERTITEMW
	.no_dead_strip	_CredDialogFillUsernameCombo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CredDialogFillUsernameCombo
_CredDialogFillUsernameCombo:           ; @CredDialogFillUsernameCombo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	add	x2, sp, #40
	add	x3, sp, #32
	mov	x0, #0
	mov	w1, #0
	bl	_CredEnumerateW
	cbz	w0, LBB0_19
; %bb.1:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_18
; %bb.2:
	mov	x21, #0
Lloh0:
	adrp	x22, _FALSE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
Lloh2:
	adrp	x23, _CREDUI_FLAGS_GENERIC_CREDENTIALS@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CREDUI_FLAGS_GENERIC_CREDENTIALS@GOTPAGEOFF]
Lloh4:
	adrp	x24, _CRED_TYPE_GENERIC@GOTPAGE
Lloh5:
	ldr	x24, [x24, _CRED_TYPE_GENERIC@GOTPAGEOFF]
Lloh6:
	adrp	x27, _CBEM_INSERTITEMW@GOTPAGE
Lloh7:
	ldr	x27, [x27, _CBEM_INSERTITEMW@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x9, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	ldr	x8, [sp, #40]
	cmp	x21, x8
	b.hs	LBB0_18
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x8, [sp, #32]
	ldr	x9, [x8, x21, lsl #3]
	ldr	x10, [x9, #8]
	cbz	x10, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x28, [x22]
	ldr	w12, [x19]
	ldr	w13, [x23]
	ldr	x10, [x9]
	ldr	x11, [x24]
	tst	w13, w12
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x10, x11
	b.ne	LBB0_3
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x10, x11
	b.eq	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x21, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, #0
	sub	x26, x21, #1
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x8, x25, lsl #3]
	ldr	x1, [x9, #8]
	cbz	x1, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x8, x21, lsl #3]
	ldr	x0, [x8, #8]
	bl	_lstrcmpW
	cbz	w0, LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=2
	cmp	x26, x25
	b.eq	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [sp, #32]
	add	x25, x25, #1
	b	LBB0_11
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	x28, [x8]
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x28, LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh11:
	adrp	x8, _CBEIF_TEXT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CBEIF_TEXT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	mov	w8, #-1
	str	w8, [sp, #8]
	ldr	x8, [sp, #32]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8, #8]
	str	x8, [sp, #16]
	ldr	w1, [x27]
	add	x3, sp, #8
	mov	x0, x20
	mov	w2, #0
	bl	_SendMessageW
	b	LBB0_4
LBB0_18:
	ldr	x0, [sp, #32]
	bl	_CredFree
LBB0_19:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_CREDUI_FLAGS_GENERIC_CREDENTIALS,4,2 ; @CREDUI_FLAGS_GENERIC_CREDENTIALS
	.comm	_CRED_TYPE_GENERIC,8,3          ; @CRED_TYPE_GENERIC
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_CBEIF_TEXT,4,2                 ; @CBEIF_TEXT
	.comm	_CBEM_INSERTITEMW,4,2           ; @CBEM_INSERTITEMW
	.no_dead_strip	_CredDialogFillUsernameCombo
.subsections_via_symbols
