	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_upperlayer
_get_upperlayer:                        ## @get_upperlayer
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	(%rdi), %r12
	movl	(%rsi), %edi
	callq	_ND_TTEST
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	cmpq	%rbx, %r12
	jbe	LBB0_20
## %bb.2:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	$4, %edx
	leaq	LJTI0_0(%rip), %r13
	movq	_IP6F_OFF_MASK@GOTPCREL(%rip), %r14
	movq	%rbx, %r15
	jmp	LBB0_6
LBB0_3:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r15), %edi
	callq	_ND_TTEST
	movl	$2, %ecx
	testq	%rax, %rax
	je	LBB0_19
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r15), %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	addl	$8, %edx
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	4(%r15), %rbx
	cmpq	%r12, %r15
	jae	LBB0_19
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ebx
	leal	-128(%rbx), %eax
	cmpl	$6, %eax
	ja	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	%edx, %rcx
	leaq	(%r15,%rcx,4), %r15
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r15), %edi
	callq	_ND_TTEST
	movl	$3, %ecx
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_19
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r15), %edi
	callq	_ND_TTEST
	testq	%rax, %rax
	je	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_EXTRACT_16BITS
	movl	$8, %edx
	testl	%eax, (%r14)
	je	LBB0_5
	jmp	LBB0_19
LBB0_14:
	movl	(%r15), %edi
	callq	_ND_TTEST
	testq	%rax, %rax
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_18
LBB0_19:
	xorl	%r15d, %r15d
LBB0_20:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_18:
	movl	%ebx, (%rax)
	jmp	LBB0_20
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_IP6F_OFF_MASK,4,2              ## @IP6F_OFF_MASK
	.no_dead_strip	_get_upperlayer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_upperlayer
_get_upperlayer:                        ; @get_upperlayer
	.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	x19, x2
	mov	x21, x1
	ldr	x22, [x0]
	ldr	w0, [x1]
	bl	_ND_TTEST
	cmp	x0, #0
	ccmp	x22, x21, #0, ne
	b.hi	LBB0_3
LBB0_1:
	mov	x20, #0
LBB0_2:
	mov	x0, x20
	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
	ret
LBB0_3:
	mov	w8, #4
Lloh0:
	adrp	x23, _IP6F_OFF_MASK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IP6F_OFF_MASK@GOTPAGEOFF]
	mov	x20, x21
Lloh2:
	adrp	x24, lJTI0_0@PAGE
Lloh3:
	add	x24, x24, lJTI0_0@PAGEOFF
	b	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x20]
	bl	_ND_TTEST
	cbz	x0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #2
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w9, [x20]
	lsl	w8, w9, w8
	add	w8, w8, #8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x20, #4
	cmp	x20, x22
	b.hs	LBB0_1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x21]
	sub	w9, w21, #128
	cmp	w9, #6
	b.hi	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x20, x20, w8, sxtw #2
	adr	x8, LBB0_4
	ldrb	w10, [x24, x9]
	add	x8, x8, x10, lsl #2
	br	x8
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x20]
	bl	_ND_TTEST
	cbz	x0, LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #3
	b	LBB0_6
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x20]
	bl	_ND_TTEST
	cbz	x0, LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_EXTRACT_16BITS
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #8
	b	LBB0_7
LBB0_15:
	ldr	w0, [x20]
	bl	_ND_TTEST
	cbnz	x0, LBB0_17
	b	LBB0_1
LBB0_16:
	mov	x20, #0
LBB0_17:
	str	w21, [x19]
	b	LBB0_2
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
                                        ; -- End function
	.comm	_IP6F_OFF_MASK,4,2              ; @IP6F_OFF_MASK
	.no_dead_strip	_get_upperlayer
.subsections_via_symbols
