	.file	"extr_fontdlg.c_AddFontFamily.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"font=%s (nFontType=%d)\n"
	.text
	.p2align 4
	.type	AddFontFamily, @function
AddFontFamily:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r9
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rdi, QWORD PTR [rdi]
	call	debugstr_w@PLT
	mov	edx, ebp
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	TRACE@PLT
	mov	eax, DWORD PTR [r15]
	test	DWORD PTR CF_FIXEDPITCHONLY[rip], eax
	je	.L2
	mov	edx, DWORD PTR 8[rbx]
	test	DWORD PTR FIXED_PITCH[rip], edx
	je	.L3
.L2:
	test	DWORD PTR CF_ANSIONLY[rip], eax
	je	.L4
	mov	rcx, QWORD PTR ANSI_CHARSET[rip]
	cmp	QWORD PTR 16[rbx], rcx
	je	.L4
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	test	DWORD PTR CF_TTONLY[rip], eax
	je	.L6
	test	DWORD PTR TRUETYPE_FONTTYPE[rip], ebp
	je	.L3
.L6:
	mov	rcx, QWORD PTR [rbx]
	test	DWORD PTR CF_NOVERTFONTS[rip], eax
	jne	.L29
.L7:
	test	r12, r12
	je	.L8
	add	DWORD PTR [r12], 1
.L8:
	mov	esi, DWORD PTR CB_FINDSTRINGEXACT[rip]
	xor	edx, edx
	mov	edi, r13d
	call	SendMessageW@PLT
	cmp	DWORD PTR CB_ERR[rip], eax
	jne	.L3
	mov	ecx, DWORD PTR [rbx]
	mov	esi, DWORD PTR CB_ADDSTRING[rip]
	xor	edx, edx
	mov	edi, r13d
	call	SendMessageW@PLT
	cmp	DWORD PTR CB_ERR[rip], eax
	mov	r12d, eax
	je	.L3
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, DWORD PTR [r14]
	mov	ebx, esi
	call	HIWORD@PLT
	sal	ebx, 8
	mov	edi, ebp
	movzx	esi, al
	or	esi, ebx
	call	MAKELONG@PLT
	mov	esi, DWORD PTR CB_SETITEMDATA[rip]
	mov	edx, r12d
	mov	edi, r13d
	mov	ecx, eax
	call	SendMessageW@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L29:
	cmp	BYTE PTR [rcx], 64
	jne	.L7
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	AddFontFamily, .-AddFontFamily
	.comm	TRUETYPE_FONTTYPE,4,4
	.comm	FIXED_PITCH,4,4
	.comm	CF_TTONLY,4,4
	.comm	CF_NOVERTFONTS,4,4
	.comm	CF_FIXEDPITCHONLY,4,4
	.comm	CF_ANSIONLY,4,4
	.comm	CB_SETITEMDATA,4,4
	.comm	CB_FINDSTRINGEXACT,4,4
	.comm	CB_ERR,4,4
	.comm	CB_ADDSTRING,4,4
	.comm	ANSI_CHARSET,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_fontdlg.c_AddFontFamily.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"font=%s (nFontType=%d)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	AddFontFamily, %function
AddFontFamily:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0]
	mov	r6, r3
	mov	r5, r2
	mov	r7, r1
	ldr	r8, [sp, #28]
	bl	debugstr_w
	mov	r2, r5
	mov	r1, r0
	ldr	r0, .L32
	bl	TRACE
	ldr	r3, .L32+4
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L2
	ldr	r3, .L32+8
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	tst	r1, r3
	beq	.L3
.L2:
	ldr	r3, .L32+12
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L4
	ldr	r3, .L32+16
	ldr	r1, [r4, #8]
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L4
.L3:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, .L32+20
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L6
	ldr	r3, .L32+24
	ldr	r3, [r3]
	tst	r5, r3
	beq	.L3
.L6:
	ldr	r1, .L32+28
	ldr	r3, [r4]
	ldr	r1, [r1]
	tst	r2, r1
	beq	.L7
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #64
	beq	.L3
.L7:
	cmp	r8, #0
	ldrne	r2, [r8]
	ldr	r0, [sp, #24]
	addne	r2, r2, #1
	strne	r2, [r8]
	ldr	r2, .L32+32
	ldr	r6, .L32+36
	ldr	r1, [r2]
	mov	r2, #0
	bl	SendMessageW
	ldr	r3, [r6]
	cmp	r3, r0
	bne	.L3
	ldr	r2, .L32+40
	ldr	r3, [r4]
	ldr	r1, [r2]
	ldr	r0, [sp, #24]
	mov	r2, #0
	bl	SendMessageW
	ldr	r3, [r6]
	mov	r8, r0
	cmp	r3, r0
	beq	.L3
	ldr	r0, [r7]
	ldr	r4, [r4, #4]
	bl	HIWORD
	lsl	r4, r4, #8
	ldr	r3, .L32+44
	and	r1, r0, #255
	orr	r1, r1, r4
	mov	r0, r5
	ldr	r4, [r3]
	bl	MAKELONG
	mov	r2, r8
	mov	r3, r0
	mov	r1, r4
	ldr	r0, [sp, #24]
	bl	SendMessageW
	b	.L3
.L33:
	.align	2
.L32:
	.word	.LC0
	.word	CF_FIXEDPITCHONLY
	.word	FIXED_PITCH
	.word	CF_ANSIONLY
	.word	ANSI_CHARSET
	.word	CF_TTONLY
	.word	TRUETYPE_FONTTYPE
	.word	CF_NOVERTFONTS
	.word	CB_FINDSTRINGEXACT
	.word	CB_ERR
	.word	CB_ADDSTRING
	.word	CB_SETITEMDATA
	.size	AddFontFamily, .-AddFontFamily
	.comm	TRUETYPE_FONTTYPE,4,4
	.comm	FIXED_PITCH,4,4
	.comm	CF_TTONLY,4,4
	.comm	CF_NOVERTFONTS,4,4
	.comm	CF_FIXEDPITCHONLY,4,4
	.comm	CF_ANSIONLY,4,4
	.comm	CB_SETITEMDATA,4,4
	.comm	CB_FINDSTRINGEXACT,4,4
	.comm	CB_ERR,4,4
	.comm	CB_ADDSTRING,4,4
	.comm	ANSI_CHARSET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
