	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_builder_or_die          ## -- Begin function create_builder_or_die
	.p2align	4, 0x90
_create_builder_or_die:                 ## @create_builder_or_die
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	xorl	%eax, %eax
	callq	_ghb_ui_get_resource
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_g_resource_lookup_data
	leaq	-52(%rbp), %rsi
	movq	%rax, %rdi
	callq	_g_bytes_get_data
	movq	%rax, %r12
	leaq	L_.str.1(%rip), %rdi
	callq	_N_
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rdi
	callq	_g_debug
	xorl	%eax, %eax
	callq	_gtk_builder_new
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	leaq	-48(%rbp), %rcx
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	$-1, %edx
	callq	_gtk_builder_add_from_string
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_GTK_DIALOG_MODAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_GTK_MESSAGE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_GTK_BUTTONS_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_gettext
	movq	-48(%rbp), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	xorl	%edi, %edi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_gtk_message_dialog_new_with_markup
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_GTK_DIALOG
	movl	%eax, %edi
	callq	_gtk_dialog_run
	movq	%rbx, %rdi
	callq	_gtk_widget_destroy
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/fr/handbrake/ghb/ui/ghb.ui"

L_.str.1:                               ## @.str.1
	.asciz	"<b><big>Unable to create %s.</big></b>\n\nInternal error. Could not parse UI description.\n%s"

L_.str.2:                               ## @.str.2
	.asciz	"create_builder_or_die()\n"

	.comm	_GTK_DIALOG_MODAL,4,2           ## @GTK_DIALOG_MODAL
	.comm	_GTK_MESSAGE_ERROR,4,2          ## @GTK_MESSAGE_ERROR
	.comm	_GTK_BUTTONS_CLOSE,4,2          ## @GTK_BUTTONS_CLOSE
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_builder_or_die          ; -- Begin function create_builder_or_die
	.p2align	2
_create_builder_or_die:                 ; @create_builder_or_die
	.cfi_startproc
; %bb.0:
	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	x19, x0
	str	xzr, [sp, #8]
	bl	_ghb_ui_get_resource
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	mov	x3, #0
	bl	_g_resource_lookup_data
	add	x1, sp, #4
	bl	_g_bytes_get_data
	mov	x21, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_N_
	mov	x20, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_g_debug
	bl	_gtk_builder_new
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	add	x3, sp, #8
	mov	x1, x21
	mov	w2, #-1
	bl	_gtk_builder_add_from_string
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x22
	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
	ret
LBB0_3:
Lloh6:
	adrp	x8, _GTK_DIALOG_MODAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GTK_DIALOG_MODAL@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x8, _GTK_MESSAGE_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GTK_MESSAGE_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
Lloh12:
	adrp	x8, _GTK_BUTTONS_CLOSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GTK_BUTTONS_CLOSE@GOTPAGEOFF]
Lloh14:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_gettext
	mov	x4, x0
	ldr	x8, [sp, #8]
	ldr	w6, [x8]
	mov	x0, #0
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x5, x19
	bl	_gtk_message_dialog_new_with_markup
	mov	x19, x0
	bl	_GTK_DIALOG
	bl	_gtk_dialog_run
	mov	x0, x19
	bl	_gtk_widget_destroy
Lloh15:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/fr/handbrake/ghb/ui/ghb.ui"

l_.str.1:                               ; @.str.1
	.asciz	"<b><big>Unable to create %s.</big></b>\n\nInternal error. Could not parse UI description.\n%s"

l_.str.2:                               ; @.str.2
	.asciz	"create_builder_or_die()\n"

	.comm	_GTK_DIALOG_MODAL,4,2           ; @GTK_DIALOG_MODAL
	.comm	_GTK_MESSAGE_ERROR,4,2          ; @GTK_MESSAGE_ERROR
	.comm	_GTK_BUTTONS_CLOSE,4,2          ; @GTK_BUTTONS_CLOSE
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
.subsections_via_symbols
