	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, -12(%rbp)
	movq	%rsi, -24(%rbp)
	xorl	%eax, %eax
	callq	_kconfig_load
	movq	_PACKAGE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_LOCALEDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bindtextdomain
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_bind_textdomain_codeset
	movl	(%rbx), %edi
	callq	_textdomain
	xorl	%eax, %eax
	callq	_gtk_set_locale
	leaq	-12(%rbp), %rdi
	leaq	-24(%rbp), %rsi
	callq	_gtk_init
	xorl	%eax, %eax
	callq	_glade_init
	movq	_SRCTREE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	jmp	LBB0_4
LBB0_2:
	movq	-24(%rbp), %rax
	movq	(%rax), %rdi
	cmpb	$47, (%rdi)
	jne	LBB0_5
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
LBB0_4:
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_g_strconcat
LBB0_6:
	movq	%rax, %rdi
	callq	_init_main_window
	xorl	%eax, %eax
	callq	_init_tree_model
	xorl	%eax, %eax
	callq	_init_left_tree
	xorl	%eax, %eax
	callq	_init_right_tree
	cmpl	$2, -12(%rbp)
	movl	$1, %ecx
	movq	-24(%rbp), %rax
	jl	LBB0_10
## %bb.7:
	movq	8(%rax), %rdx
	cmpb	$45, (%rdx)
	jne	LBB0_10
## %bb.8:
	movsbl	1(%rdx), %edx
	cmpl	$104, %edx
	je	LBB0_17
## %bb.9:
	movl	$2, %ecx
	cmpl	$63, %edx
	je	LBB0_17
LBB0_10:
	movq	(%rax,%rcx,8), %rdi
	callq	_conf_parse
	movq	_rootmenu@GOTPCREL(%rip), %rdi
	callq	_fixup_rootmenu
	xorl	%edi, %edi
	callq	_conf_read
	movq	_view_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_14
## %bb.11:
	cmpl	$130, %eax
	je	LBB0_15
## %bb.12:
	cmpl	$129, %eax
	jne	LBB0_16
## %bb.13:
	xorl	%eax, %eax
	callq	_display_tree_part
	jmp	LBB0_16
LBB0_14:
	xorl	%eax, %eax
	callq	_display_list
	jmp	LBB0_16
LBB0_15:
	movq	_rootmenu@GOTPCREL(%rip), %rdi
	callq	_display_tree
LBB0_16:
	xorl	%eax, %eax
	callq	_gtk_main
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	callq	_g_get_current_dir
	movslq	%eax, %rdi
	movq	-24(%rbp), %rax
	movq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.2(%rip), %rcx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_g_strconcat
	jmp	LBB0_6
LBB0_17:
	movq	(%rax), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_printf
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKAGE,4,2                    ## @PACKAGE
	.comm	_LOCALEDIR,4,2                  ## @LOCALEDIR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UTF-8"

	.comm	_SRCTREE,4,2                    ## @SRCTREE
L_.str.1:                               ## @.str.1
	.asciz	"/scripts/kconfig/gconf.glade"

L_.str.2:                               ## @.str.2
	.asciz	".glade"

L_.str.3:                               ## @.str.3
	.asciz	"/"

L_.str.4:                               ## @.str.4
	.asciz	"%s <config>\n"

	.comm	_rootmenu,4,2                   ## @rootmenu
	.comm	_view_mode,4,2                  ## @view_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	stur	w0, [x29, #-20]
	str	x1, [sp, #16]
	bl	_kconfig_load
Lloh0:
	adrp	x19, _PACKAGE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _PACKAGE@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _LOCALEDIR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LOCALEDIR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_bindtextdomain
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_bind_textdomain_codeset
	ldr	w0, [x19]
	bl	_textdomain
	bl	_gtk_set_locale
	sub	x0, x29, #20
	add	x1, sp, #16
	bl	_gtk_init
	bl	_glade_init
Lloh7:
	adrp	x8, _SRCTREE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SRCTREE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_getenv
	cbz	x0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, #0
	b	LBB0_5
LBB0_2:
	ldr	x8, [sp, #16]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cmp	w8, #47
	b.ne	LBB0_4
; %bb.3:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, #0
	b	LBB0_5
LBB0_4:
	bl	_g_get_current_dir
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	ldr	x8, [sp, #16]
	ldr	x2, [x8]
Lloh14:
	adrp	x8, l_.str.2@PAGE
Lloh15:
	add	x8, x8, l_.str.2@PAGEOFF
	stp	x8, xzr, [sp]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_5:
	bl	_g_strconcat
	bl	_init_main_window
	bl	_init_tree_model
	bl	_init_left_tree
	bl	_init_right_tree
	ldur	w9, [x29, #-20]
	ldr	x8, [sp, #16]
	cmp	w9, #2
	b.lt	LBB0_10
; %bb.6:
	ldr	x9, [x8, #8]
	ldrb	w10, [x9]
	cmp	w10, #45
	b.ne	LBB0_10
; %bb.7:
	ldrsb	w9, [x9, #1]
	cmp	w9, #104
	b.eq	LBB0_18
; %bb.8:
	cmp	w9, #63
	b.eq	LBB0_18
; %bb.9:
	mov	w9, #2
	b	LBB0_11
LBB0_10:
	mov	w9, #1
LBB0_11:
	ldr	x0, [x8, x9, lsl #3]
	bl	_conf_parse
Lloh18:
	adrp	x0, _rootmenu@GOTPAGE
Lloh19:
	ldr	x0, [x0, _rootmenu@GOTPAGEOFF]
	bl	_fixup_rootmenu
	mov	x0, #0
	bl	_conf_read
Lloh20:
	adrp	x8, _view_mode@GOTPAGE
Lloh21:
	ldr	x8, [x8, _view_mode@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_15
; %bb.12:
	cmp	w8, #130
	b.eq	LBB0_16
; %bb.13:
	cmp	w8, #129
	b.ne	LBB0_17
; %bb.14:
	bl	_display_tree_part
	b	LBB0_17
LBB0_15:
	bl	_display_list
	b	LBB0_17
LBB0_16:
Lloh23:
	adrp	x0, _rootmenu@GOTPAGE
Lloh24:
	ldr	x0, [x0, _rootmenu@GOTPAGEOFF]
	bl	_display_tree
LBB0_17:
	bl	_gtk_main
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_18:
	ldr	x1, [x8]
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKAGE,4,2                    ; @PACKAGE
	.comm	_LOCALEDIR,4,2                  ; @LOCALEDIR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UTF-8"

	.comm	_SRCTREE,4,2                    ; @SRCTREE
l_.str.1:                               ; @.str.1
	.asciz	"/scripts/kconfig/gconf.glade"

l_.str.2:                               ; @.str.2
	.asciz	".glade"

l_.str.3:                               ; @.str.3
	.asciz	"/"

l_.str.4:                               ; @.str.4
	.asciz	"%s <config>\n"

	.comm	_rootmenu,4,2                   ; @rootmenu
	.comm	_view_mode,4,2                  ; @view_mode
.subsections_via_symbols
