	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_registerpair
_parse_registerpair:                    ## @parse_registerpair
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_strdup
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_strtok
	movl	$-1, %r15d
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	cmpl	$2, %eax
	jl	LBB0_14
## %bb.2:
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_strlen
	cmpl	$1, %eax
	jg	LBB0_11
## %bb.4:
	movsbl	(%rbx), %eax
	cmpl	$114, %eax
	jne	LBB0_7
## %bb.5:
	cmpb	$114, (%r12)
	jne	LBB0_14
## %bb.6:
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, %ebx
	incq	%r12
	movq	%r12, %rdi
	callq	_atoi
	movl	%eax, %r15d
	shrl	%r15d
	cmpl	%eax, %ebx
	movl	$-1, %ecx
	cmovlel	%ecx, %r15d
	cmpl	$31, %eax
	cmovael	%ecx, %r15d
	jmp	LBB0_14
LBB0_11:
	movsbl	(%rbx), %eax
	cmpl	$114, %eax
	jne	LBB0_13
## %bb.12:
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, %ecx
	shrl	%ecx
	cmpl	$31, %eax
	movl	$-1, %r15d
	cmovbl	%ecx, %r15d
	jmp	LBB0_14
LBB0_13:
	leal	-120(%rax), %ecx
	addl	$-108, %eax
	cmpb	$3, %cl
	movl	$-1, %r15d
	cmovbl	%eax, %r15d
LBB0_14:
	movq	%r14, %rdi
	callq	_free
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leal	-120(%rax), %ecx
	cmpb	$2, %cl
	ja	LBB0_14
## %bb.8:
	movb	(%r12), %cl
	addb	$-120, %cl
	cmpb	$2, %cl
	ja	LBB0_14
## %bb.9:
	cmpb	$104, 1(%rbx)
	jne	LBB0_14
## %bb.10:
	addl	$-108, %eax
	cmpb	$108, 1(%r12)
	movl	$-1, %r15d
	cmovel	%eax, %r15d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	":"

	.no_dead_strip	_parse_registerpair
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_registerpair
_parse_registerpair:                    ; @parse_registerpair
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_strdup
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strtok
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_strlen
	cmp	w0, #2
	b.ge	LBB0_3
LBB0_2:
	mov	w20, #-1
	b	LBB0_12
LBB0_3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_strtok
	cbz	x0, LBB0_8
; %bb.4:
	mov	x21, x0
	bl	_strlen
	cmp	w0, #1
	b.gt	LBB0_8
; %bb.5:
	ldrsb	w8, [x20]
	cmp	w8, #114
	b.ne	LBB0_13
; %bb.6:
	ldrb	w8, [x21]
	cmp	w8, #114
	b.ne	LBB0_2
; %bb.7:
	add	x0, x20, #1
	bl	_atoi
	mov	x20, x0
	add	x0, x21, #1
	bl	_atoi
	cmp	w20, w0
	ccmp	w0, #31, #2, gt
	lsr	w8, w0, #1
	b	LBB0_11
LBB0_8:
	ldrsb	w8, [x20]
	cmp	w8, #114
	b.ne	LBB0_10
; %bb.9:
	add	x0, x20, #1
	bl	_atoi
	lsr	w8, w0, #1
	cmp	w0, #31
	b	LBB0_11
LBB0_10:
	sub	w9, w8, #120
	sub	w8, w8, #108
	cmp	w9, #3
LBB0_11:
	csinv	w20, w8, wzr, lo
LBB0_12:
	mov	x0, x19
	bl	_free
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
	sub	w9, w8, #120
	cmp	w9, #2
	b.hi	LBB0_2
; %bb.14:
	ldrb	w9, [x21]
	sub	w9, w9, #120
	cmp	w9, #2
	b.hi	LBB0_2
; %bb.15:
	ldrb	w9, [x20, #1]
	cmp	w9, #104
	b.ne	LBB0_2
; %bb.16:
	ldrb	w9, [x21, #1]
	sub	w8, w8, #108
	cmp	w9, #108
	csinv	w20, w8, wzr, eq
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	":"

	.no_dead_strip	_parse_registerpair
.subsections_via_symbols
