	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_process                     ## -- Begin function UI_process
	.p2align	4, 0x90
_UI_process:                            ## @UI_process
	.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, %r12
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	callq	*%rax
	testq	%rax, %rax
	jle	LBB0_2
LBB0_3:
	movq	_UI_FLAG_PRINT_ERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_5
## %bb.4:
	movq	_print_error@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r12, %rsi
	callq	_ERR_print_errors_cb
LBB0_5:
	movl	16(%r12), %edi
	callq	_sk_UI_STRING_num
	testl	%eax, %eax
	jle	LBB0_11
## %bb.6:
	xorl	%ebx, %ebx
	leaq	L_.str.2(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	movl	16(%r12), %edi
	callq	_sk_UI_STRING_num
	cmpl	%eax, %ebx
	jge	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	8(%rax), %r14
	testq	%r14, %r14
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	16(%r12), %edi
	movl	%ebx, %esi
	callq	_sk_UI_STRING_value
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	*%r14
	testq	%rax, %rax
	jg	LBB0_10
	jmp	LBB0_9
LBB0_11:
	movq	8(%r12), %rax
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	movq	%r12, %rdi
	callq	*%rax
	cmpl	$-1, %eax
	je	LBB0_23
## %bb.13:
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	leaq	L_.str.3(%rip), %r13
	jmp	LBB0_9
LBB0_15:
	movl	16(%r12), %edi
	callq	_sk_UI_STRING_num
	leaq	L_.str.5(%rip), %r13
	testl	%eax, %eax
	jle	LBB0_16
## %bb.17:
	xorl	%ebx, %ebx
	leaq	L_.str.4(%rip), %r14
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_18 Depth=1
	incl	%ebx
	movl	16(%r12), %edi
	callq	_sk_UI_STRING_num
	cmpl	%eax, %ebx
	jge	LBB0_16
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	24(%rax), %r15
	testq	%r15, %r15
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	16(%r12), %edi
	movl	%ebx, %esi
	callq	_sk_UI_STRING_value
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	*%r15
	cmpl	$-1, %eax
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	testl	%eax, %eax
	jne	LBB0_22
## %bb.21:
	movl	$-1, %r15d
	movb	$1, %bl
	movq	%r14, %r13
	jmp	LBB0_25
LBB0_2:
	leaq	L_.str.1(%rip), %r13
LBB0_9:
	movl	$-1, %r15d
	movb	$1, %bl
	jmp	LBB0_24
LBB0_16:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_25
LBB0_23:
	movq	_UI_FLAG_REDOABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r12)
	leaq	L_.str(%rip), %r13
	movl	$-2, %r15d
	xorl	%ebx, %ebx
LBB0_24:
	movq	%r13, %r14
LBB0_25:
	movq	8(%r12), %rax
	movq	32(%rax), %rax
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movq	%r12, %rdi
	callq	*%rax
	testq	%rax, %rax
	setle	%al
	cmovleq	%r13, %r14
	orb	%al, %bl
	je	LBB0_29
LBB0_28:
	movq	_UI_F_UI_PROCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UI_R_PROCESSING_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_UIerr
	leaq	L_.str.6(%rip), %rsi
	movl	$2, %edi
	movq	%r14, %rdx
	callq	_ERR_add_error_data
	movl	$-1, %r15d
LBB0_29:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	testb	%bl, %bl
	jne	LBB0_28
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"processing"

L_.str.1:                               ## @.str.1
	.asciz	"opening session"

	.comm	_UI_FLAG_PRINT_ERRORS,4,2       ## @UI_FLAG_PRINT_ERRORS
	.comm	_print_error,8,3                ## @print_error
L_.str.2:                               ## @.str.2
	.asciz	"writing strings"

	.comm	_UI_FLAG_REDOABLE,4,2           ## @UI_FLAG_REDOABLE
L_.str.3:                               ## @.str.3
	.asciz	"flushing"

L_.str.4:                               ## @.str.4
	.asciz	"reading strings"

L_.str.5:                               ## @.str.5
	.asciz	"closing session"

	.comm	_UI_F_UI_PROCESS,4,2            ## @UI_F_UI_PROCESS
	.comm	_UI_R_PROCESSING_ERROR,4,2      ## @UI_R_PROCESSING_ERROR
L_.str.6:                               ## @.str.6
	.asciz	"while "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_process                     ; -- Begin function UI_process
	.p2align	2
_UI_process:                            ; @UI_process
	.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	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	blr	x8
	cmp	x0, #1
	b.lt	LBB0_19
LBB0_2:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _UI_FLAG_PRINT_ERRORS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UI_FLAG_PRINT_ERRORS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _print_error@GOTPAGE
Lloh4:
	ldr	x8, [x8, _print_error@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_ERR_print_errors_cb
LBB0_4:
	ldr	w0, [x19, #16]
	bl	_sk_UI_STRING_num
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.5:
	mov	w20, #0
Lloh6:
	adrp	x22, l_.str.2@PAGE
Lloh7:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w20, w20, #1
	ldr	w0, [x19, #16]
	bl	_sk_UI_STRING_num
	cmp	w20, w0
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x21, [x8, #8]
	cbz	x21, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_sk_UI_STRING_value
	mov	x1, x0
	mov	x0, x19
	blr	x21
	cmp	x0, #1
	b.ge	LBB0_6
	b	LBB0_20
LBB0_9:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_13
; %bb.10:
	mov	x0, x19
	blr	x8
	cmn	w0, #1
	b.eq	LBB0_21
; %bb.11:
	cbnz	w0, LBB0_13
; %bb.12:
Lloh8:
	adrp	x22, l_.str.3@PAGE
Lloh9:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_20
LBB0_13:
	ldr	w0, [x19, #16]
	bl	_sk_UI_STRING_num
	cmp	w0, #1
	b.lt	LBB0_28
; %bb.14:
	mov	w20, #0
Lloh10:
	adrp	x24, l_.str.5@PAGE
Lloh11:
	add	x24, x24, l_.str.5@PAGEOFF
Lloh12:
	adrp	x22, l_.str.4@PAGE
Lloh13:
	add	x22, x22, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w20, w20, #1
	ldr	w0, [x19, #16]
	bl	_sk_UI_STRING_num
	cmp	w20, w0
	b.ge	LBB0_29
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x21, [x8, #24]
	cbz	x21, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_sk_UI_STRING_value
	mov	x1, x0
	mov	x0, x19
	blr	x21
	cmn	w0, #1
	b.eq	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	cbnz	w0, LBB0_15
	b	LBB0_20
LBB0_19:
Lloh14:
	adrp	x22, l_.str.1@PAGE
Lloh15:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_20:
	mov	w20, #-1
	mov	w23, #1
	b	LBB0_22
LBB0_21:
	mov	w23, #0
Lloh16:
	adrp	x8, _UI_FLAG_REDOABLE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UI_FLAG_REDOABLE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh19:
	adrp	x22, l_.str@PAGE
Lloh20:
	add	x22, x22, l_.str@PAGEOFF
	mov	w20, #-2
LBB0_22:
	mov	x21, x22
LBB0_23:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #32]
	cbz	x8, LBB0_27
; %bb.24:
	mov	x0, x19
	blr	x8
	cmp	x0, #1
	csel	x21, x22, x21, lt
	cset	w8, lt
	orr	w8, w23, w8
	tbz	w8, #0, LBB0_26
LBB0_25:
Lloh21:
	adrp	x8, _UI_F_UI_PROCESS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _UI_F_UI_PROCESS@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _UI_R_PROCESSING_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _UI_R_PROCESSING_ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_UIerr
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #2
	mov	x2, x21
	bl	_ERR_add_error_data
	mov	w20, #-1
LBB0_26:
	mov	x0, x20
	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
LBB0_27:
	cbnz	w23, LBB0_25
	b	LBB0_26
LBB0_28:
	mov	w23, #0
	mov	w20, #0
	mov	x21, #0
Lloh29:
	adrp	x22, l_.str.5@PAGE
Lloh30:
	add	x22, x22, l_.str.5@PAGEOFF
	b	LBB0_23
LBB0_29:
	mov	w23, #0
	mov	w20, #0
	mov	x21, #0
	mov	x22, x24
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"processing"

l_.str.1:                               ; @.str.1
	.asciz	"opening session"

	.comm	_UI_FLAG_PRINT_ERRORS,4,2       ; @UI_FLAG_PRINT_ERRORS
	.comm	_print_error,8,3                ; @print_error
l_.str.2:                               ; @.str.2
	.asciz	"writing strings"

	.comm	_UI_FLAG_REDOABLE,4,2           ; @UI_FLAG_REDOABLE
l_.str.3:                               ; @.str.3
	.asciz	"flushing"

l_.str.4:                               ; @.str.4
	.asciz	"reading strings"

l_.str.5:                               ; @.str.5
	.asciz	"closing session"

	.comm	_UI_F_UI_PROCESS,4,2            ; @UI_F_UI_PROCESS
	.comm	_UI_R_PROCESSING_ERROR,4,2      ; @UI_R_PROCESSING_ERROR
l_.str.6:                               ; @.str.6
	.asciz	"while "

.subsections_via_symbols
