	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yui_file_entry_browse
_yui_file_entry_browse:                 ## @yui_file_entry_browse
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_YUI_FILE_ENTRY_DIRECTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rsi), %eax
	jne	LBB0_1
## %bb.2:
	movq	_GTK_FILE_CHOOSER_ACTION_OPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	_GTK_STOCK_CANCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GTK_STOCK_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	movl	$128, %r8d
	pushq	$0
	pushq	$129
	callq	_gtk_file_chooser_dialog_new
	addq	$16, %rsp
	movq	%rax, %r15
	movl	4(%r14), %edi
	callq	_GTK_ENTRY
	movl	%eax, %edi
	callq	_gtk_entry_get_text
	cmpb	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_GTK_FILE_CHOOSER
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_gtk_file_chooser_set_filename
LBB0_5:
	movq	%r15, %rdi
	callq	_gtk_widget_show
	movq	%r15, %rdi
	callq	_GTK_DIALOG
	movl	%eax, %edi
	callq	_gtk_dialog_run
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_GTK_FILE_CHOOSER
	movl	%eax, %edi
	callq	_gtk_file_chooser_get_filename
	movq	%rax, %rbx
	movl	4(%r14), %edi
	callq	_GTK_ENTRY
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_gtk_entry_set_text
LBB0_7:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gtk_widget_destroy             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_YUI_FILE_ENTRY_DIRECTORY,4,2   ## @YUI_FILE_ENTRY_DIRECTORY
	.comm	_GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,4,2 ## @GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER
	.comm	_GTK_FILE_CHOOSER_ACTION_OPEN,4,2 ## @GTK_FILE_CHOOSER_ACTION_OPEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Please choose a file"

	.comm	_GTK_STOCK_CANCEL,4,2           ## @GTK_STOCK_CANCEL
	.comm	_GTK_STOCK_OPEN,4,2             ## @GTK_STOCK_OPEN
	.no_dead_strip	_yui_file_entry_browse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yui_file_entry_browse
_yui_file_entry_browse:                 ; @yui_file_entry_browse
	.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, x1
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _YUI_FILE_ENTRY_DIRECTORY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _YUI_FILE_ENTRY_DIRECTORY@GOTPAGEOFF]
Lloh2:
	adrp	x10, _GTK_FILE_CHOOSER_ACTION_OPEN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _GTK_FILE_CHOOSER_ACTION_OPEN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x11, _GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER@GOTPAGE
Lloh6:
	ldr	x11, [x11, _GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w2, [x8]
Lloh7:
	adrp	x8, _GTK_STOCK_CANCEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GTK_STOCK_CANCEL@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
Lloh10:
	adrp	x8, _GTK_STOCK_OPEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GTK_STOCK_OPEN@GOTPAGEOFF]
Lloh12:
	ldr	w5, [x8]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, #0
	mov	w4, #128
	mov	w6, #129
	mov	x7, #0
	bl	_gtk_file_chooser_dialog_new
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_GTK_ENTRY
	bl	_gtk_entry_get_text
	ldrb	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	x0, x20
	bl	_GTK_FILE_CHOOSER
	mov	x1, x21
	bl	_gtk_file_chooser_set_filename
LBB0_2:
	mov	x0, x20
	bl	_gtk_widget_show
	mov	x0, x20
	bl	_GTK_DIALOG
	bl	_gtk_dialog_run
	cmp	w0, #129
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_GTK_FILE_CHOOSER
	bl	_gtk_file_chooser_get_filename
	mov	x21, x0
	ldr	w0, [x19, #4]
	bl	_GTK_ENTRY
	mov	x1, x21
	bl	_gtk_entry_set_text
LBB0_4:
	mov	x0, 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	_gtk_widget_destroy
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_YUI_FILE_ENTRY_DIRECTORY,4,2   ; @YUI_FILE_ENTRY_DIRECTORY
	.comm	_GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,4,2 ; @GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER
	.comm	_GTK_FILE_CHOOSER_ACTION_OPEN,4,2 ; @GTK_FILE_CHOOSER_ACTION_OPEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Please choose a file"

	.comm	_GTK_STOCK_CANCEL,4,2           ; @GTK_STOCK_CANCEL
	.comm	_GTK_STOCK_OPEN,4,2             ; @GTK_STOCK_OPEN
	.no_dead_strip	_yui_file_entry_browse
.subsections_via_symbols
