	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs6000_legitimate_address      ## -- Begin function rs6000_legitimate_address
	.p2align	4, 0x90
_rs6000_legitimate_address:             ## @rs6000_legitimate_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movl	%edi, %r15d
	movq	_TARGET_ALTIVEC@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movl	%r15d, %edi
	callq	_ALTIVEC_VECTOR_MODE
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%r12, %rdi
	callq	_GET_CODE
	movq	_AND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_XEXP
	movq	%rax, %rdi
	callq	_GET_CODE
	movq	_CONST_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_XEXP
	movq	%rax, %rdi
	callq	_INTVAL
	cmpl	$-16, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	movq	%rax, %r12
LBB0_6:
	movq	%r12, %rdi
	callq	_RS6000_SYMBOL_REF_TLS_P
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_42
## %bb.7:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_legitimate_indirect_address_p
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:
	movq	%r12, %rdi
	callq	_GET_CODE
	movq	_PRE_INC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	callq	_GET_CODE
	movq	_PRE_DEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_11:
	movl	%r15d, %edi
	callq	_ALTIVEC_VECTOR_MODE
	testq	%rax, %rax
	je	LBB0_16
LBB0_12:
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_legitimate_small_data_p
	testq	%rax, %rax
	jne	LBB0_8
## %bb.14:
	movq	%r12, %rdi
	callq	_legitimate_constant_pool_address_p
	testq	%rax, %rax
	jne	LBB0_8
## %bb.24:
	testl	%r14d, %r14d
	jne	LBB0_30
## %bb.25:
	movq	%r12, %rdi
	callq	_GET_CODE
	movq	_PLUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.26:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	movq	%rax, %rdi
	callq	_GET_CODE
	movq	_REG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.27:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	movq	_virtual_stack_vars_rtx@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_29
## %bb.28:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	movq	_arg_pointer_rtx@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
LBB0_29:
	movl	$1, %ebx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_XEXP
	movq	%rax, %rdi
	callq	_GET_CODE
	movq	_CONST_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_42
LBB0_30:
	movl	%r15d, %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_rs6000_legitimate_offset_address_p
	testq	%rax, %rax
	jne	LBB0_8
## %bb.32:
	movq	_TImode@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_41
## %bb.33:
	movq	_TFmode@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_41
## %bb.34:
	movq	_TARGET_HARD_FLOAT@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	setne	%cl
	movq	_TARGET_FPRS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	setne	%dl
	movq	_TARGET_POWERPC64@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testb	%dl, %cl
	jne	LBB0_38
## %bb.35:
	testq	%rax, %rax
	jne	LBB0_38
## %bb.36:
	movq	_DFmode@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_38
## %bb.37:
	movq	_TARGET_E500_DOUBLE@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_41
LBB0_38:
	testq	%rax, %rax
	jne	LBB0_40
## %bb.39:
	movq	_DImode@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_41
LBB0_40:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_legitimate_indexed_address_p
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_42
LBB0_41:
	movl	%r15d, %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_legitimate_lo_sum_address_p
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	jmp	LBB0_42
LBB0_16:
	movl	%r15d, %edi
	callq	_SPE_VECTOR_MODE
	testl	%eax, %eax
	jne	LBB0_12
## %bb.17:
	movq	_TFmode@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_12
## %bb.18:
	movq	_TARGET_E500_DOUBLE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.19:
	movq	_DFmode@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_12
## %bb.20:
	movq	_DImode@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_12
LBB0_21:
	movq	_TARGET_UPDATE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.22:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_legitimate_indirect_address_p
	testq	%rax, %rax
	je	LBB0_12
LBB0_8:
	movl	$1, %ebx
LBB0_42:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_ALTIVEC,8,3             ## @TARGET_ALTIVEC
	.comm	_AND,8,3                        ## @AND
	.comm	_CONST_INT,8,3                  ## @CONST_INT
	.comm	_PRE_INC,8,3                    ## @PRE_INC
	.comm	_PRE_DEC,8,3                    ## @PRE_DEC
	.comm	_TFmode,4,2                     ## @TFmode
	.comm	_TARGET_E500_DOUBLE,8,3         ## @TARGET_E500_DOUBLE
	.comm	_DFmode,4,2                     ## @DFmode
	.comm	_DImode,4,2                     ## @DImode
	.comm	_TARGET_UPDATE,8,3              ## @TARGET_UPDATE
	.comm	_PLUS,8,3                       ## @PLUS
	.comm	_REG,8,3                        ## @REG
	.comm	_virtual_stack_vars_rtx,8,3     ## @virtual_stack_vars_rtx
	.comm	_arg_pointer_rtx,8,3            ## @arg_pointer_rtx
	.comm	_TImode,4,2                     ## @TImode
	.comm	_TARGET_HARD_FLOAT,8,3          ## @TARGET_HARD_FLOAT
	.comm	_TARGET_FPRS,8,3                ## @TARGET_FPRS
	.comm	_TARGET_POWERPC64,8,3           ## @TARGET_POWERPC64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs6000_legitimate_address      ; -- Begin function rs6000_legitimate_address
	.p2align	2
_rs6000_legitimate_address:             ; @rs6000_legitimate_address
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _TARGET_ALTIVEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TARGET_ALTIVEC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x0, x20
	bl	_ALTIVEC_VECTOR_MODE
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_GET_CODE
Lloh3:
	adrp	x8, _AND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AND@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x21
	mov	w1, #1
	bl	_XEXP
	bl	_GET_CODE
Lloh6:
	adrp	x8, _CONST_INT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONST_INT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x21
	mov	w1, #1
	bl	_XEXP
	bl	_INTVAL
	cmn	w0, #16
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x21
	mov	w1, #0
	bl	_XEXP
	mov	x21, x0
LBB0_6:
	mov	x0, x21
	bl	_RS6000_SYMBOL_REF_TLS_P
	cbz	x0, LBB0_8
; %bb.7:
	mov	w22, #0
	b	LBB0_39
LBB0_8:
	mov	x0, x21
	mov	x1, x19
	bl	_legitimate_indirect_address_p
	cbnz	x0, LBB0_38
; %bb.9:
	mov	x0, x21
	bl	_GET_CODE
Lloh9:
	adrp	x8, _PRE_INC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PRE_INC@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_GET_CODE
Lloh12:
	adrp	x8, _PRE_DEC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PRE_DEC@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
LBB0_11:
	mov	x0, x20
	bl	_ALTIVEC_VECTOR_MODE
	cbz	x0, LBB0_31
LBB0_12:
	mov	x0, x20
	mov	x1, x21
	bl	_legitimate_small_data_p
	cbnz	x0, LBB0_38
; %bb.13:
	mov	x0, x21
	bl	_legitimate_constant_pool_address_p
	cbnz	x0, LBB0_38
; %bb.14:
	cbnz	w19, LBB0_20
; %bb.15:
	mov	x0, x21
	bl	_GET_CODE
Lloh15:
	adrp	x8, _PLUS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PLUS@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.16:
	mov	x0, x21
	mov	w1, #0
	bl	_XEXP
	bl	_GET_CODE
Lloh18:
	adrp	x8, _REG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _REG@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.17:
	mov	x0, x21
	mov	w1, #0
	bl	_XEXP
Lloh21:
	adrp	x8, _virtual_stack_vars_rtx@GOTPAGE
Lloh22:
	ldr	x8, [x8, _virtual_stack_vars_rtx@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_19
; %bb.18:
	mov	x0, x21
	mov	w1, #0
	bl	_XEXP
Lloh24:
	adrp	x8, _arg_pointer_rtx@GOTPAGE
Lloh25:
	ldr	x8, [x8, _arg_pointer_rtx@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_20
LBB0_19:
	mov	w22, #1
	mov	x0, x21
	mov	w1, #1
	bl	_XEXP
	bl	_GET_CODE
Lloh27:
	adrp	x8, _CONST_INT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CONST_INT@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_39
LBB0_20:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_rs6000_legitimate_offset_address_p
	cbnz	x0, LBB0_38
; %bb.21:
Lloh30:
	adrp	x8, _TImode@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TImode@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_30
; %bb.22:
Lloh33:
	adrp	x8, _TFmode@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TFmode@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_30
; %bb.23:
Lloh36:
	adrp	x8, _TARGET_HARD_FLOAT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _TARGET_HARD_FLOAT@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
Lloh39:
	adrp	x9, _TARGET_FPRS@GOTPAGE
Lloh40:
	ldr	x9, [x9, _TARGET_FPRS@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	x8, #0, #4, ne
Lloh42:
	adrp	x8, _TARGET_POWERPC64@GOTPAGE
Lloh43:
	ldr	x8, [x8, _TARGET_POWERPC64@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	b.ne	LBB0_27
; %bb.24:
	cbnz	x8, LBB0_27
; %bb.25:
Lloh45:
	adrp	x9, _DFmode@GOTPAGE
Lloh46:
	ldr	x9, [x9, _DFmode@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	cmp	w9, w20
	b.ne	LBB0_27
; %bb.26:
Lloh48:
	adrp	x9, _TARGET_E500_DOUBLE@GOTPAGE
Lloh49:
	ldr	x9, [x9, _TARGET_E500_DOUBLE@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cbz	x9, LBB0_30
LBB0_27:
	cbnz	x8, LBB0_29
; %bb.28:
Lloh51:
	adrp	x8, _DImode@GOTPAGE
Lloh52:
	ldr	x8, [x8, _DImode@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_30
LBB0_29:
	mov	x0, x21
	mov	x1, x19
	bl	_legitimate_indexed_address_p
	cbnz	x0, LBB0_38
LBB0_30:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_legitimate_lo_sum_address_p
	cmp	x0, #0
	cset	w22, ne
	b	LBB0_39
LBB0_31:
	mov	x0, x20
	bl	_SPE_VECTOR_MODE
	cbnz	w0, LBB0_12
; %bb.32:
Lloh54:
	adrp	x8, _TFmode@GOTPAGE
Lloh55:
	ldr	x8, [x8, _TFmode@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_12
; %bb.33:
Lloh57:
	adrp	x8, _TARGET_E500_DOUBLE@GOTPAGE
Lloh58:
	ldr	x8, [x8, _TARGET_E500_DOUBLE@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
	cbz	x8, LBB0_36
; %bb.34:
Lloh60:
	adrp	x8, _DFmode@GOTPAGE
Lloh61:
	ldr	x8, [x8, _DFmode@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_12
; %bb.35:
Lloh63:
	adrp	x8, _DImode@GOTPAGE
Lloh64:
	ldr	x8, [x8, _DImode@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_12
LBB0_36:
Lloh66:
	adrp	x8, _TARGET_UPDATE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _TARGET_UPDATE@GOTPAGEOFF]
Lloh68:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.37:
	mov	x0, x21
	mov	w1, #0
	bl	_XEXP
	mov	x1, x19
	bl	_legitimate_indirect_address_p
	cbz	x0, LBB0_12
LBB0_38:
	mov	w22, #1
LBB0_39:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_ALTIVEC,8,3             ; @TARGET_ALTIVEC
	.comm	_AND,8,3                        ; @AND
	.comm	_CONST_INT,8,3                  ; @CONST_INT
	.comm	_PRE_INC,8,3                    ; @PRE_INC
	.comm	_PRE_DEC,8,3                    ; @PRE_DEC
	.comm	_TFmode,4,2                     ; @TFmode
	.comm	_TARGET_E500_DOUBLE,8,3         ; @TARGET_E500_DOUBLE
	.comm	_DFmode,4,2                     ; @DFmode
	.comm	_DImode,4,2                     ; @DImode
	.comm	_TARGET_UPDATE,8,3              ; @TARGET_UPDATE
	.comm	_PLUS,8,3                       ; @PLUS
	.comm	_REG,8,3                        ; @REG
	.comm	_virtual_stack_vars_rtx,8,3     ; @virtual_stack_vars_rtx
	.comm	_arg_pointer_rtx,8,3            ; @arg_pointer_rtx
	.comm	_TImode,4,2                     ; @TImode
	.comm	_TARGET_HARD_FLOAT,8,3          ; @TARGET_HARD_FLOAT
	.comm	_TARGET_FPRS,8,3                ; @TARGET_FPRS
	.comm	_TARGET_POWERPC64,8,3           ; @TARGET_POWERPC64
.subsections_via_symbols
