	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_const
_read_const:                            ## @read_const
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	leal	(%rbx,%r14), %eax
	cmpl	(%rdi), %eax
	jle	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_2:
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.4:
	movq	8(%r15), %r8
	movslq	%r14d, %rsi
	movl	%ebx, %eax
	leaq	-1(%rax), %rdi
	movl	%eax, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdi
	jae	LBB0_6
## %bb.5:
	xorl	%edi, %edi
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_10
	jmp	LBB0_12
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_6:
	andl	$-4, %eax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	addq	$4, %rdi
	cmpq	%rdi, %rax
	jne	LBB0_7
## %bb.8:
	leaq	(%r8,%rsi,4), %rbx
	movl	-16(%rbx,%rdi,4), %edx
	movl	-12(%rbx,%rdi,4), %eax
	shll	$16, %edx
	shll	$8, %eax
	orl	%edx, %eax
	orl	-8(%rbx,%rdi,4), %eax
	shll	$8, %eax
	orl	-4(%rbx,%rdi,4), %eax
	testq	%rcx, %rcx
	je	LBB0_12
LBB0_10:
	addq	%rsi, %rdi
	leaq	(%r8,%rdi,4), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	shll	$8, %eax
	orl	(%rdx,%rsi,4), %eax
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GDB bug: ax-general.c (read_const): incomplete constant"

	.no_dead_strip	_read_const
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_const
_read_const:                            ; @read_const
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w8, [x0]
	add	w9, w2, w1
	cmp	w9, w8
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w0, #0
	ldr	x9, [x21, #8]
	mov	w8, w20
	add	x9, x9, w19, sxtw #2
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	orr	w0, w10, w0, lsl #8
	subs	x8, x8, #1
	b.ne	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GDB bug: ax-general.c (read_const): incomplete constant"

	.no_dead_strip	_read_const
.subsections_via_symbols
