	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fill_pathname_application_special ## -- Begin function fill_pathname_application_special
	.p2align	4, 0x90
_fill_pathname_application_special:     ## @fill_pathname_application_special
	.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
                                        ## kill: def $edx killed $edx def $rdx
	addl	$-129, %edx
	cmpl	$3, %edx
	ja	LBB0_9
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_6:
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_malloc
	movq	%rax, %r12
	movl	(%r13), %edi
	callq	_malloc
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movb	$0, (%r12)
	movb	$0, (%rbx)
	movq	40(%rax), %rsi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	%r15d, %ecx
	callq	_fill_pathname_join
	movl	(%r13), %ecx
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_7
LBB0_8:
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_malloc
	movq	%rax, %r12
	movl	(%r13), %edi
	callq	_malloc
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movb	$0, (%r12)
	movb	$0, (%rbx)
	movq	40(%rax), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movl	%r15d, %ecx
	callq	_fill_pathname_join
	movl	(%r13), %ecx
	leaq	L_.str.3(%rip), %rdx
LBB0_7:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_fill_pathname_join
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_fill_pathname_slash
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_strlcpy
	movq	%r12, %rdi
	callq	_free
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	_RARCH_PATH_CONFIG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_path_is_empty
	testl	%eax, %eax
	je	LBB0_5
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	(%rax), %rsi
	movq	48(%rax), %rdx
	movq	%r14, %rdi
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fill_pathname_join             ## TAILCALL
LBB0_10:
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strlcpy                        ## TAILCALL
LBB0_5:
	movl	(%rbx), %edi
	callq	_path_get
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fill_pathname_basedir          ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_RARCH_PATH_CONFIG,4,2          ## @RARCH_PATH_CONFIG
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"discord"

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

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fill_pathname_application_special ; -- Begin function fill_pathname_application_special
	.p2align	2
_fill_pathname_application_special:     ; @fill_pathname_application_special
	.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
	sub	w8, w2, #129
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x23, _PATH_MAX_LENGTH@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_malloc
	mov	x21, x0
	ldr	w0, [x23]
	bl	_malloc
	mov	x22, x0
	bl	_config_get_ptr
	strb	wzr, [x21]
	strb	wzr, [x22]
	ldr	x1, [x0, #40]
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x3, x19
	bl	_fill_pathname_join
	ldr	w3, [x23]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x23, _PATH_MAX_LENGTH@GOTPAGE
Lloh9:
	ldr	x23, [x23, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_malloc
	mov	x21, x0
	ldr	w0, [x23]
	bl	_malloc
	mov	x22, x0
	bl	_config_get_ptr
	strb	wzr, [x21]
	strb	wzr, [x22]
	ldr	x1, [x0, #40]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x3, x19
	bl	_fill_pathname_join
	ldr	w3, [x23]
Lloh12:
	adrp	x2, l_.str.3@PAGE
Lloh13:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_4:
	mov	x0, x22
	mov	x1, x21
	bl	_fill_pathname_join
	ldr	w1, [x23]
	mov	x0, x22
	bl	_fill_pathname_slash
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_strlcpy
	mov	x0, x21
	bl	_free
	mov	x0, x22
	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	_free
LBB0_5:
	bl	_config_get_ptr
	mov	x21, x0
	ldr	x0, [x0, #8]
	bl	_string_is_empty
	cbz	w0, LBB0_9
; %bb.6:
Lloh14:
	adrp	x21, _RARCH_PATH_CONFIG@GOTPAGE
Lloh15:
	ldr	x21, [x21, _RARCH_PATH_CONFIG@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_path_is_empty
	cbz	w0, LBB0_10
LBB0_7:
	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
	ret
LBB0_8:
	bl	_config_get_ptr
	ldr	x1, [x0]
	ldr	x2, [x0, #48]
	mov	x0, x20
	mov	x3, x19
	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	_fill_pathname_join
LBB0_9:
	ldr	x1, [x21, #8]
	mov	x0, x20
	mov	x2, x19
	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	_strlcpy
LBB0_10:
	ldr	w0, [x21]
	bl	_path_get
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	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	_fill_pathname_basedir
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_RARCH_PATH_CONFIG,4,2          ; @RARCH_PATH_CONFIG
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"discord"

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

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

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

.subsections_via_symbols
