	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_preset_menu_button_label
_set_preset_menu_button_label:          ## @set_preset_menu_button_label
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_hb_preset_get
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_ghb_dict_get_int
	movl	%eax, %r12d
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_preset_get_fullname
	movq	%rax, %r14
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	callq	_GTK_LABEL
	movq	%rax, %r13
	movq	_HB_PRESET_TYPE_CUSTOM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.5(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rdx
	callq	_g_strdup_printf
	movq	%rax, %rbx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_gtk_label_set_markup
	movq	%r14, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_ghb_dict_get_string
	movq	%rax, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_GHB_WIDGET
	movq	%rax, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gtk_widget_set_tooltip_text    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Type"

L_.str.1:                               ## @.str.1
	.asciz	" <span alpha=\"70%\">></span> "

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.2:                               ## @.str.2
	.asciz	"presets_menu_button_label"

L_.str.3:                               ## @.str.3
	.asciz	"%s%s"

	.comm	_HB_PRESET_TYPE_CUSTOM,4,2      ## @HB_PRESET_TYPE_CUSTOM
L_.str.4:                               ## @.str.4
	.asciz	"Custom"

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

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

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

	.no_dead_strip	_set_preset_menu_button_label
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_preset_menu_button_label
_set_preset_menu_button_label:          ; @set_preset_menu_button_label
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_hb_preset_get
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ghb_dict_get_int
	mov	x22, x0
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_preset_get_fullname
	mov	x21, x0
	ldr	w0, [x19]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_GHB_WIDGET
	bl	_GTK_LABEL
	mov	x23, x0
Lloh9:
	adrp	x8, _HB_PRESET_TYPE_CUSTOM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HB_PRESET_TYPE_CUSTOM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, l_.str.5@PAGE
Lloh13:
	add	x9, x9, l_.str.5@PAGEOFF
Lloh14:
	adrp	x10, l_.str.4@PAGE
Lloh15:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	w22, w8
	csel	x1, x10, x9, eq
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x21
	bl	_g_strdup_printf
	mov	x22, x0
	mov	x0, x23
	mov	x1, x22
	bl	_gtk_label_set_markup
	mov	x0, x21
	bl	_free
	mov	x0, x22
	bl	_free
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_ghb_dict_get_string
	mov	x20, x0
	ldr	w0, [x19]
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_GHB_WIDGET
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gtk_widget_set_tooltip_text
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Type"

l_.str.1:                               ; @.str.1
	.asciz	" <span alpha=\"70%\">></span> "

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.2:                               ; @.str.2
	.asciz	"presets_menu_button_label"

l_.str.3:                               ; @.str.3
	.asciz	"%s%s"

	.comm	_HB_PRESET_TYPE_CUSTOM,4,2      ; @HB_PRESET_TYPE_CUSTOM
l_.str.4:                               ; @.str.4
	.asciz	"Custom"

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

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

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

	.no_dead_strip	_set_preset_menu_button_label
.subsections_via_symbols
