	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_display_rotate_z          ## -- Begin function menu_display_rotate_z
	.p2align	4, 0x90
_menu_display_rotate_z:                 ## @menu_display_rotate_z
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	_menu_disp@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.2:
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	cmpq	$0, 8(%rcx)
	je	LBB0_4
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r14
	movl	24(%rbx), %esi
	callq	_matrix_4x4_rotate_z
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	callq	_matrix_4x4_multiply
	cmpl	$0, 20(%rbx)
	je	LBB0_6
## %bb.7:
	movl	16(%rbx), %esi
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	callq	_matrix_4x4_scale
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	%edi, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_matrix_4x4_multiply            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_menu_disp,8,3                  ## @menu_disp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_display_rotate_z          ; -- Begin function menu_display_rotate_z
	.p2align	2
_menu_display_rotate_z:                 ; @menu_display_rotate_z
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _menu_disp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _menu_disp@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.2:
	ldr	x8, [x9]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x19, x0
	mov	x0, x1
	blr	x8
	cbz	x0, LBB0_4
; %bb.6:
	mov	x20, x0
	ldr	w1, [x19, #24]
	bl	_matrix_4x4_rotate_z
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldr	w2, [x20]
	bl	_matrix_4x4_multiply
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_4
; %bb.7:
	ldp	w2, w1, [x19, #12]
	ldr	w3, [x19, #8]
	bl	_matrix_4x4_scale
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x2, x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_matrix_4x4_multiply
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_menu_disp,8,3                  ; @menu_disp
.subsections_via_symbols
