	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arm_output_load_gr             ## -- Begin function arm_output_load_gr
	.p2align	4, 0x90
_arm_output_load_gr:                    ## @arm_output_load_gr
	.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
	movq	%rdi, %r15
	movl	4(%rdi), %edi
	callq	_GET_CODE
	movq	_MEM@GOTPCREL(%rip), %rcx
	leaq	L_.str(%rip), %r14
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movl	4(%r15), %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GET_CODE
	movq	_PLUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.2:
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, -28(%rbp)
	movl	%eax, %edi
	callq	_GET_CODE
	movq	_REG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_XEXP
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GET_CODE
	movq	_CONST_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	movl	%ebx, %edi
	callq	_INTVAL
	cmpl	$1023, %eax                     ## imm = 0x3FF
	jg	LBB0_6
## %bb.5:
	movl	%ebx, %edi
	callq	_INTVAL
	cmpl	$-1024, %eax                    ## imm = 0xFC00
	jg	LBB0_7
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	leaq	-28(%rbp), %r14
	movq	%r14, %rsi
	callq	_output_asm_insn
	movl	(%r15), %ebx
	movl	-28(%rbp), %eax
	movl	%eax, (%r15)
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_output_asm_insn
	movl	%ebx, (%r15)
	movl	-28(%rbp), %eax
	movl	%eax, 4(%r15)
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	callq	_output_asm_insn
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	callq	_output_asm_insn
	leaq	L_.str.5(%rip), %r14
LBB0_7:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM,8,3                        ## @MEM
	.comm	_PLUS,8,3                       ## @PLUS
	.comm	_REG,8,3                        ## @REG
	.comm	_CONST_INT,8,3                  ## @CONST_INT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wldrw%?\t%0, %1"

L_.str.1:                               ## @.str.1
	.asciz	"str%?\t%0, [sp, #-4]!\t@ Start of GR load expansion"

L_.str.2:                               ## @.str.2
	.asciz	"ldr%?\t%0, %1"

L_.str.3:                               ## @.str.3
	.asciz	"tmcr%?\t%0, %1"

L_.str.4:                               ## @.str.4
	.asciz	"ldr%?\t%0, [sp], #4\t@ End of GR load expansion"

L_.str.5:                               ## @.str.5
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arm_output_load_gr             ; -- Begin function arm_output_load_gr
	.p2align	2
_arm_output_load_gr:                    ; @arm_output_load_gr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_GET_CODE
Lloh0:
	adrp	x8, _MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.1:
	ldr	w0, [x19, #4]
	mov	w1, #0
	bl	_XEXP
	mov	x20, x0
	bl	_GET_CODE
Lloh3:
	adrp	x8, _PLUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PLUS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
	mov	x0, x20
	mov	w1, #0
	bl	_XEXP
	str	w0, [sp, #12]
	bl	_GET_CODE
Lloh6:
	adrp	x8, _REG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x20
	mov	w1, #1
	bl	_XEXP
	mov	x20, x0
	bl	_GET_CODE
Lloh9:
	adrp	x8, _CONST_INT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CONST_INT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_INTVAL
	cmp	w0, #1023
	b.gt	LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_INTVAL
	cmn	w0, #1024
	b.le	LBB0_8
LBB0_6:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #12
	bl	_output_asm_insn
	ldr	w20, [x19]
	ldr	w8, [sp, #12]
	str	w8, [x19]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_output_asm_insn
	ldr	w8, [sp, #12]
	stp	w20, w8, [x19]
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_output_asm_insn
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	add	x1, sp, #12
	bl	_output_asm_insn
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM,8,3                        ; @MEM
	.comm	_PLUS,8,3                       ; @PLUS
	.comm	_REG,8,3                        ; @REG
	.comm	_CONST_INT,8,3                  ; @CONST_INT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wldrw%?\t%0, %1"

l_.str.1:                               ; @.str.1
	.asciz	"str%?\t%0, [sp, #-4]!\t@ Start of GR load expansion"

l_.str.2:                               ; @.str.2
	.asciz	"ldr%?\t%0, %1"

l_.str.3:                               ; @.str.3
	.asciz	"tmcr%?\t%0, %1"

l_.str.4:                               ; @.str.4
	.asciz	"ldr%?\t%0, [sp], #4\t@ End of GR load expansion"

l_.str.5:                               ; @.str.5
	.space	1

.subsections_via_symbols
