	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_replace_button_icon            ## -- Begin function replace_button_icon
	.p2align	4, 0x90
_replace_button_icon:                   ## @replace_button_icon
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %rcx
	movq	%rdi, %r15
	movq	_GTK_STATE_NORMAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$2, %rax
	addq	(%rdx), %rax
	leaq	-40(%rbp), %rsi
	movq	%rcx, %rdi
	movq	%rax, %rdx
	movq	%r8, %rcx
	callq	_gdk_pixmap_create_from_xpm_d
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_glade_xml_get_widget
	movl	%eax, %edi
	callq	_GTK_TOOL_BUTTON
	movq	%rax, %r14
	movq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	_gtk_image_new_from_pixmap
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_gtk_widget_show
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_gtk_tool_button_set_icon_widget
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GTK_STATE_NORMAL,8,3           ## @GTK_STATE_NORMAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_replace_button_icon            ; -- Begin function replace_button_icon
	.p2align	2
_replace_button_icon:                   ; @replace_button_icon
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	mov	x8, x1
	mov	x20, x0
	ldr	x9, [x2]
Lloh0:
	adrp	x10, _GTK_STATE_NORMAL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _GTK_STATE_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x2, x9, x10, lsl #2
	add	x1, sp, #8
	mov	x0, x8
	mov	x3, x4
	bl	_gdk_pixmap_create_from_xpm_d
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_glade_xml_get_widget
	bl	_GTK_TOOL_BUTTON
	mov	x19, x0
	ldr	x1, [sp, #8]
	mov	x0, x21
	bl	_gtk_image_new_from_pixmap
	mov	x20, x0
	bl	_gtk_widget_show
	mov	x0, x19
	mov	x1, x20
	bl	_gtk_tool_button_set_icon_widget
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GTK_STATE_NORMAL,8,3           ; @GTK_STATE_NORMAL
.subsections_via_symbols
