	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_modify_field                   ## -- Begin function modify_field
	.p2align	4, 0x90
_modify_field:                          ## @modify_field
	.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
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movl	%esi, %r13d
	movl	$-1, %r14d
	cmpl	$31, %ecx
	jg	LBB0_3
## %bb.1:
	movl	%r13d, %eax
	notl	%eax
	leal	-1(%r12), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	movl	$-1, %edx
	movl	%r12d, %ecx
	shll	%cl, %edx
	movl	%edx, %r14d
	xorl	%ebx, %ebx
	negl	%eax
	sbbl	%ebx, %ebx
	notl	%r14d
	orl	%r14d, %ebx
	andl	%r13d, %ebx
	testl	%edx, %ebx
	je	LBB0_4
## %bb.2:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	callq	_warning
	movq	%rbx, %rdi
	andl	%r14d, %r13d
LBB0_3:
	movl	%r13d, %ebx
LBB0_4:
	movq	%rdi, %r13
	movl	$4, %esi
	callq	_extract_signed_integer
	movq	_BITS_BIG_ENDIAN@GOTPCREL(%rip), %rcx
	addl	%r15d, %r12d
	movb	$32, %dl
	subb	%r12b, %dl
	cmpq	$0, (%rcx)
	movzbl	%dl, %ecx
	cmovel	%r15d, %ecx
	shll	%cl, %r14d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	notl	%r14d
	andl	%eax, %r14d
	orl	%r14d, %ebx
	movq	%r13, %rdi
	movl	$4, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_store_signed_integer           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Value does not fit in %d bits."

	.comm	_BITS_BIG_ENDIAN,8,3            ## @BITS_BIG_ENDIAN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_modify_field                   ; -- Begin function modify_field
	.p2align	2
_modify_field:                          ; @modify_field
	.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	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w8, #-1
	cmp	w3, #31
	b.gt	LBB0_3
; %bb.1:
	mvn	w9, w21
	sub	w10, w22, #1
	lsl	w11, w8, w22
	mvn	w23, w11
	lsr	w9, w9, w10
	cmp	w9, #0
	csinv	w8, w8, w11, ne
	and	w8, w8, w21
	tst	w8, w11
	b.eq	LBB0_4
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_warning
	and	w21, w23, w21
	b	LBB0_5
LBB0_3:
	mov	w23, #-1
	b	LBB0_5
LBB0_4:
	mov	x21, x8
LBB0_5:
	mov	x0, x19
	mov	w1, #4
	bl	_extract_signed_integer
Lloh2:
	adrp	x8, _BITS_BIG_ENDIAN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BITS_BIG_ENDIAN@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	mov	w9, #32
	add	w10, w20, w22
	sub	w9, w9, w10
	cmp	x8, #0
	csel	w8, w20, w9, eq
	lsl	w9, w23, w8
	bic	w9, w0, w9
	lsl	w8, w21, w8
	orr	w2, w9, w8
	mov	x0, x19
	mov	w1, #4
	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	_store_signed_integer
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Value does not fit in %d bits."

	.comm	_BITS_BIG_ENDIAN,8,3            ; @BITS_BIG_ENDIAN
.subsections_via_symbols
