	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___panel_print                  ## -- Begin function __panel_print
	.p2align	4, 0x90
___panel_print:                         ## @__panel_print
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.2:
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.3:
	movq	%rsi, %r15
	movq	8(%rax), %rsi
	cmpq	%rsi, (%r15)
	jle	LBB0_9
## %bb.4:
	movq	16(%rax), %rdx
	cmpq	%rdx, 8(%r15)
	jle	LBB0_9
## %bb.5:
	movl	%ecx, %r12d
	movq	%rdi, %r14
	movl	$0, (%rax)
	movl	24(%rax), %r8d
	movl	28(%rax), %ecx
	movq	%r15, %rdi
	movl	$32, %r9d
	callq	_r_cons_canvas_fill
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_PANEL_TYPE_MENU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	(%rbx), %rax
	movl	36(%rax), %edx
	movl	32(%rax), %ecx
	movl	24(%rax), %r9d
	movl	28(%rax), %r8d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	___menu_panel_print
	jmp	LBB0_8
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	___default_panel_print
LBB0_8:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	setne	%al
	movq	(%rbx), %rdi
	movq	8(%rdi), %rsi
	movq	16(%rdi), %rdx
	movl	28(%rdi), %ecx
	movl	24(%rdi), %r8d
	movq	(%r14), %rdi
	movq	(%rdi), %rdi
	movl	(%rdi,%rax,4), %r9d
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r_cons_canvas_box              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PANEL_TYPE_MENU,8,3            ## @PANEL_TYPE_MENU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___panel_print                  ; -- Begin function __panel_print
	.p2align	2
___panel_print:                         ; @__panel_print
	.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
	cbz	x1, LBB0_7
; %bb.1:
	mov	x21, x2
	cbz	x2, LBB0_7
; %bb.2:
	ldr	x8, [x21]
	ldr	w9, [x8]
	cbz	w9, LBB0_7
; %bb.3:
	mov	x19, x1
	ldr	x9, [x1]
	ldr	x1, [x8, #8]
	cmp	x9, x1
	b.le	LBB0_7
; %bb.4:
	ldr	x9, [x19, #8]
	ldr	x2, [x8, #16]
	cmp	x9, x2
	b.le	LBB0_7
; %bb.5:
	mov	x22, x3
	mov	x20, x0
	str	wzr, [x8]
	ldp	w4, w3, [x8, #24]
	mov	x0, x19
	mov	w5, #32
	bl	_r_cons_canvas_fill
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _PANEL_TYPE_MENU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PANEL_TYPE_MENU@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x21]
	ldp	w3, w2, [x8, #32]
	ldp	w5, w4, [x8, #24]
	mov	x0, x19
	mov	x1, x21
	bl	___menu_panel_print
	b	LBB0_9
LBB0_7:
	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_8:
	mov	x0, x20
	mov	x1, x21
	bl	___default_panel_print
LBB0_9:
	cmp	w22, #0
	cset	w8, ne
	ldr	x9, [x21]
	ldp	x1, x2, [x9, #8]
	ldp	w4, w3, [x9, #24]
	ldr	x9, [x20]
	ldr	x9, [x9]
	ldr	w5, [x9, w8, uxtw #2]
	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	_r_cons_canvas_box
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PANEL_TYPE_MENU,8,3            ; @PANEL_TYPE_MENU
.subsections_via_symbols
