	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_immediate_align
_validate_immediate_align:              ## @validate_immediate_align
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	__IMM5_RSHIFT_1@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_4
## %bb.1:
	testb	$1, %dil
	je	LBB0_7
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_4:
	movq	__IMM5_RSHIFT_2@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	setne	%al
	movq	__IMM10_RSHIFT_2@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	setne	%cl
	testb	$3, %dil
	je	LBB0_7
## %bb.5:
	andb	%cl, %al
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	callq	__
	movq	_inst@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__IMM5_RSHIFT_1,4,2             ## @_IMM5_RSHIFT_1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"address offset must be half word alignment"

	.comm	_inst,8,3                       ## @inst
	.comm	_FAIL,8,3                       ## @FAIL
	.comm	__IMM5_RSHIFT_2,4,2             ## @_IMM5_RSHIFT_2
	.comm	__IMM10_RSHIFT_2,4,2            ## @_IMM10_RSHIFT_2
L_.str.1:                               ## @.str.1
	.asciz	"address offset must be word alignment"

	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_validate_immediate_align
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_immediate_align
_validate_immediate_align:              ; @validate_immediate_align
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, __IMM5_RSHIFT_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, __IMM5_RSHIFT_1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.1:
	tbz	w0, #0, LBB0_7
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, __IMM5_RSHIFT_2@GOTPAGE
Lloh6:
	ldr	x8, [x8, __IMM5_RSHIFT_2@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w1
Lloh8:
	adrp	x8, __IMM10_RSHIFT_2@GOTPAGE
Lloh9:
	ldr	x8, [x8, __IMM10_RSHIFT_2@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ccmp	w8, w1, #4, ne
	cset	w8, ne
	tst	w0, #0x3
	b.eq	LBB0_7
; %bb.4:
	tbnz	w8, #0, LBB0_7
; %bb.5:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	bl	__
Lloh13:
	adrp	x8, _inst@GOTPAGE
Lloh14:
	ldr	x8, [x8, _inst@GOTPAGEOFF]
Lloh15:
	str	x0, [x8]
Lloh16:
	adrp	x8, _FAIL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh18:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	__IMM5_RSHIFT_1,4,2             ; @_IMM5_RSHIFT_1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"address offset must be half word alignment"

	.comm	_inst,8,3                       ; @inst
	.comm	_FAIL,8,3                       ; @FAIL
	.comm	__IMM5_RSHIFT_2,4,2             ; @_IMM5_RSHIFT_2
	.comm	__IMM10_RSHIFT_2,4,2            ; @_IMM10_RSHIFT_2
l_.str.1:                               ; @.str.1
	.asciz	"address offset must be word alignment"

	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_validate_immediate_align
.subsections_via_symbols
