	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cirrus_convert_to
_cirrus_convert_to:                     ## @cirrus_convert_to
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	cmpl	$4, (%rcx)
	jne	LBB0_3
## %bb.1:
	movq	(%rdi), %rdx
	movq	_CIRRUS_MAX_PITCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, (%rdx)
	jle	LBB0_3
## %bb.2:
	movl	8(%rdi), %eax
	leal	(%rax,%rax,2), %edx
	xorl	%eax, %eax
	cmpl	%ecx, %edx
	setg	%al
	xorl	$3, %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CIRRUS_MAX_PITCH,4,2           ## @CIRRUS_MAX_PITCH
	.no_dead_strip	_cirrus_convert_to
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cirrus_convert_to
_cirrus_convert_to:                     ; @cirrus_convert_to
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #4
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x8, _CIRRUS_MAX_PITCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CIRRUS_MAX_PITCH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w9, w8
	b.le	LBB0_3
; %bb.2:
	ldr	w9, [x0, #8]
	add	w9, w9, w9, lsl #1
	cmp	w9, w8
	mov	w8, #2
	cinc	w0, w8, le
	ret
LBB0_3:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CIRRUS_MAX_PITCH,4,2           ; @CIRRUS_MAX_PITCH
	.no_dead_strip	_cirrus_convert_to
.subsections_via_symbols
