	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_add_entry                 ## -- Begin function menu_add_entry
	.p2align	4, 0x90
_menu_add_entry:                        ## @menu_add_entry
	.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
	movq	%rdi, %r14
	movl	$32, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%r14, 24(%rbx)
	movq	_current_menu@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_current_file@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	xorl	%eax, %eax
	callq	_zconf_lineno
	movl	%eax, 8(%rbx)
	movq	_last_entry_ptr@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rbx, (%rcx)
	movq	%rbx, (%rax)
	movq	_current_entry@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	_P_SYMBOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_menu_add_symbol                ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_menu,4,2               ## @current_menu
	.comm	_current_file,4,2               ## @current_file
	.comm	_last_entry_ptr,8,3             ## @last_entry_ptr
	.comm	_current_entry,8,3              ## @current_entry
	.comm	_P_SYMBOL,4,2                   ## @P_SYMBOL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_add_entry                 ; -- Begin function menu_add_entry
	.p2align	2
_menu_add_entry:                        ; @menu_add_entry
	.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
	mov	w0, #32
	bl	_xmalloc
	mov	x20, x0
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	str	x19, [x20, #24]
Lloh0:
	adrp	x8, _current_menu@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_menu@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _current_file@GOTPAGE
Lloh4:
	ldr	x9, [x9, _current_file@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #12]
	bl	_zconf_lineno
	str	w0, [x20, #8]
Lloh6:
	adrp	x8, _last_entry_ptr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _last_entry_ptr@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x20, [x9]
	str	x20, [x8]
Lloh8:
	adrp	x8, _current_entry@GOTPAGE
Lloh9:
	ldr	x8, [x8, _current_entry@GOTPAGEOFF]
Lloh10:
	str	x20, [x8]
	cbz	x19, LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _P_SYMBOL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _P_SYMBOL@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_menu_add_symbol
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_current_menu,4,2               ; @current_menu
	.comm	_current_file,4,2               ; @current_file
	.comm	_last_entry_ptr,8,3             ; @last_entry_ptr
	.comm	_current_entry,8,3              ; @current_entry
	.comm	_P_SYMBOL,4,2                   ; @P_SYMBOL
.subsections_via_symbols
