	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gmenu_driver                   ## -- Begin function gmenu_driver
	.p2align	4, 0x90
_gmenu_driver:                          ## @gmenu_driver
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$128, %esi
	je	LBB0_7
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_10
## %bb.2:
	cmpl	$130, %esi
	jne	LBB0_15
## %bb.3:
	movq	(%rbx), %rax
	movslq	8(%rbx), %rcx
	decq	%rcx
	cmpq	%rcx, %rax
	jae	LBB0_15
## %bb.4:
	incq	%rax
	movq	%rax, (%rbx)
	movq	16(%rbx), %rdx
	cmpq	%rdx, %rax
	jb	LBB0_14
## %bb.5:
	movq	24(%rbx), %rcx
	addq	%rcx, %rdx
	cmpq	%rdx, %rax
	jb	LBB0_14
## %bb.6:
	incq	%rcx
	movq	%rcx, 24(%rbx)
	jmp	LBB0_14
LBB0_7:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:
	decq	%rax
	movq	%rax, (%rbx)
	movq	24(%rbx), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_14
## %bb.9:
	decq	%rcx
	movq	%rcx, 24(%rbx)
	jmp	LBB0_14
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_10:
	cmpl	$0, 40(%rbx)
	jne	LBB0_13
## %bb.11:
	movl	8(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_13
## %bb.12:
	movq	32(%rbx), %rdi
	shlq	$2, %rsi
	callq	___bzero
LBB0_13:
	movq	(%rbx), %rax
	movq	32(%rbx), %rcx
	xorl	%edx, %edx
	cmpl	$0, (%rcx,%rax,4)
	sete	%dl
	movl	%edx, (%rcx,%rax,4)
LBB0_14:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_post_gmenu                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gmenu_driver                   ; -- Begin function gmenu_driver
	.p2align	2
_gmenu_driver:                          ; @gmenu_driver
	.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
	mov	x19, x0
	cmp	w1, #128
	b.eq	LBB0_7
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_11
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_10
; %bb.3:
	ldr	x8, [x19]
	ldrsw	x9, [x19, #8]
	sub	x9, x9, #1
	cmp	x8, x9
	b.hs	LBB0_10
; %bb.4:
	add	x8, x8, #1
	str	x8, [x19]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.lo	LBB0_15
; %bb.5:
	ldr	x10, [x19, #24]
	add	x9, x10, x9
	cmp	x8, x9
	b.lo	LBB0_15
; %bb.6:
	add	x8, x10, #1
	str	x8, [x19, #24]
	b	LBB0_15
LBB0_7:
	ldr	x8, [x19]
	cbz	x8, LBB0_10
; %bb.8:
	sub	x9, x8, #1
	str	x9, [x19]
	ldr	x8, [x19, #24]
	cmp	x9, x8
	b.hs	LBB0_15
; %bb.9:
	sub	x8, x8, #1
	str	x8, [x19, #24]
	b	LBB0_15
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	w8, [x19, #40]
	cbnz	w8, LBB0_14
; %bb.12:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.13:
	ldr	x0, [x19, #32]
	lsl	x1, x8, #2
	bl	_bzero
LBB0_14:
	ldr	x8, [x19, #32]
	ldr	x9, [x19]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	cmp	w10, #0
	cset	w10, eq
	str	w10, [x8, x9]
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_post_gmenu
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
