	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rowcol_parse_variable_compat
_rowcol_parse_variable_compat:          ## @rowcol_parse_variable_compat
	.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
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	__region_head
	movq	%rax, %r14
	movl	24(%rax), %edi
	callq	_be32toh
	movq	%rax, 32(%rbx)
	movl	20(%r14), %edi
	callq	_be32toh
	movq	%rax, 24(%rbx)
	movl	16(%r14), %edi
	callq	_be32toh
	movl	%eax, (%rbx)
	movl	%eax, %ecx
	negb	%cl
	movl	$-1, %eax
	shrl	%cl, %eax
	movl	%eax, 4(%rbx)
	movl	$8, %edi
	callq	_malloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	$1, 8(%rbx)
	movl	12(%r14), %edi
	callq	_be32toh
	movq	%rax, %r12
	movl	8(%r14), %edi
	callq	_be32toh
	movl	%eax, %ecx
	addl	%r12d, %ecx
	jle	LBB0_7
## %bb.3:
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_set_linear_zone
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movl	%eax, %r12d
	movq	16(%rbx), %rdi
	callq	_free
	movq	$0, 16(%rbx)
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_5:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	incl	8(%rbx)
	addq	$4, %r15
LBB0_7:
	movl	4(%r14), %edi
	callq	_be32toh
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_be32toh
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_linear_zone                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_rowcol_parse_variable_compat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rowcol_parse_variable_compat
_rowcol_parse_variable_compat:          ; @rowcol_parse_variable_compat
	.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
	mov	x20, x0
	mov	x0, x1
	bl	__region_head
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_be32toh
	str	x0, [x20, #32]
	ldr	w0, [x19, #20]
	bl	_be32toh
	str	x0, [x20, #24]
	ldr	w0, [x19, #16]
	bl	_be32toh
	neg	w8, w0
	mov	w9, #-1
	lsr	w8, w9, w8
	stp	w0, w8, [x20]
	mov	w0, #8
	bl	_malloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	mov	w8, #1
	str	w8, [x20, #8]
	ldr	w0, [x19, #12]
	bl	_be32toh
	mov	x22, x0
	ldr	w0, [x19, #8]
	bl	_be32toh
	mov	x2, x0
	add	w8, w2, w22
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x0, x21
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_set_linear_zone
	cbz	w0, LBB0_6
; %bb.3:
	mov	x22, x0
	ldr	x0, [x20, #16]
	bl	_free
	str	xzr, [x20, #16]
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
LBB0_5:
	mov	x0, x22
	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_6:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	add	x21, x21, #4
LBB0_7:
	ldr	w0, [x19, #4]
	bl	_be32toh
	mov	x20, x0
	ldr	w0, [x19]
	bl	_be32toh
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	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
	b	_set_linear_zone
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_rowcol_parse_variable_compat
.subsections_via_symbols
