	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_immediate_twopart
_validate_immediate_twopart:            ## @validate_immediate_twopart
	.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, -48(%rbp)                 ## 8-byte Spill
	movl	%edi, %r12d
	xorl	%r14d, %r14d
	movl	$-2, %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$65535, %r13d                   ## imm = 0xFFFF
	jbe	LBB0_4
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	addl	$256, %r14d                     ## imm = 0x100
	cmpl	$30, %ebx
	jae	LBB0_11
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	addl	$2, %ebx
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_rotate_left
	movl	%eax, %r15d
	andl	$255, %r15d
	je	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r13d
	testl	$65280, %eax                    ## imm = 0xFF00
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	$16711680, %r13d                ## imm = 0xFF0000
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$16777215, %r13d                ## imm = 0xFFFFFF
	ja	LBB0_10
## %bb.7:
	shrl	$16, %r13d
	leal	2048(%r14), %eax
	jmp	LBB0_9
LBB0_11:
	movq	_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_12
LBB0_4:
	shrl	$8, %r13d
	leal	3072(%r14), %eax
	jmp	LBB0_9
LBB0_8:
	movl	%r13d, %edi
	andl	$-16777216, %edi                ## imm = 0xFF000000
	callq	_assert
	shrl	$24, %r13d
	leal	1024(%r14), %eax
LBB0_9:
	orl	%r13d, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	orl	%r14d, %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAIL,4,2                       ## @FAIL
	.no_dead_strip	_validate_immediate_twopart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_immediate_twopart
_validate_immediate_twopart:            ; @validate_immediate_twopart
	.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, x1
	mov	x20, x0
	mov	w23, #0
	mov	w21, #-2
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	lsr	w8, w22, #16
	cbz	w8, LBB0_9
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #256
	cmp	w21, #30
	b.hs	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w21, w21, #2
	mov	x0, x20
	mov	x1, x21
	bl	_rotate_left
	ands	w24, w0, #0xff
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	tst	w0, #0xff00
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	tst	w22, #0xff0000
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	lsr	w8, w22, #24
	cbnz	w8, LBB0_2
; %bb.7:
	add	w8, w23, #2048
	orr	w8, w8, w22, lsr #16
	b	LBB0_11
LBB0_8:
Lloh0:
	adrp	x8, _FAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_9:
	add	w8, w23, #3072
	orr	w8, w8, w22, lsr #8
	b	LBB0_11
LBB0_10:
	and	w0, w22, #0xff000000
	bl	_assert
	add	w8, w23, #1024
	orr	w8, w8, w22, lsr #24
LBB0_11:
	str	w8, [x19]
	orr	w0, w24, w23
LBB0_12:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FAIL,4,2                       ; @FAIL
	.no_dead_strip	_validate_immediate_twopart
.subsections_via_symbols
