	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_create_source_label        ## -- Begin function ghb_create_source_label
	.p2align	4, 0x90
_ghb_create_source_label:               ## @ghb_create_source_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.2:
	cmpq	$0, (%rdi)
	je	LBB0_7
## %bb.3:
	callq	_strdup
	movq	%rax, %r14
	movq	8(%rbx), %rax
	movq	_HB_DVD_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_ghb_dvd_sanitize_volname
	movq	8(%rbx), %rax
LBB0_5:
	movq	_HB_BD_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	16(%rbx), %edx
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_g_strdup_printf
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_g_free
	movq	%rbx, %rax
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_g_strdup                       ## TAILCALL
LBB0_8:
	movq	%r14, %rax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_DVD_TYPE,8,3                ## @HB_DVD_TYPE
	.comm	_HB_BD_TYPE,8,3                 ## @HB_BD_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s - (%05d.MPLS)"

L_.str.1:                               ## @.str.1
	.asciz	"No Title Found"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_create_source_label        ; -- Begin function ghb_create_source_label
	.p2align	2
_ghb_create_source_label:               ; @ghb_create_source_label
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_7
; %bb.2:
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.3:
	bl	_strdup
	mov	x20, x0
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _HB_DVD_TYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HB_DVD_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_ghb_dvd_sanitize_volname
	ldr	x8, [x19, #8]
LBB0_5:
Lloh3:
	adrp	x9, _HB_BD_TYPE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HB_BD_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	w2, [x19, #16]
	mov	x1, x20
	bl	_g_strdup_printf
	mov	x19, x0
	mov	x0, x20
	bl	_g_free
	mov	x0, x19
	b	LBB0_9
LBB0_7:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_g_strdup
LBB0_8:
	mov	x0, x20
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_DVD_TYPE,8,3                ; @HB_DVD_TYPE
	.comm	_HB_BD_TYPE,8,3                 ; @HB_BD_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s - (%05d.MPLS)"

l_.str.1:                               ; @.str.1
	.asciz	"No Title Found"

.subsections_via_symbols
