	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ia64_gimplify_va_arg
_ia64_gimplify_va_arg:                  ## @ia64_gimplify_va_arg
	.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
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %ebx
	movl	%edi, %r12d
	movl	%esi, %edi
	callq	_TYPE_MODE
	xorl	%edi, %edi
	movl	%eax, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_pass_by_reference
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movl	%ebx, %edi
	callq	_build_pointer_type
	movl	%r12d, %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_std_gimplify_va_arg_expr
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_va_arg_indirect_ref      ## TAILCALL
LBB0_1:
	movl	%ebx, %edi
	callq	_TREE_CODE
	movq	_REAL_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movl	%ebx, %edi
	callq	_TREE_CODE
	movq	_INTEGER_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_3:
	movl	%ebx, %edi
	callq	_int_size_in_bytes
	cmpl	$8, %eax
	jle	LBB0_6
LBB0_5:
	movq	_PLUS_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_TREE_TYPE
	movl	%eax, %r13d
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax), %esi
	decl	%esi
	callq	_build_int_cst
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_build2
	movl	%eax, %r13d
	movq	_BIT_AND_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	_TREE_TYPE
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%esi, %esi
	negl	%esi
	callq	_build_int_cst
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_build2
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_MODIFY_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r12d, %edi
	callq	_TREE_TYPE
	movl	%r13d, %edi
	movl	%eax, %esi
	movl	%r12d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_build2
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_gimplify_and_add
LBB0_6:
	movl	%r12d, %edi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_std_gimplify_va_arg_expr       ## TAILCALL
LBB0_4:
	movl	%ebx, %edi
	callq	_TYPE_ALIGN
	movq	_BITS_PER_UNIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$3, %ecx
	cmpl	%ecx, %eax
	jg	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_REAL_TYPE,8,3                  ## @REAL_TYPE
	.comm	_INTEGER_TYPE,8,3               ## @INTEGER_TYPE
	.comm	_BITS_PER_UNIT,4,2              ## @BITS_PER_UNIT
	.comm	_PLUS_EXPR,4,2                  ## @PLUS_EXPR
	.comm	_NULL_TREE,4,2                  ## @NULL_TREE
	.comm	_UNITS_PER_WORD,4,2             ## @UNITS_PER_WORD
	.comm	_BIT_AND_EXPR,4,2               ## @BIT_AND_EXPR
	.comm	_MODIFY_EXPR,4,2                ## @MODIFY_EXPR
	.no_dead_strip	_ia64_gimplify_va_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ia64_gimplify_va_arg
_ia64_gimplify_va_arg:                  ; @ia64_gimplify_va_arg
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	mov	x0, x1
	bl	_TYPE_MODE
	mov	x1, x0
	mov	x0, #0
	mov	x2, x22
	mov	w3, #0
	bl	_pass_by_reference
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_build_pointer_type
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	bl	_std_gimplify_va_arg_expr
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_build_va_arg_indirect_ref
LBB0_2:
	mov	x0, x22
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _REAL_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REAL_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_TREE_CODE
Lloh3:
	adrp	x8, _INTEGER_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTEGER_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
LBB0_4:
	mov	x0, x22
	bl	_int_size_in_bytes
	cmp	w0, #8
	b.le	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _PLUS_EXPR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PLUS_EXPR@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
	mov	x0, x21
	bl	_TREE_TYPE
	mov	x24, x0
Lloh9:
	adrp	x26, _NULL_TREE@GOTPAGE
Lloh10:
	ldr	x26, [x26, _NULL_TREE@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh11:
	adrp	x27, _UNITS_PER_WORD@GOTPAGE
Lloh12:
	ldr	x27, [x27, _UNITS_PER_WORD@GOTPAGEOFF]
	ldr	w8, [x27]
	lsl	w8, w8, #1
	sub	w1, w8, #1
	bl	_build_int_cst
	mov	x3, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x21
	bl	_build2
	mov	x23, x0
Lloh13:
	adrp	x8, _BIT_AND_EXPR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BIT_AND_EXPR@GOTPAGEOFF]
Lloh15:
	ldr	w24, [x8]
	bl	_TREE_TYPE
	mov	x25, x0
	ldr	w0, [x26]
	ldr	w8, [x27]
	neg	w1, w8, lsl #1
	bl	_build_int_cst
	mov	x3, x0
	mov	x0, x24
	mov	x1, x25
	mov	x2, x23
	bl	_build2
	mov	x23, x0
Lloh16:
	adrp	x8, _MODIFY_EXPR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MODIFY_EXPR@GOTPAGEOFF]
Lloh18:
	ldr	w24, [x8]
	mov	x0, x21
	bl	_TREE_TYPE
	mov	x1, x0
	mov	x0, x24
	mov	x2, x21
	mov	x3, x23
	bl	_build2
	mov	x1, x20
	bl	_gimplify_and_add
LBB0_6:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_std_gimplify_va_arg_expr
LBB0_7:
	mov	x0, x22
	bl	_TYPE_ALIGN
Lloh19:
	adrp	x8, _BITS_PER_UNIT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BITS_PER_UNIT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w0, w8, lsl #3
	b.gt	LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_REAL_TYPE,8,3                  ; @REAL_TYPE
	.comm	_INTEGER_TYPE,8,3               ; @INTEGER_TYPE
	.comm	_BITS_PER_UNIT,4,2              ; @BITS_PER_UNIT
	.comm	_PLUS_EXPR,4,2                  ; @PLUS_EXPR
	.comm	_NULL_TREE,4,2                  ; @NULL_TREE
	.comm	_UNITS_PER_WORD,4,2             ; @UNITS_PER_WORD
	.comm	_BIT_AND_EXPR,4,2               ; @BIT_AND_EXPR
	.comm	_MODIFY_EXPR,4,2                ; @MODIFY_EXPR
	.no_dead_strip	_ia64_gimplify_va_arg
.subsections_via_symbols
