	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia64_function_arg_advance      ## -- Begin function ia64_function_arg_advance
	.p2align	4, 0x90
_ia64_function_arg_advance:             ## @ia64_function_arg_advance
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_ia64_function_arg_words
	movl	%eax, %r13d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_ia64_function_arg_offset
	movl	%eax, %ecx
	movl	(%r14), %edx
	movq	_MAX_ARGUMENT_SLOTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jge	LBB0_25
## %bb.1:
	movq	_VOIDmode@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	addl	%r13d, %ecx
	addl	%edx, %ecx
	movl	%ecx, (%r14)
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_hfa_element_mode
	movq	_VOIDmode@GOTPCREL(%rip), %rsi
LBB0_3:
	cmpl	(%rsi), %eax
	je	LBB0_15
## %bb.4:
	testl	%r15d, %r15d
	jne	LBB0_6
## %bb.5:
	cmpq	$0, 16(%r14)
	je	LBB0_6
LBB0_15:
	movq	_TFmode@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	je	LBB0_19
## %bb.16:
	movq	_TCmode@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	je	LBB0_19
## %bb.17:
	movl	%r12d, %edi
	callq	_FLOAT_MODE_P
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movl	4(%r14), %eax
	movq	_MAX_ARGUMENT_SLOTS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_20
LBB0_19:
	movl	(%r14), %eax
LBB0_24:
	movl	%eax, 8(%r14)
	jmp	LBB0_25
LBB0_6:
	movl	(%r14), %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %r15d
	movl	%eax, %edi
	callq	_GET_MODE_SIZE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_BLKmode@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_int_size_in_bytes
	testl	%eax, %eax
	jg	LBB0_10
	jmp	LBB0_14
LBB0_8:
	movl	%r12d, %edi
	callq	_GET_MODE_SIZE
	testl	%eax, %eax
	jle	LBB0_14
LBB0_10:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	subl	%r13d, %ebx
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	%ecx, %ebx
	movq	_MAX_ARGUMENT_SLOTS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	imull	%r8d, %ecx
	xorl	%esi, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r8d, %r15d
	jge	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	leal	(%rbx,%rsi), %edi
	cmpl	%ecx, %edi
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	addl	%edx, %esi
	incl	%r15d
	cmpl	%eax, %esi
	jl	LBB0_11
LBB0_14:
	movl	%r15d, 4(%r14)
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	cmpq	$0, 16(%r14)
	je	LBB0_23
## %bb.21:
	testl	%r15d, %r15d
	je	LBB0_19
## %bb.22:
	movl	%r12d, %edi
	callq	_GET_MODE_CLASS
	movq	_MODE_COMPLEX_FLOAT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	4(%r14), %eax
	addl	%edx, %eax
	incl	%eax
	movl	%eax, 4(%r14)
	jmp	LBB0_25
LBB0_23:
	movl	%r12d, %edi
	callq	_GET_MODE_CLASS
	movq	_MODE_COMPLEX_FLOAT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	(%r14), %eax
	movl	4(%r14), %ecx
	addl	%edx, %ecx
	incl	%ecx
	movl	%ecx, 4(%r14)
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.comm	_MAX_ARGUMENT_SLOTS,4,2         ## @MAX_ARGUMENT_SLOTS
	.comm	_BLKmode,4,2                    ## @BLKmode
	.comm	_UNITS_PER_WORD,4,2             ## @UNITS_PER_WORD
	.comm	_TFmode,4,2                     ## @TFmode
	.comm	_TCmode,4,2                     ## @TCmode
	.comm	_MODE_COMPLEX_FLOAT,8,3         ## @MODE_COMPLEX_FLOAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia64_function_arg_advance      ; -- Begin function ia64_function_arg_advance
	.p2align	2
_ia64_function_arg_advance:             ; @ia64_function_arg_advance
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_ia64_function_arg_words
	mov	x22, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_ia64_function_arg_offset
	ldr	w9, [x19]
Lloh0:
	adrp	x24, _MAX_ARGUMENT_SLOTS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MAX_ARGUMENT_SLOTS@GOTPAGEOFF]
	ldr	w10, [x24]
	cmp	w9, w10
	b.ge	LBB0_18
; %bb.1:
	mov	x8, x0
Lloh2:
	adrp	x25, _VOIDmode@GOTPAGE
Lloh3:
	ldr	x25, [x25, _VOIDmode@GOTPAGEOFF]
	ldr	w0, [x25]
	add	w8, w8, w22
	add	w8, w8, w9
	str	w8, [x19]
	cbz	x23, LBB0_3
; %bb.2:
	mov	x0, x23
	mov	w1, #0
	bl	_hfa_element_mode
LBB0_3:
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.4:
	cbnz	w21, LBB0_10
; %bb.5:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
LBB0_6:
Lloh4:
	adrp	x8, _TFmode@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TFmode@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _TCmode@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TCmode@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w20
	ccmp	w9, w20, #4, ne
	b.eq	LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_FLOAT_MODE_P
	cbz	w0, LBB0_9
; %bb.8:
	ldr	w8, [x19, #4]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_19
LBB0_9:
	ldr	w8, [x19]
	str	w8, [x19, #8]
	b	LBB0_18
LBB0_10:
	ldp	w26, w25, [x19]
	bl	_GET_MODE_SIZE
	mov	x21, x0
Lloh10:
	adrp	x8, _BLKmode@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BLKmode@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x23
	bl	_int_size_in_bytes
	cmp	w0, #1
	b.ge	LBB0_13
	b	LBB0_17
LBB0_12:
	mov	x0, x20
	bl	_GET_MODE_SIZE
	cmp	w0, #1
	b.lt	LBB0_17
LBB0_13:
	mov	w8, #0
	sub	w9, w26, w22
Lloh13:
	adrp	x10, _UNITS_PER_WORD@GOTPAGE
Lloh14:
	ldr	x10, [x10, _UNITS_PER_WORD@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x10]
	mul	w9, w11, w9
	ldr	w10, [x24]
	mul	w11, w10, w11
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	cmp	w25, w10
	b.ge	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	w12, w9, w8
	cmp	w12, w11
	b.ge	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	add	w25, w25, #1
	add	w8, w8, w21
	cmp	w8, w0
	b.lt	LBB0_14
LBB0_17:
	str	w25, [x19, #4]
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_19:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_22
; %bb.20:
	cbz	w21, LBB0_9
; %bb.21:
	mov	x0, x20
	bl	_GET_MODE_CLASS
Lloh16:
	adrp	x8, _MODE_COMPLEX_FLOAT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MODE_COMPLEX_FLOAT@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	mov	w8, #1
	cinc	w8, w8, eq
	ldr	w9, [x19, #4]
	add	w8, w8, w9
	str	w8, [x19, #4]
	b	LBB0_18
LBB0_22:
	mov	x0, x20
	bl	_GET_MODE_CLASS
Lloh19:
	adrp	x8, _MODE_COMPLEX_FLOAT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MODE_COMPLEX_FLOAT@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x0, x8
	mov	w8, #1
	cinc	w8, w8, eq
	ldp	w10, w9, [x19]
	add	w8, w8, w9
	stp	w8, w10, [x19, #4]
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.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	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_MAX_ARGUMENT_SLOTS,4,2         ; @MAX_ARGUMENT_SLOTS
	.comm	_BLKmode,4,2                    ; @BLKmode
	.comm	_UNITS_PER_WORD,4,2             ; @UNITS_PER_WORD
	.comm	_TFmode,4,2                     ; @TFmode
	.comm	_TCmode,4,2                     ; @TCmode
	.comm	_MODE_COMPLEX_FLOAT,8,3         ; @MODE_COMPLEX_FLOAT
.subsections_via_symbols
