	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_url_get_unlock_list         ## -- Begin function rc_url_get_unlock_list
	.p2align	4, 0x90
_rc_url_get_unlock_list:                ## @rc_url_get_unlock_list
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %r15d
	movq	%rcx, -200(%rbp)                ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	callq	_rc_url_encode
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	%r13, -192(%rbp)                ## 8-byte Spill
	movl	%r15d, -180(%rbp)               ## 4-byte Spill
	leaq	-176(%rbp), %rdi
	movl	$64, %esi
	movq	-200(%rbp), %rdx                ## 8-byte Reload
	callq	_rc_url_encode
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	testl	%r14d, %r14d
	setne	%al
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %rcx
	leaq	-176(%rbp), %r8
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movl	-180(%rbp), %r9d                ## 4-byte Reload
	callq	_snprintf
	cltq
	xorl	%ebx, %ebx
	cmpq	%r12, %rax
	adcl	$-1, %ebx
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%ebx, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"http://retroachievements.org/dorequest.php?r=unlocks&u=%s&t=%s&g=%u&h=%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_url_get_unlock_list         ; -- Begin function rc_url_get_unlock_list
	.p2align	2
_rc_url_get_unlock_list:                ; @rc_url_get_unlock_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x22, x5
	mov	x20, x4
	mov	x23, x3
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x0, sp, #72
	mov	w1, #64
	bl	_rc_url_encode
	cbnz	x0, LBB0_2
; %bb.1:
	add	x0, sp, #8
	mov	w1, #64
	mov	x2, x23
	bl	_rc_url_encode
	cbz	x0, LBB0_5
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_5:
	cmp	w22, #0
	cset	w6, ne
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #72
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x19
	mov	x5, x20
	bl	_snprintf
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x19
	csetm	w0, hs
	b	LBB0_3
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"http://retroachievements.org/dorequest.php?r=unlocks&u=%s&t=%s&g=%u&h=%d"

.subsections_via_symbols
