	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UpdateRefreshRateSelection
_UpdateRefreshRateSelection:            ## @UpdateRefreshRateSelection
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 16(%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movq	_IDC_REFRESHRATE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_CB_GETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessage
	testq	%rax, %rax
	js	LBB0_5
## %bb.2:
	movq	(%rbx), %r15
	movl	8(%rbx), %edi
	movl	(%r14), %esi
	movq	_CB_GETITEMDATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessage
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	cmpq	%r15, %rax
	je	LBB0_5
## %bb.4:
	movq	16(%rbx), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	*8(%rcx)
	movq	%rbx, %rdi
	callq	_UpdateRefreshFrequencyList
	movl	8(%rbx), %edi
	callq	_GetParent
	movl	8(%rbx), %esi
	movl	%eax, %edi
	callq	_PropSheet_Changed
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_REFRESHRATE,4,2            ## @IDC_REFRESHRATE
	.comm	_CB_GETCURSEL,4,2               ## @CB_GETCURSEL
	.comm	_CB_GETITEMDATA,4,2             ## @CB_GETITEMDATA
	.no_dead_strip	_UpdateRefreshRateSelection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UpdateRefreshRateSelection
_UpdateRefreshRateSelection:            ; @UpdateRefreshRateSelection
	.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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x20, _IDC_REFRESHRATE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IDC_REFRESHRATE@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _CB_GETCURSEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CB_GETCURSEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w3, #0
	mov	w4, #0
	bl	_SendDlgItemMessage
	tbnz	x0, #63, LBB0_4
; %bb.2:
	mov	x3, x0
	ldr	x21, [x19]
	ldr	w0, [x19, #8]
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _CB_GETITEMDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CB_GETITEMDATA@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	w4, #0
	bl	_SendDlgItemMessage
	str	x0, [x19]
	cmp	x0, #0
	ccmp	x0, x21, #4, ne
	b.eq	LBB0_4
; %bb.3:
	mov	x1, x0
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	blr	x9
	mov	x0, x19
	bl	_UpdateRefreshFrequencyList
	ldr	w0, [x19, #8]
	bl	_GetParent
	ldr	w1, [x19, #8]
	bl	_PropSheet_Changed
LBB0_4:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_REFRESHRATE,4,2            ; @IDC_REFRESHRATE
	.comm	_CB_GETCURSEL,4,2               ; @CB_GETCURSEL
	.comm	_CB_GETITEMDATA,4,2             ; @CB_GETITEMDATA
	.no_dead_strip	_UpdateRefreshRateSelection
.subsections_via_symbols
