	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_define_menu                    ## -- Begin function define_menu
	.p2align	4, 0x90
_define_menu:                           ## @define_menu
	.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
	movq	%rdx, %r12
	movq	%rsi, %r14
	movl	%edi, %r15d
	movl	$16, %edi
	callq	_res_alloc
	movq	%rax, %rbx
	movq	%r12, 8(%rax)
	movq	$0, (%rax)
	movq	_RT_MENU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	movq	_resources@GOTPCREL(%rip), %rdi
	movl	%r15d, %edx
	xorl	%r8d, %r8d
	callq	_define_standard_resource
	movq	_RES_TYPE_MENU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	%rbx, 8(%rax)
	movl	(%r14), %ecx
	movl	%ecx, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_resources,4,2                  ## @resources
	.comm	_RT_MENU,4,2                    ## @RT_MENU
	.comm	_RES_TYPE_MENU,4,2              ## @RES_TYPE_MENU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_define_menu                    ; -- Begin function define_menu
	.p2align	2
_define_menu:                           ; @define_menu
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w0, #16
	bl	_res_alloc
	mov	x22, x0
	stp	xzr, x19, [x0]
Lloh0:
	adrp	x8, _RT_MENU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RT_MENU@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x20]
Lloh3:
	adrp	x0, _resources@GOTPAGE
Lloh4:
	ldr	x0, [x0, _resources@GOTPAGEOFF]
	mov	x2, x21
	mov	w4, #0
	bl	_define_standard_resource
Lloh5:
	adrp	x8, _RES_TYPE_MENU@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RES_TYPE_MENU@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	str	x22, [x0, #8]
	ldr	w8, [x20]
	str	w8, [x0]
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_resources,4,2                  ; @resources
	.comm	_RT_MENU,4,2                    ; @RT_MENU
	.comm	_RES_TYPE_MENU,4,2              ; @RES_TYPE_MENU
.subsections_via_symbols
