	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_set_type                  ## -- Begin function menu_set_type
	.p2align	4, 0x90
_menu_set_type:                         ## @menu_set_type
	.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
	movl	%edi, %ebx
	movq	_current_entry@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	(%r14), %rax
	movl	(%rax), %edi
	cmpl	%ebx, %edi
	je	LBB0_3
## %bb.1:
	movq	_S_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edi
	jne	LBB0_4
## %bb.2:
	movl	%ebx, (%rax)
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rax), %rax
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %r15
	cmovneq	%rax, %r15
	callq	_sym_type_name
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_sym_type_name
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_menu_warn                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current_entry,8,3              ## @current_entry
	.comm	_S_UNKNOWN,4,2                  ## @S_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ignoring type redefinition of '%s' from '%s' to '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"<choice>"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_set_type                  ; -- Begin function menu_set_type
	.p2align	2
_menu_set_type:                         ; @menu_set_type
	.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	x20, x0
Lloh0:
	adrp	x8, _current_entry@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_entry@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	ldr	x8, [x19]
	ldr	w0, [x8]
	cmp	w0, w20
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _S_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _S_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w0, w9
	b.ne	LBB0_4
; %bb.2:
	str	w20, [x8]
LBB0_3:
	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_4:
	ldr	x8, [x8, #8]
Lloh6:
	adrp	x9, l_.str.1@PAGE
Lloh7:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x21, x9, x8, eq
	bl	_sym_type_name
	mov	x22, x0
	mov	x0, x20
	bl	_sym_type_name
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, x0
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	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	_menu_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_current_entry,8,3              ; @current_entry
	.comm	_S_UNKNOWN,4,2                  ; @S_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ignoring type redefinition of '%s' from '%s' to '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"<choice>"

.subsections_via_symbols
