	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_set_scale                  ## -- Begin function ghb_set_scale
	.p2align	4, 0x90
_ghb_set_scale:                         ## @ghb_set_scale
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdi)
	movl	8(%rdi), %edi
	callq	_ghb_set_scale_settings
	movq	%rbx, %rdi
	callq	_ghb_update_summary_info
	movq	%rbx, %rdi
	callq	_ghb_picture_settings_deps
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_ghb_settings_combo_int
	movl	%eax, %r15d
	movl	12(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	callq	_GTK_SPIN_BUTTON
	movl	%eax, %edi
	movl	%r15d, %esi
	movl	$16, %edx
	callq	_gtk_spin_button_set_increments
	movl	12(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	callq	_GTK_SPIN_BUTTON
	movl	%eax, %edi
	movl	%r15d, %esi
	movl	$16, %edx
	callq	_gtk_spin_button_set_increments
	movl	8(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_ghb_dict_get_bool
	movq	%rax, %r14
	movl	12(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	callq	_GTK_SPIN_BUTTON
	testq	%r14, %r14
	movl	$2, %r14d
	cmovnel	%r15d, %r14d
	movl	%eax, %edi
	movl	%r14d, %esi
	movl	$16, %edx
	callq	_gtk_spin_button_set_increments
	movl	12(%rbx), %edi
	leaq	L_.str.5(%rip), %r15
	movq	%r15, %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	callq	_GTK_SPIN_BUTTON
	movl	%eax, %edi
	movl	%r14d, %esi
	movl	$16, %edx
	callq	_gtk_spin_button_set_increments
	movl	12(%rbx), %edi
	leaq	L_.str.6(%rip), %r12
	movq	%r12, %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	callq	_GTK_SPIN_BUTTON
	movl	%eax, %edi
	movl	%r14d, %esi
	movl	$16, %edx
	callq	_gtk_spin_button_set_increments
	movl	12(%rbx), %edi
	leaq	L_.str.7(%rip), %r13
	movq	%r13, %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	callq	_GTK_SPIN_BUTTON
	movl	%eax, %edi
	movl	%r14d, %esi
	movl	$16, %edx
	callq	_gtk_spin_button_set_increments
	movl	8(%rbx), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_ui_update_from_settings
	movl	8(%rbx), %edx
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ghb_ui_update_from_settings
	movq	%rbx, %rdi
	callq	_ghb_update_display_aspect_label
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PictureModulus"

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

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

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

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

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

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

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

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

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

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

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

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

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

	.comm	_FALSE,8,3                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_set_scale                  ; -- Begin function ghb_set_scale
	.p2align	2
_ghb_set_scale:                         ; @ghb_set_scale
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x0]
	ldr	w0, [x0, #8]
	bl	_ghb_set_scale_settings
	mov	x0, x19
	bl	_ghb_update_summary_info
	mov	x0, x19
	bl	_ghb_picture_settings_deps
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
	mov	x1, x22
	bl	_ghb_settings_combo_int
	mov	x25, x0
	ldr	w0, [x19, #12]
Lloh5:
	adrp	x20, l_.str.1@PAGE
Lloh6:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_GHB_WIDGET
	bl	_GTK_SPIN_BUTTON
	mov	x1, x25
	mov	w2, #16
	bl	_gtk_spin_button_set_increments
	ldr	w0, [x19, #12]
Lloh7:
	adrp	x21, l_.str.2@PAGE
Lloh8:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_GHB_WIDGET
	bl	_GTK_SPIN_BUTTON
	mov	x1, x25
	mov	w2, #16
	bl	_gtk_spin_button_set_increments
	ldr	w0, [x19, #8]
Lloh9:
	adrp	x24, l_.str.3@PAGE
Lloh10:
	add	x24, x24, l_.str.3@PAGEOFF
	mov	x1, x24
	bl	_ghb_dict_get_bool
	mov	x26, x0
	ldr	w0, [x19, #12]
Lloh11:
	adrp	x23, l_.str.4@PAGE
Lloh12:
	add	x23, x23, l_.str.4@PAGEOFF
	mov	x1, x23
	bl	_GHB_WIDGET
	bl	_GTK_SPIN_BUTTON
	cmp	x26, #0
	mov	w8, #2
	csel	w28, w8, w25, eq
	mov	x1, x28
	mov	w2, #16
	bl	_gtk_spin_button_set_increments
	ldr	w0, [x19, #12]
Lloh13:
	adrp	x25, l_.str.5@PAGE
Lloh14:
	add	x25, x25, l_.str.5@PAGEOFF
	mov	x1, x25
	bl	_GHB_WIDGET
	bl	_GTK_SPIN_BUTTON
	mov	x1, x28
	mov	w2, #16
	bl	_gtk_spin_button_set_increments
	ldr	w0, [x19, #12]
Lloh15:
	adrp	x26, l_.str.6@PAGE
Lloh16:
	add	x26, x26, l_.str.6@PAGEOFF
	mov	x1, x26
	bl	_GHB_WIDGET
	bl	_GTK_SPIN_BUTTON
	mov	x1, x28
	mov	w2, #16
	bl	_gtk_spin_button_set_increments
	ldr	w0, [x19, #12]
Lloh17:
	adrp	x27, l_.str.7@PAGE
Lloh18:
	add	x27, x27, l_.str.7@PAGEOFF
	mov	x1, x27
	bl	_GHB_WIDGET
	bl	_GTK_SPIN_BUTTON
	mov	x1, x28
	mov	w2, #16
	bl	_gtk_spin_button_set_increments
	ldr	w2, [x19, #8]
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	x1, x22
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	x1, x24
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
Lloh21:
	adrp	x1, l_.str.9@PAGE
Lloh22:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	x1, x23
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	x1, x25
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	x1, x26
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	x1, x27
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
Lloh23:
	adrp	x1, l_.str.10@PAGE
Lloh24:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
Lloh25:
	adrp	x1, l_.str.11@PAGE
Lloh26:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
Lloh27:
	adrp	x1, l_.str.12@PAGE
Lloh28:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_ghb_ui_update_from_settings
	ldr	w2, [x19, #8]
Lloh29:
	adrp	x1, l_.str.13@PAGE
Lloh30:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_ghb_ui_update_from_settings
	mov	x0, x19
	bl	_ghb_update_display_aspect_label
Lloh31:
	adrp	x8, _FALSE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PictureModulus"

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

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

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

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

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

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

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

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

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

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

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

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

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

	.comm	_FALSE,8,3                      ; @FALSE
.subsections_via_symbols
