	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_add_win_to_layout          ## -- Begin function tui_add_win_to_layout
	.p2align	4, 0x90
_tui_add_win_to_layout:                 ## @tui_add_win_to_layout
	.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
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_tui_current_layout
	movl	%eax, %r14d
	cmpl	$130, %ebx
	je	LBB0_8
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_11
## %bb.2:
	cmpl	$128, %ebx
	jne	LBB0_16
## %bb.3:
	movq	_SRC_COMMAND@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r14d
	je	LBB0_16
## %bb.4:
	movq	_SRC_DISASSEM_COMMAND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_16
## %bb.5:
	movq	_SRC_DATA_COMMAND@GOTPCREL(%rip), %r15
	cmpl	(%r15), %r14d
	je	LBB0_16
## %bb.6:
	xorl	%eax, %eax
	callq	_tui_clear_source_windows_detail
	movq	_DISASSEM_DATA_COMMAND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_7
LBB0_18:
	movl	(%rbx), %edi
	jmp	LBB0_19
LBB0_8:
	movq	_SRC_DATA_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	%edi, %r14d
	je	LBB0_16
## %bb.9:
	movq	_DISASSEM_DATA_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r14d
	je	LBB0_16
## %bb.10:
	movq	_DISASSEM_COMMAND@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	cmovel	%eax, %edi
	jmp	LBB0_19
LBB0_11:
	movq	_DISASSEM_COMMAND@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r14d
	je	LBB0_16
## %bb.12:
	movq	_SRC_DISASSEM_COMMAND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_16
## %bb.13:
	movq	_DISASSEM_DATA_COMMAND@GOTPCREL(%rip), %r15
	cmpl	(%r15), %r14d
	je	LBB0_16
## %bb.14:
	xorl	%eax, %eax
	callq	_tui_clear_source_windows_detail
	movq	_SRC_DATA_COMMAND@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_18
LBB0_7:
	movl	(%r15), %edi
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_show_layout                    ## TAILCALL
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SRC_COMMAND,4,2                ## @SRC_COMMAND
	.comm	_SRC_DISASSEM_COMMAND,4,2       ## @SRC_DISASSEM_COMMAND
	.comm	_SRC_DATA_COMMAND,4,2           ## @SRC_DATA_COMMAND
	.comm	_DISASSEM_DATA_COMMAND,4,2      ## @DISASSEM_DATA_COMMAND
	.comm	_DISASSEM_COMMAND,4,2           ## @DISASSEM_COMMAND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_add_win_to_layout          ; -- Begin function tui_add_win_to_layout
	.p2align	2
_tui_add_win_to_layout:                 ; @tui_add_win_to_layout
	.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	x20, x0
	bl	_tui_current_layout
	mov	x19, x0
	cmp	w20, #130
	b.eq	LBB0_5
; %bb.1:
	cmp	w20, #129
	b.eq	LBB0_8
; %bb.2:
	cmp	w20, #128
	b.ne	LBB0_9
; %bb.3:
Lloh0:
	adrp	x20, _SRC_COMMAND@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SRC_COMMAND@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _SRC_DISASSEM_COMMAND@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SRC_DISASSEM_COMMAND@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x21, _SRC_DATA_COMMAND@GOTPAGE
Lloh6:
	ldr	x21, [x21, _SRC_DATA_COMMAND@GOTPAGEOFF]
	ldr	w10, [x21]
	cmp	w19, w8
	ccmp	w19, w9, #4, ne
	ccmp	w19, w10, #4, ne
	b.eq	LBB0_9
; %bb.4:
	bl	_tui_clear_source_windows_detail
Lloh7:
	adrp	x8, _DISASSEM_DATA_COMMAND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DISASSEM_DATA_COMMAND@GOTPAGEOFF]
	b	LBB0_11
LBB0_5:
Lloh9:
	adrp	x8, _SRC_DATA_COMMAND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SRC_DATA_COMMAND@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w19, w8
	b.eq	LBB0_9
; %bb.6:
Lloh12:
	adrp	x9, _DISASSEM_DATA_COMMAND@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DISASSEM_DATA_COMMAND@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w19, w9
	b.eq	LBB0_9
; %bb.7:
Lloh15:
	adrp	x10, _DISASSEM_COMMAND@GOTPAGE
Lloh16:
	ldr	x10, [x10, _DISASSEM_COMMAND@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	w19, w10
	csel	w0, w9, w8, eq
	b	LBB0_14
LBB0_8:
Lloh18:
	adrp	x20, _DISASSEM_COMMAND@GOTPAGE
Lloh19:
	ldr	x20, [x20, _DISASSEM_COMMAND@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh20:
	adrp	x9, _SRC_DISASSEM_COMMAND@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SRC_DISASSEM_COMMAND@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x21, _DISASSEM_DATA_COMMAND@GOTPAGE
Lloh24:
	ldr	x21, [x21, _DISASSEM_DATA_COMMAND@GOTPAGEOFF]
	ldr	w10, [x21]
	cmp	w19, w8
	ccmp	w19, w9, #4, ne
	ccmp	w19, w10, #4, ne
	b.ne	LBB0_10
LBB0_9:
	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
	ret
LBB0_10:
	bl	_tui_clear_source_windows_detail
Lloh25:
	adrp	x8, _SRC_DATA_COMMAND@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SRC_DATA_COMMAND@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_13
; %bb.12:
	ldr	w0, [x21]
	b	LBB0_14
LBB0_13:
	ldr	w0, [x20]
LBB0_14:
	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	_show_layout
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_SRC_COMMAND,4,2                ; @SRC_COMMAND
	.comm	_SRC_DISASSEM_COMMAND,4,2       ; @SRC_DISASSEM_COMMAND
	.comm	_SRC_DATA_COMMAND,4,2           ; @SRC_DATA_COMMAND
	.comm	_DISASSEM_DATA_COMMAND,4,2      ; @DISASSEM_DATA_COMMAND
	.comm	_DISASSEM_COMMAND,4,2           ; @DISASSEM_COMMAND
.subsections_via_symbols
