	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macro_build_ldst_constoffset
_macro_build_ldst_constoffset:          ## @macro_build_ldst_constoffset
	.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	%r8d, %r13d
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_O_constant@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	testl	%r13d, %r13d
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_normalize_constant_expr
LBB0_2:
	movl	$32768, %edi                    ## imm = 0x8000
	addq	8(%rbx), %rdi
	callq	_IS_SEXT_32BIT_NUM
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_as_warn
LBB0_4:
	movq	8(%rbx), %rdi
	callq	_IS_SEXT_16BIT_NUM
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	_BFD_RELOC_LO16@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %ecx
	movl	%r12d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_macro_build                    ## TAILCALL
LBB0_5:
	movq	_AT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_macro_build_lui
	movq	_ADDRESS_ADD_INSN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%r13), %ecx
	leaq	L_.str.2(%rip), %rdx
	xorl	%edi, %edi
	movl	%ecx, %r8d
	movl	%r12d, %r9d
	callq	_macro_build
	movq	_BFD_RELOC_LO16@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	(%r13), %r9d
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %ecx
	callq	_macro_build
	movq	_mips_opts@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_as_bad                         ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_O_constant,8,3                 ## @O_constant
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"operand overflow"

L_.str.1:                               ## @.str.1
	.asciz	"t,o(b)"

	.comm	_BFD_RELOC_LO16,4,2             ## @BFD_RELOC_LO16
	.comm	_AT,4,2                         ## @AT
	.comm	_ADDRESS_ADD_INSN,8,3           ## @ADDRESS_ADD_INSN
L_.str.2:                               ## @.str.2
	.asciz	"d,v,t"

	.comm	_mips_opts,8,3                  ## @mips_opts
L_.str.3:                               ## @.str.3
	.asciz	"Macro used $at after \".set noat\""

	.no_dead_strip	_macro_build_ldst_constoffset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macro_build_ldst_constoffset
_macro_build_ldst_constoffset:          ; @macro_build_ldst_constoffset
	.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	x23, x4
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _O_constant@GOTPAGE
Lloh1:
	ldr	x9, [x9, _O_constant@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	cbnz	w23, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_normalize_constant_expr
LBB0_2:
	ldr	x8, [x21, #8]
	add	x0, x8, #8, lsl #12             ; =32768
	bl	_IS_SEXT_32BIT_NUM
	cbnz	w0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_as_warn
LBB0_4:
	ldr	x0, [x21, #8]
	bl	_IS_SEXT_16BIT_NUM
	cbz	x0, LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _BFD_RELOC_LO16@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BFD_RELOC_LO16@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	mov	x5, x22
	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	_macro_build
LBB0_6:
Lloh10:
	adrp	x23, _AT@GOTPAGE
Lloh11:
	ldr	x23, [x23, _AT@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x21
	bl	_macro_build_lui
Lloh12:
	adrp	x8, _ADDRESS_ADD_INSN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ADDRESS_ADD_INSN@GOTPAGEOFF]
Lloh14:
	ldr	x1, [x8]
	ldr	w3, [x23]
Lloh15:
	adrp	x2, l_.str.2@PAGE
Lloh16:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, #0
	mov	x4, x3
	mov	x5, x22
	bl	_macro_build
Lloh17:
	adrp	x8, _BFD_RELOC_LO16@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BFD_RELOC_LO16@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	ldr	w5, [x23]
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_macro_build
Lloh22:
	adrp	x8, _mips_opts@GOTPAGE
Lloh23:
	ldr	x8, [x8, _mips_opts@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	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	_as_bad
LBB0_8:
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_O_constant,8,3                 ; @O_constant
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"operand overflow"

l_.str.1:                               ; @.str.1
	.asciz	"t,o(b)"

	.comm	_BFD_RELOC_LO16,4,2             ; @BFD_RELOC_LO16
	.comm	_AT,4,2                         ; @AT
	.comm	_ADDRESS_ADD_INSN,8,3           ; @ADDRESS_ADD_INSN
l_.str.2:                               ; @.str.2
	.asciz	"d,v,t"

	.comm	_mips_opts,8,3                  ; @mips_opts
l_.str.3:                               ; @.str.3
	.asciz	"Macro used $at after \".set noat\""

	.no_dead_strip	_macro_build_ldst_constoffset
.subsections_via_symbols
