	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_action_setting_disp_set_label_menu_video_resolution
_menu_action_setting_disp_set_label_menu_video_resolution: ## @menu_action_setting_disp_set_label_menu_video_resolution
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%r9, %rbx
	movq	16(%rbp), %r14
	movq	32(%rbp), %rdi
	movq	24(%rbp), %rax
	movq	40(%rbp), %rdx
	movl	$0, -24(%rbp)
	movl	$0, -20(%rbp)
	movl	$19, (%rsi)
	movb	$0, (%r9)
	movq	%rax, %rsi
	callq	_strlcpy
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_video_driver_get_video_output_size
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	-24(%rbp), %ecx
	movl	-20(%rbp), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_snprintf
	jmp	LBB0_3
LBB0_2:
	movq	_MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_strlcpy
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%ux%u"

	.comm	_MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE,4,2 ## @MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE
	.no_dead_strip	_menu_action_setting_disp_set_label_menu_video_resolution
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_action_setting_disp_set_label_menu_video_resolution
_menu_action_setting_disp_set_label_menu_video_resolution: ; @menu_action_setting_disp_set_label_menu_video_resolution
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x6
	mov	x20, x5
	ldp	x0, x2, [x29, #16]
	str	xzr, [sp, #8]
	mov	w8, #19
	str	w8, [x1]
	strb	wzr, [x5]
	mov	x1, x7
	bl	_strlcpy
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_video_driver_get_video_output_size
	cbz	x0, LBB0_2
; %bb.1:
	ldp	w4, w3, [sp, #8]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_snprintf
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_strlcpy
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%ux%u"

	.comm	_MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE,4,2 ; @MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE
	.no_dead_strip	_menu_action_setting_disp_set_label_menu_video_resolution
.subsections_via_symbols
