	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function server_fill_credential
_server_fill_credential:                ## @server_fill_credential
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	cmpq	$0, 8(%rbx)
	jne	LBB0_6
LBB0_2:
	cmpq	$0, 24(%rbx)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_xstrdup
	movq	%rax, 24(%r14)
	movq	(%rbx), %rdi
	callq	_xstrdup
	movq	%rax, 16(%r14)
	movq	16(%rbx), %rdi
	callq	_xstrdup_or_null
	movq	%rax, (%r14)
	movq	8(%rbx), %rdi
	callq	_xstrdup_or_null
	movq	%rax, 8(%r14)
	movq	%r14, %rdi
	callq	_credential_fill
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.4:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	(%r14), %rdi
	callq	_xstrdup
	movq	%rax, 16(%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_6
LBB0_5:
	movq	8(%r14), %rdi
	callq	_xstrdup
	movq	%rax, 8(%rbx)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"imaps"

L_.str.1:                               ## @.str.1
	.asciz	"imap"

	.no_dead_strip	_server_fill_credential
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function server_fill_credential
_server_fill_credential:                ; @server_fill_credential
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_4
LBB0_2:
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, l_.str@PAGE
Lloh1:
	add	x9, x9, l_.str@PAGEOFF
Lloh2:
	adrp	x10, l_.str.1@PAGE
Lloh3:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x0, x10, x9, eq
	bl	_xstrdup
	str	x0, [x20, #24]
	ldr	x0, [x19]
	bl	_xstrdup
	str	x0, [x20, #16]
	ldr	x0, [x19, #16]
	bl	_xstrdup_or_null
	str	x0, [x20]
	ldr	x0, [x19, #8]
	bl	_xstrdup_or_null
	str	x0, [x20, #8]
	mov	x0, x20
	bl	_credential_fill
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x0, [x20]
	bl	_xstrdup
	str	x0, [x19, #16]
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_4
LBB0_6:
	ldr	x0, [x20, #8]
	bl	_xstrdup
	str	x0, [x19, #8]
	b	LBB0_4
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"imaps"

l_.str.1:                               ; @.str.1
	.asciz	"imap"

	.no_dead_strip	_server_fill_credential
.subsections_via_symbols
