	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FD31_FileListSelect
_FD31_FileListSelect:                   ## @FD31_FileListSelect
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	16(%rdi), %r12d
	movq	_lst1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_LB_GETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	movq	%rax, %r15
	movq	_LB_ERR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_5
## %bb.1:
	movq	_BUFFILEALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_heap_alloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rbx
	movl	(%r13), %esi
	movq	_LB_GETTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movq	%r15, %rcx
	movl	%ebx, %r8d
	callq	_SendDlgItemMessageW
	movq	_edt1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	callq	_SetDlgItemTextW
	movq	%rbx, %rdi
	callq	_heap_free
LBB0_3:
	cmpq	$0, 8(%r14)
	je	LBB0_5
## %bb.4:
	movl	(%r14), %ebx
	movl	(%r13), %r12d
	movq	_CD_LBSELCHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_MAKELONG
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_FD31_CallWindowProc
LBB0_5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lst1,4,2                       ## @lst1
	.comm	_LB_GETCURSEL,4,2               ## @LB_GETCURSEL
	.comm	_LB_ERR,8,3                     ## @LB_ERR
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_BUFFILEALLOC,4,2               ## @BUFFILEALLOC
	.comm	_LB_GETTEXT,4,2                 ## @LB_GETTEXT
	.comm	_edt1,4,2                       ## @edt1
	.comm	_CD_LBSELCHANGE,4,2             ## @CD_LBSELCHANGE
	.no_dead_strip	_FD31_FileListSelect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FD31_FileListSelect
_FD31_FileListSelect:                   ; @FD31_FileListSelect
	.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	x19, x0
	ldr	w21, [x0, #16]
Lloh0:
	adrp	x23, _lst1@GOTPAGE
Lloh1:
	ldr	x23, [x23, _lst1@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x8, _LB_GETCURSEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LB_GETCURSEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x21
	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.eq	LBB0_5
; %bb.1:
	mov	x20, x0
Lloh8:
	adrp	x8, _BUFFILEALLOC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BUFFILEALLOC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_heap_alloc
	cbz	x0, LBB0_3
; %bb.2:
	mov	x22, x0
	ldr	w1, [x23]
Lloh11:
	adrp	x8, _LB_GETTEXT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LB_GETTEXT@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x20
	mov	x4, x22
	bl	_SendDlgItemMessageW
Lloh14:
	adrp	x8, _edt1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _edt1@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_SetDlgItemTextW
	mov	x0, x22
	bl	_heap_free
LBB0_3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w21, [x19]
	ldr	w22, [x23]
Lloh17:
	adrp	x8, _CD_LBSELCHANGE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CD_LBSELCHANGE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MAKELONG
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_FD31_CallWindowProc
LBB0_5:
Lloh20:
	adrp	x8, _TRUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_lst1,4,2                       ; @lst1
	.comm	_LB_GETCURSEL,4,2               ; @LB_GETCURSEL
	.comm	_LB_ERR,8,3                     ; @LB_ERR
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_BUFFILEALLOC,4,2               ; @BUFFILEALLOC
	.comm	_LB_GETTEXT,4,2                 ; @LB_GETTEXT
	.comm	_edt1,4,2                       ; @edt1
	.comm	_CD_LBSELCHANGE,4,2             ; @CD_LBSELCHANGE
	.no_dead_strip	_FD31_FileListSelect
.subsections_via_symbols
