	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function immed_can_modify
_immed_can_modify:                      ## @immed_can_modify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	_OP_IMMED_INV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_FIELD_GET
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	_OP_IMMED_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_FIELD_GET
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_OP_IMMED_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_FIELD_GET
	movq	%rax, %rcx
	movq	_IMMED_WIDTH_ALL@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_IMMED_INV,4,2               ## @OP_IMMED_INV
	.comm	_OP_IMMED_SHIFT,4,2             ## @OP_IMMED_SHIFT
	.comm	_OP_IMMED_WIDTH,4,2             ## @OP_IMMED_WIDTH
	.comm	_IMMED_WIDTH_ALL,8,3            ## @IMMED_WIDTH_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't decode/encode immed!\n"

	.no_dead_strip	_immed_can_modify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function immed_can_modify
_immed_can_modify:                      ; @immed_can_modify
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _OP_IMMED_INV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OP_IMMED_INV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_FIELD_GET
	cbnz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _OP_IMMED_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OP_IMMED_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_FIELD_GET
	cbnz	x0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _OP_IMMED_WIDTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OP_IMMED_WIDTH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_FIELD_GET
Lloh9:
	adrp	x8, _IMMED_WIDTH_ALL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IMMED_WIDTH_ALL@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_IMMED_INV,4,2               ; @OP_IMMED_INV
	.comm	_OP_IMMED_SHIFT,4,2             ; @OP_IMMED_SHIFT
	.comm	_OP_IMMED_WIDTH,4,2             ; @OP_IMMED_WIDTH
	.comm	_IMMED_WIDTH_ALL,8,3            ; @IMMED_WIDTH_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't decode/encode immed!\n"

	.no_dead_strip	_immed_can_modify
.subsections_via_symbols
