	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_url_get_gameid              ## -- Begin function rc_url_get_gameid
	.p2align	4, 0x90
_rc_url_get_gameid:                     ## @rc_url_get_gameid
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movzbl	(%rdx), %ecx
	movzbl	1(%rdx), %r8d
	movzbl	2(%rdx), %r9d
	movzbl	3(%rdx), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movzbl	4(%rdx), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movzbl	5(%rdx), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movzbl	6(%rdx), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movzbl	7(%rdx), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movzbl	8(%rdx), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movzbl	9(%rdx), %eax
	movzbl	10(%rdx), %r10d
	movzbl	11(%rdx), %r11d
	movzbl	12(%rdx), %r14d
	movzbl	13(%rdx), %r15d
	movzbl	14(%rdx), %r12d
	movzbl	15(%rdx), %r13d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	pushq	%r13
	pushq	%r12
	pushq	%r15
	pushq	%r14
	pushq	%r11
	pushq	%r10
	pushq	%rax
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_snprintf
	addq	$112, %rsp
	movslq	%eax, %rcx
	xorl	%eax, %eax
	cmpq	%rbx, %rcx
	adcl	$-1, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"http://retroachievements.org/dorequest.php?r=gameid&m=%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_url_get_gameid              ; -- Begin function rc_url_get_gameid
	.p2align	2
_rc_url_get_gameid:                     ; @rc_url_get_gameid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldrb	w3, [x2]
	ldrb	w4, [x2, #1]
	ldrb	w5, [x2, #2]
	ldrb	w6, [x2, #3]
	ldrb	w7, [x2, #4]
	ldur	x8, [x2, #5]
	ldurh	w9, [x2, #13]
	ldrb	w10, [x2, #15]
	strb	w10, [sp, #10]
	strh	w9, [sp, #8]
	str	x8, [sp]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x19
	csetm	w0, hs
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"http://retroachievements.org/dorequest.php?r=gameid&m=%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x"

.subsections_via_symbols
