	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function classify_switch
_classify_switch:                       ## @classify_switch
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	8(%rdi), %r14
	movslq	%edx, %r12
	movq	(%rax,%r12,8), %r13
	movq	%r14, %rdi
	callq	_OSM_LOG_ENTER
	movq	(%r13), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_11
## %bb.1:
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.2:
	movq	(%r15), %rcx
	movq	8(%rbx), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rdx
	movl	4(%rax), %edi
	callq	_poly_diff
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rbx), %rcx
	cmpq	%rcx, %r12
	jge	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r13), %rax
	movq	(%r15), %rcx
	movq	8(%rbx), %rdx
	movq	(%rdx,%r12,8), %rdx
	movq	(%rcx,%rdx,8), %rdx
	movl	(%rax), %esi
	movl	4(%rax), %edi
	callq	_poly_diff
	incq	%r12
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	decq	%r12
	jmp	LBB0_6
LBB0_3:
	xorl	%r12d, %r12d
LBB0_6:
	movq	16(%rbx), %rax
	incl	(%rax,%r12,4)
	jmp	LBB0_11
LBB0_9:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_10:
	movslq	%ecx, %rax
	movq	8(%rbx), %rcx
	movq	%r12, (%rcx,%rax,8)
	movq	16(%rbx), %rcx
	movl	$1, (%rcx,%rax,4)
	incl	(%rbx)
LBB0_11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OSM_LOG_EXIT                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_classify_switch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function classify_switch
_classify_switch:                       ; @classify_switch
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldp	x8, x19, [x0]
	ldr	x23, [x8, w2, sxtw #3]
	mov	x0, x19
	bl	_OSM_LOG_ENTER
	ldr	x9, [x23]
	ldr	w1, [x9]
	cbz	w1, LBB0_10
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	ldr	x8, [x22]
	ldr	x10, [x20, #8]
	ldr	x10, [x10]
	ldr	x2, [x8, x10, lsl #3]
	ldr	w0, [x9, #4]
	bl	_poly_diff
	cbz	x0, LBB0_8
; %bb.3:
	mov	w24, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x20]
	cmp	x24, x8
	b.ge	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x22]
	ldr	x10, [x20, #8]
	ldr	x10, [x10, x24, lsl #3]
	ldr	x2, [x9, x10, lsl #3]
	ldp	w1, w0, [x8]
	bl	_poly_diff
	add	x24, x24, #1
	cbnz	x0, LBB0_4
; %bb.6:
	sub	x8, x24, #1
	b	LBB0_9
LBB0_7:
	sxtw	x9, w21
	ldp	x10, x11, [x20, #8]
	str	x9, [x10, w8, sxtw #3]
	mov	w9, #1
	str	w9, [x11, w8, sxtw #2]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_10
LBB0_8:
	mov	x8, #0
LBB0_9:
	ldr	x9, [x20, #16]
	lsl	x8, x8, #2
	ldr	w10, [x9, x8]
	add	w10, w10, #1
	str	w10, [x9, x8]
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_OSM_LOG_EXIT
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_classify_switch
.subsections_via_symbols
