	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ghb_adjust_audio_rate_combos
_ghb_adjust_audio_rate_combos:          ## @ghb_adjust_audio_rate_combos
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_ghb_sanitize_audio_settings
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_get_int
	movq	%rax, %r12
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_settings_audio_encoder_codec
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_settings_mixdown_mix
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_get_int
	movq	%rax, %r13
	movl	4(%r14), %edi
	movl	%r12d, %esi
	callq	_ghb_get_title_audio_track
	movq	%rax, %r12
	testl	%r13d, %r13d
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_ghb_dict_get_int
	movq	%rax, %r13
LBB0_3:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_ghb_dict_get_int
	movq	%rax, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ghb_get_best_mix
	leaq	-52(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_hb_audio_bitrate_get_limits
	movl	(%r14), %edi
	leaq	L_.str.6(%rip), %r13
	movq	%r13, %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	callq	_GTK_COMBO_BOX
	movl	-52(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	%eax, %edi
	callq	_ghb_audio_bitrate_opts_filter
	movl	(%r14), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	callq	_GTK_COMBO_BOX
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_ghb_mix_opts_filter
	movl	(%r14), %edi
	leaq	L_.str.8(%rip), %r12
	movq	%r12, %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	callq	_GTK_COMBO_BOX
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_ghb_audio_samplerate_opts_filter
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_get_value
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ghb_ui_update
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_get_value
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_ghb_ui_update
	movq	%rbx, %rdi
	callq	_get_ui_quality
	movl	%eax, %edi
	callq	_ghb_double_value
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ghb_ui_update
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_get_value
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_ghb_ui_update
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_get_value
	movq	%r14, %rdi
	leaq	L_.str.7(%rip), %rsi
	movl	%eax, %edx
	callq	_ghb_ui_update
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_dict_get_value
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ghb_ui_update
	movq	%r14, %rdi
	callq	_ghb_audio_list_refresh_selected
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_4:
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Track"

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

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

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

L_.str.4:                               ## @.str.4
	.asciz	"SampleRate"

L_.str.5:                               ## @.str.5
	.asciz	"ChannelLayout"

L_.str.6:                               ## @.str.6
	.asciz	"AudioBitrate"

L_.str.7:                               ## @.str.7
	.asciz	"AudioMixdown"

L_.str.8:                               ## @.str.8
	.asciz	"AudioSamplerate"

L_.str.9:                               ## @.str.9
	.asciz	"AudioEncoder"

L_.str.10:                              ## @.str.10
	.asciz	"Bitrate"

L_.str.11:                              ## @.str.11
	.asciz	"AudioTrackQualityX"

L_.str.12:                              ## @.str.12
	.asciz	"AudioTrackDRCSlider"

L_.str.13:                              ## @.str.13
	.asciz	"DRC"

	.no_dead_strip	_ghb_adjust_audio_rate_combos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ghb_adjust_audio_rate_combos
_ghb_adjust_audio_rate_combos:          ; @ghb_adjust_audio_rate_combos
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_ghb_sanitize_audio_settings
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_int
	mov	x24, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ghb_settings_audio_encoder_codec
	mov	x21, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_ghb_settings_mixdown_mix
	mov	x22, x0
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_int
	mov	x23, x0
	ldr	w0, [x19, #4]
	mov	x1, x24
	bl	_ghb_get_title_audio_track
	mov	x24, x0
	cbnz	w23, LBB0_3
; %bb.2:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x24
	bl	_ghb_dict_get_int
	mov	x23, x0
LBB0_3:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x24
	bl	_ghb_dict_get_int
	mov	x1, x21
	mov	x2, x22
	bl	_ghb_get_best_mix
	mov	x2, x0
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x23
	bl	_hb_audio_bitrate_get_limits
	ldr	w0, [x19]
Lloh12:
	adrp	x23, l_.str.6@PAGE
Lloh13:
	add	x23, x23, l_.str.6@PAGEOFF
	mov	x1, x23
	bl	_GHB_WIDGET
	bl	_GTK_COMBO_BOX
	ldp	w2, w1, [sp, #8]
	bl	_ghb_audio_bitrate_opts_filter
	ldr	w0, [x19]
Lloh14:
	adrp	x22, l_.str.7@PAGE
Lloh15:
	add	x22, x22, l_.str.7@PAGEOFF
	mov	x1, x22
	bl	_GHB_WIDGET
	bl	_GTK_COMBO_BOX
	mov	x1, x21
	bl	_ghb_mix_opts_filter
	ldr	w0, [x19]
Lloh16:
	adrp	x24, l_.str.8@PAGE
Lloh17:
	add	x24, x24, l_.str.8@PAGEOFF
	mov	x1, x24
	bl	_GHB_WIDGET
	bl	_GTK_COMBO_BOX
	mov	x1, x21
	bl	_ghb_audio_samplerate_opts_filter
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_value
	mov	x2, x0
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_ghb_ui_update
Lloh22:
	adrp	x1, l_.str.10@PAGE
Lloh23:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_value
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_ghb_ui_update
	mov	x0, x20
	bl	_get_ui_quality
	bl	_ghb_double_value
	mov	x2, x0
Lloh24:
	adrp	x1, l_.str.11@PAGE
Lloh25:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_ghb_ui_update
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_value
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	_ghb_ui_update
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_value
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_ghb_ui_update
Lloh30:
	adrp	x1, l_.str.13@PAGE
Lloh31:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_value
	mov	x2, x0
Lloh32:
	adrp	x1, l_.str.12@PAGE
Lloh33:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_ghb_ui_update
	mov	x0, x19
	bl	_ghb_audio_list_refresh_selected
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Track"

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

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

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

l_.str.4:                               ; @.str.4
	.asciz	"SampleRate"

l_.str.5:                               ; @.str.5
	.asciz	"ChannelLayout"

l_.str.6:                               ; @.str.6
	.asciz	"AudioBitrate"

l_.str.7:                               ; @.str.7
	.asciz	"AudioMixdown"

l_.str.8:                               ; @.str.8
	.asciz	"AudioSamplerate"

l_.str.9:                               ; @.str.9
	.asciz	"AudioEncoder"

l_.str.10:                              ; @.str.10
	.asciz	"Bitrate"

l_.str.11:                              ; @.str.11
	.asciz	"AudioTrackQualityX"

l_.str.12:                              ; @.str.12
	.asciz	"AudioTrackDRCSlider"

l_.str.13:                              ; @.str.13
	.asciz	"DRC"

	.no_dead_strip	_ghb_adjust_audio_rate_combos
.subsections_via_symbols
