	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tui_find_disassembly_address
_tui_find_disassembly_address:          ## @tui_find_disassembly_address
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movl	%esi, %ebx
	negl	%ebx
	cmovsl	%esi, %ebx
	cmpl	$2, %ebx
	jb	LBB0_15
## %bb.1:
	movl	%esi, %r15d
	movl	%ebx, %r14d
	shll	$4, %r14d
	movl	%r14d, %edi
	callq	_alloca
	movq	%rax, %r12
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_tui_disassemble
	leal	-1(%rbx), %eax
	jmp	LBB0_13
LBB0_3:
	movl	%ebx, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leal	-1(%rbx), %r15d
	movq	%r15, %rax
	shlq	$4, %rax
	addq	%r12, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	subq	-72(%rbp), %rdi                 ## 8-byte Folded Reload
	xorl	%esi, %esi
	callq	_lookup_minimal_symbol_by_pc_section
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_SYMBOL_VALUE_ADDRESS
	movq	%rax, %r13
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_tui_disassemble
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	cmpq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%r14, %r14
	jne	LBB0_4
LBB0_8:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	cmpq	%r13, %rbx
	jge	LBB0_12
## %bb.9:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	incl	%r15d
	cmpl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	cmovgel	%r14d, %r15d
	movslq	%r15d, %rdi
	shlq	$4, %rdi
	addq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_tui_disassemble
	cmpq	%rbx, %rax
	cmovgq	%rax, %rbx
	jle	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%r13, %rbx
	jle	LBB0_10
LBB0_12:
	incl	%r15d
	xorl	%eax, %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpl	%ebx, %r15d
	cmovll	%r15d, %eax
	cltq
LBB0_13:
	shlq	$4, %rax
	movq	(%r12,%rax), %r13
	cmpl	$2, %ebx
	movl	$1, %r14d
	cmovael	%ebx, %r14d
	shlq	$4, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	12(%r12,%rbx), %edi
	callq	_xfree
	movl	8(%r12,%rbx), %edi
	callq	_xfree
	addq	$16, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_14
LBB0_15:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tui_find_disassembly_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tui_find_disassembly_address
_tui_find_disassembly_address:          ; @tui_find_disassembly_address
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	cmp	w1, #0
	cneg	w20, w1, mi
	cmp	w20, #2
	b.lo	LBB0_12
; %bb.1:
	mov	x22, x1
	lsl	w23, w20, #4
	mov	x0, x23
	bl	_alloca
	mov	x21, x0
	mov	w1, #0
	mov	x2, x23
	bl	_memset
	cmp	w22, #1
	b.lt	LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_tui_disassemble
	sub	w8, w20, #1
	b	LBB0_10
LBB0_3:
	sub	w25, w20, #1
	add	x26, x21, w25, uxtw #4
	mov	x23, x19
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x20
	bl	_tui_disassemble
	ldr	x22, [x26]
	cmp	x22, x19
	ccmp	x24, #0, #4, gt
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x0, x23, x20
	mov	w1, #0
	bl	_lookup_minimal_symbol_by_pc_section
	mov	x24, x0
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_SYMBOL_VALUE_ADDRESS
	mov	x23, x0
	b	LBB0_4
LBB0_7:
	cmp	x22, x19
	b.ge	LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w25, #1
	cmp	w8, w20
	csinc	w25, wzr, w25, ge
	add	x0, x21, w25, sxtw #4
	mov	x1, x22
	mov	w2, #1
	bl	_tui_disassemble
	cmp	x0, x22
	csel	x22, x0, x22, gt
	ccmp	x22, x19, #0, gt
	b.le	LBB0_8
LBB0_9:
	add	w8, w25, #1
	cmp	w8, w20
	csinc	w8, wzr, w25, ge
	sxtw	x8, w8
LBB0_10:
	lsl	x8, x8, #4
	ldr	x19, [x21, x8]
	cmp	w20, #1
	csinc	w20, w20, wzr, hi
	add	x21, x21, #12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_xfree
	ldur	w0, [x21, #-4]
	bl	_xfree
	add	x21, x21, #16
	subs	x20, x20, #1
	b.ne	LBB0_11
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tui_find_disassembly_address
.subsections_via_symbols
