	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_action_cb_push_dropdown_item_resolution ## -- Begin function action_cb_push_dropdown_item_resolution
	.p2align	4, 0x90
_action_cb_push_dropdown_item_resolution: ## @action_cb_push_dropdown_item_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rcx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-144(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$100, %esi
	callq	_snprintf
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strtok
	xorl	%r14d, %r14d
	movl	$0, %r15d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	movq	%rax, %r15
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	xorl	%edi, %edi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	movq	%rax, %r14
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_strtok
	movl	$0, %edx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	movq	%rax, %rdx
LBB0_6:
	movl	%edx, %eax
	cvtsi2ss	%rax, %xmm0
	movl	%r15d, %edi
	movl	%r14d, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	movss	%xmm0, -148(%rbp)               ## 4-byte Spill
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_video_display_server_set_resolution
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %rbx
	movss	-148(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_video_monitor_set_refresh_rate
	movl	%r15d, (%rbx)
	movl	%r14d, 4(%rbx)
	movl	$1, %ebx
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"x"

L_.str.2:                               ## @.str.2
	.asciz	" "

L_.str.3:                               ## @.str.3
	.asciz	"("

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_action_cb_push_dropdown_item_resolution ; -- Begin function action_cb_push_dropdown_item_resolution
	.p2align	2
_action_cb_push_dropdown_item_resolution: ; @action_cb_push_dropdown_item_resolution
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	d9, d8, [sp, #112]              ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x3, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #4
	mov	w1, #100
	bl	_snprintf
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #4
	bl	_strtok
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, #0
	mov	w2, #0
	bl	_strtoul
	mov	x19, x0
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, #0
	bl	_strtok
	cbz	x0, LBB0_5
; %bb.4:
	mov	x1, #0
	mov	w2, #0
	bl	_strtoul
	mov	x20, x0
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, #0
	bl	_strtok
	cbz	x0, LBB0_8
; %bb.7:
	mov	x1, #0
	mov	w2, #0
	bl	_strtoul
	mov	x2, x0
	b	LBB0_9
LBB0_8:
	mov	w2, #0
LBB0_9:
	ucvtf	s8, w2
	mov	x0, x19
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	fmov	s0, s8
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_video_display_server_set_resolution
	cbz	x0, LBB0_11
; %bb.10:
	bl	_config_get_ptr
	mov	x21, x0
	fmov	s0, s8
	bl	_video_monitor_set_refresh_rate
	stp	w19, w20, [x21]
	mov	w0, #1
LBB0_11:
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #112]              ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"x"

l_.str.2:                               ; @.str.2
	.asciz	" "

l_.str.3:                               ; @.str.3
	.asciz	"("

.subsections_via_symbols
