	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tui_display_register
_tui_display_register:                  ## @tui_display_register
	.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
	movq	8(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rsi, %r15
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.2:
	callq	_wstandout
	movq	8(%r15), %rdi
LBB0_3:
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wmove
	cmpl	$2, (%r15)
	jl	LBB0_6
## %bb.4:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	movl	$32, %esi
	callq	_waddch
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_5
LBB0_6:
	movq	8(%r15), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wmove
	movl	8(%r14), %esi
	testl	%esi, %esi
	je	LBB0_8
## %bb.7:
	movq	8(%r15), %rdi
	callq	_waddstr
LBB0_8:
	cmpq	$0, (%r14)
	je	LBB0_10
## %bb.9:
	movq	8(%r15), %rdi
	callq	_wstandend
LBB0_10:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tui_refresh_win                ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tui_display_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tui_display_register
_tui_display_register:                  ; @tui_display_register
	.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
	ldr	x0, [x1, #8]
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x1
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	bl	_wstandout
	ldr	x0, [x19, #8]
LBB0_3:
	mov	w1, #0
	mov	w2, #0
	bl	_wmove
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.4:
	mov	w21, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	mov	w1, #32
	bl	_waddch
	add	w21, w21, #1
	ldr	w8, [x19]
	cmp	w21, w8
	b.lt	LBB0_5
LBB0_6:
	ldr	x0, [x19, #8]
	mov	w1, #0
	mov	w2, #0
	bl	_wmove
	ldr	w1, [x20, #8]
	cbz	w1, LBB0_8
; %bb.7:
	ldr	x0, [x19, #8]
	bl	_waddstr
LBB0_8:
	ldr	x8, [x20]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x0, [x19, #8]
	bl	_wstandend
LBB0_10:
	mov	x0, 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	_tui_refresh_win
LBB0_11:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tui_display_register
.subsections_via_symbols
