	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_curses
_set_curses:                            ## @set_curses
	.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	%rdi, %r14
	xorl	%eax, %eax
	callq	_setup_thread_signals
	xorl	%eax, %eax
	callq	_set_input_opts
	movq	_conf@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_has_colors
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	movq	_NO_COLOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	$1, (%rbx)
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	callq	_start_color
LBB0_4:
	xorl	%edi, %edi
	callq	_init_colors
	movq	_header_win@GOTPCREL(%rip), %rdi
	movq	_main_win@GOTPCREL(%rip), %rsi
	callq	_init_windows
	movq	_parsing_spinner@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_set_curses_spinner
	cmpq	$0, 8(%rbx)
	je	LBB0_5
LBB0_8:
	xorl	%eax, %eax
	callq	_verify_formats
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FATAL                          ## TAILCALL
LBB0_5:
	xorl	%eax, %eax
	callq	_verify_formats
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:
	cmpq	$0, 16(%rbx)
	jne	LBB0_10
## %bb.7:
	cmpq	$0, 8(%rbx)
	jne	LBB0_8
LBB0_9:
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ui_spinner_create              ## TAILCALL
LBB0_10:
	xorl	%eax, %eax
	callq	_refresh
	movq	_glog@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_render_confdlg
	movl	%eax, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_conf,32,3                      ## @conf
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_NO_COLOR,4,2                   ## @NO_COLOR
	.comm	_header_win,4,2                 ## @header_win
	.comm	_main_win,4,2                   ## @main_win
	.comm	_parsing_spinner,4,2            ## @parsing_spinner
	.comm	_glog,4,2                       ## @glog
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.no_dead_strip	_set_curses
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_curses
_set_curses:                            ; @set_curses
	.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
	bl	_setup_thread_signals
	bl	_set_input_opts
Lloh0:
	adrp	x20, _conf@GOTPAGE
Lloh1:
	ldr	x20, [x20, _conf@GOTPAGEOFF]
	ldr	w8, [x20]
	cbnz	w8, LBB0_2
; %bb.1:
	bl	_has_colors
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _NO_COLOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NO_COLOR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_4
LBB0_3:
	bl	_start_color
LBB0_4:
	mov	w0, #0
	bl	_init_colors
Lloh8:
	adrp	x0, _header_win@GOTPAGE
Lloh9:
	ldr	x0, [x0, _header_win@GOTPAGEOFF]
Lloh10:
	adrp	x1, _main_win@GOTPAGE
Lloh11:
	ldr	x1, [x1, _main_win@GOTPAGEOFF]
	bl	_init_windows
Lloh12:
	adrp	x21, _parsing_spinner@GOTPAGE
Lloh13:
	ldr	x21, [x21, _parsing_spinner@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_set_curses_spinner
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
LBB0_5:
	bl	_verify_formats
	cbz	x0, LBB0_10
; %bb.6:
	mov	x1, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	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	_FATAL
LBB0_7:
	bl	_verify_formats
	cbnz	x0, LBB0_11
; %bb.8:
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_11
; %bb.9:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_5
LBB0_10:
	ldr	w0, [x21]
	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	_ui_spinner_create
LBB0_11:
	bl	_refresh
Lloh16:
	adrp	x8, _glog@GOTPAGE
Lloh17:
	ldr	x8, [x8, _glog@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_render_confdlg
	str	w0, [x19]
	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	_clear
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_conf,32,3                      ; @conf
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_NO_COLOR,4,2                   ; @NO_COLOR
	.comm	_header_win,4,2                 ; @header_win
	.comm	_main_win,4,2                   ; @main_win
	.comm	_parsing_spinner,4,2            ; @parsing_spinner
	.comm	_glog,4,2                       ; @glog
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.no_dead_strip	_set_curses
.subsections_via_symbols
