	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FD31_FileTypeChange
_FD31_FileTypeChange:                   ## @FD31_FileTypeChange
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movq	_cmb1@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_CB_GETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movq	%rax, %rbx
	movq	_LB_ERR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_1
## %bb.4:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rax
	incq	%rax
	movq	16(%r14), %rcx
	movq	%rax, (%rcx)
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movq	%rax, (%rcx)
LBB0_3:
	movl	(%r14), %edi
	movl	(%r12), %esi
	movq	_CB_GETITEMDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_debugstr_w
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	movl	(%r12), %edx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FD31_Validate                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cmb1,4,2                       ## @cmb1
	.comm	_CB_GETCURSEL,4,2               ## @CB_GETCURSEL
	.comm	_LB_ERR,8,3                     ## @LB_ERR
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_CB_GETITEMDATA,4,2             ## @CB_GETITEMDATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Selected filter : %s\n"

	.no_dead_strip	_FD31_FileTypeChange
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FD31_FileTypeChange
_FD31_FileTypeChange:                   ; @FD31_FileTypeChange
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x22, _cmb1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _cmb1@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x8, _CB_GETCURSEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CB_GETCURSEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x3, #0
	mov	w4, #0
	bl	_SendDlgItemMessageW
Lloh5:
	adrp	x8, _LB_ERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LB_ERR@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x0
	add	x8, x0, #1
	ldp	x9, x10, [x19, #8]
	str	x8, [x10]
	cbz	x9, LBB0_4
; %bb.3:
	str	x8, [x9]
LBB0_4:
	ldr	w0, [x19]
	ldr	w1, [x22]
Lloh11:
	adrp	x8, _CB_GETITEMDATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CB_GETITEMDATA@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x3, x20
	mov	w4, #0
	bl	_SendDlgItemMessageW
	mov	x21, x0
	bl	_debugstr_w
	mov	x1, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	w2, [x22]
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_FD31_Validate
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_cmb1,4,2                       ; @cmb1
	.comm	_CB_GETCURSEL,4,2               ; @CB_GETCURSEL
	.comm	_LB_ERR,8,3                     ; @LB_ERR
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_CB_GETITEMDATA,4,2             ; @CB_GETITEMDATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Selected filter : %s\n"

	.no_dead_strip	_FD31_FileTypeChange
.subsections_via_symbols
