	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia64_expand_load_address       ## -- Begin function ia64_expand_load_address
	.p2align	4, 0x90
_ia64_expand_load_address:              ## @ia64_expand_load_address
	.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	%esi, %r14d
	movl	%edi, %r12d
	callq	_GET_CODE
	movq	_REG@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_gcc_assert
	movl	%r12d, %edi
	callq	_GET_MODE
	movq	_Pmode@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	cmpq	%rbx, %rax
	je	LBB0_2
## %bb.1:
	movl	%r12d, %edi
	callq	_REGNO
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_gen_rtx_REG_offset
	movl	%eax, %r12d
LBB0_2:
	movq	_TARGET_NO_PIC@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	jne	LBB0_19
## %bb.3:
	movq	_VOIDmode@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%r14d, %edi
	callq	_small_addr_symbolic_operand
	testq	%rax, %rax
	jne	LBB0_19
## %bb.4:
	movq	_TARGET_AUTO_PIC@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_gen_load_gprel64
	jmp	LBB0_17
LBB0_6:
	movl	%r14d, %edi
	callq	_GET_CODE
	movq	_SYMBOL_REF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movl	%r14d, %edi
	callq	_SYMBOL_REF_FUNCTION_P
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_gen_load_fptr
	jmp	LBB0_17
LBB0_9:
	movl	(%r15), %esi
	movl	%r14d, %edi
	callq	_sdata_symbolic_operand
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_gen_load_gprel
	jmp	LBB0_17
LBB0_11:
	movl	%r14d, %edi
	callq	_GET_CODE
	movq	_CONST@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.12:
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %edi
	movl	$1, %esi
	callq	_XEXP
	movl	%eax, %edi
	callq	_INTVAL
	movl	%eax, %ebx
	shll	$18, %ebx
	je	LBB0_13
## %bb.14:
	sarl	$18, %ebx
	subl	%ebx, %eax
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %r14d
	callq	_XEXP
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_plus_constant
	movl	%eax, %r14d
	jmp	LBB0_15
LBB0_13:
	xorl	%ebx, %ebx
LBB0_15:
	movq	(%r13), %rdi
	movl	%r14d, %esi
	callq	_gen_rtx_HIGH
	movq	(%r13), %rdi
	movq	_pic_offset_table_rtx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %esi
	callq	_gen_rtx_PLUS
	movl	(%r15), %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_gen_rtx_SET
	movl	%eax, %edi
	callq	_emit_insn
	movq	(%r13), %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	callq	_gen_rtx_LO_SUM
	movl	(%r15), %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_gen_rtx_SET
	movl	%eax, %edi
	callq	_emit_insn
	testl	%ebx, %ebx
	je	LBB0_18
## %bb.16:
	movl	%ebx, %edi
	movq	(%r13), %rbx
	callq	_GEN_INT
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_gen_rtx_PLUS
	movl	(%r15), %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_gen_rtx_SET
LBB0_17:
	movl	%eax, %edi
	callq	_emit_insn
LBB0_18:
	movl	$1, %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG,8,3                        ## @REG
	.comm	_Pmode,8,3                      ## @Pmode
	.comm	_TARGET_NO_PIC,8,3              ## @TARGET_NO_PIC
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.comm	_TARGET_AUTO_PIC,8,3            ## @TARGET_AUTO_PIC
	.comm	_SYMBOL_REF,8,3                 ## @SYMBOL_REF
	.comm	_CONST,8,3                      ## @CONST
	.comm	_pic_offset_table_rtx,4,2       ## @pic_offset_table_rtx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia64_expand_load_address       ; -- Begin function ia64_expand_load_address
	.p2align	2
_ia64_expand_load_address:              ; @ia64_expand_load_address
	.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	x20, x1
	mov	x19, x0
	bl	_GET_CODE
Lloh0:
	adrp	x8, _REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_gcc_assert
	mov	x0, x19
	bl	_GET_MODE
Lloh3:
	adrp	x23, _Pmode@GOTPAGE
Lloh4:
	ldr	x23, [x23, _Pmode@GOTPAGEOFF]
	ldr	x21, [x23]
	cmp	x0, x21
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_REGNO
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_gen_rtx_REG_offset
	mov	x19, x0
LBB0_2:
Lloh5:
	adrp	x8, _TARGET_NO_PIC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TARGET_NO_PIC@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbnz	x8, LBB0_4
; %bb.3:
Lloh8:
	adrp	x24, _VOIDmode@GOTPAGE
Lloh9:
	ldr	x24, [x24, _VOIDmode@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_small_addr_symbolic_operand
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	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
LBB0_6:
Lloh10:
	adrp	x8, _TARGET_AUTO_PIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TARGET_AUTO_PIC@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_gen_load_gprel64
	b	LBB0_19
LBB0_8:
	mov	x0, x20
	bl	_GET_CODE
Lloh13:
	adrp	x8, _SYMBOL_REF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SYMBOL_REF@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x20
	bl	_SYMBOL_REF_FUNCTION_P
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x19
	mov	x1, x20
	bl	_gen_load_fptr
	b	LBB0_19
LBB0_11:
	ldr	w1, [x24]
	mov	x0, x20
	bl	_sdata_symbolic_operand
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	x1, x20
	bl	_gen_load_gprel
	b	LBB0_19
LBB0_13:
	mov	x0, x20
	bl	_GET_CODE
Lloh16:
	adrp	x8, _CONST@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CONST@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.14:
	mov	x0, x20
	mov	w1, #0
	bl	_XEXP
	mov	w1, #1
	bl	_XEXP
	bl	_INTVAL
	lsl	w8, w0, #18
	cbz	w8, LBB0_16
; %bb.15:
	asr	w21, w8, #18
	sub	w22, w0, w21
	mov	x0, x20
	mov	w1, #0
	bl	_XEXP
	mov	w1, #0
	bl	_XEXP
	mov	x1, x22
	bl	_plus_constant
	mov	x20, x0
	b	LBB0_17
LBB0_16:
	mov	w21, #0
LBB0_17:
	ldr	x0, [x23]
	mov	x1, x20
	bl	_gen_rtx_HIGH
	mov	x1, x0
	ldr	x0, [x23]
Lloh19:
	adrp	x8, _pic_offset_table_rtx@GOTPAGE
Lloh20:
	ldr	x8, [x8, _pic_offset_table_rtx@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	bl	_gen_rtx_PLUS
	mov	x2, x0
	ldr	w0, [x24]
	mov	x1, x19
	bl	_gen_rtx_SET
	bl	_emit_insn
	ldr	x0, [x23]
	mov	x1, x19
	mov	x2, x20
	bl	_gen_rtx_LO_SUM
	mov	x2, x0
	ldr	w0, [x24]
	mov	x1, x19
	bl	_gen_rtx_SET
	bl	_emit_insn
	cbz	w21, LBB0_20
; %bb.18:
	ldr	x20, [x23]
	mov	x0, x21
	bl	_GEN_INT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_gen_rtx_PLUS
	mov	x2, x0
	ldr	w0, [x24]
	mov	x1, x19
	bl	_gen_rtx_SET
LBB0_19:
	bl	_emit_insn
LBB0_20:
	mov	w0, #1
	b	LBB0_5
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_REG,8,3                        ; @REG
	.comm	_Pmode,8,3                      ; @Pmode
	.comm	_TARGET_NO_PIC,8,3              ; @TARGET_NO_PIC
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_TARGET_AUTO_PIC,8,3            ; @TARGET_AUTO_PIC
	.comm	_SYMBOL_REF,8,3                 ; @SYMBOL_REF
	.comm	_CONST,8,3                      ; @CONST
	.comm	_pic_offset_table_rtx,4,2       ; @pic_offset_table_rtx
.subsections_via_symbols
