	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_function_arg_advance           ## -- Begin function function_arg_advance
	.p2align	4, 0x90
_function_arg_advance:                  ## @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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r12
	cmpl	$145, %esi
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_int_size_in_bytes
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_3
LBB0_2:
	movl	%ebx, %edi
	callq	_GET_MODE_SIZE
LBB0_3:
	movq	_UNITS_PER_WORD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rdx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addl	%ecx, %eax
	decl	%eax
	cltd
	idivl	%ecx
	movl	%eax, %r14d
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_type_natural_mode
	movl	%eax, %ebx
LBB0_5:
	movq	_TARGET_DEBUG_ARG@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %r13
	movl	%r14d, %r15d
	movl	(%rax), %r14d
	movl	(%r12), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	8(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_GET_MODE_NAME
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%r15d, %r14d
	movq	%r13, %r15
	movl	%r14d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	callq	_fprintf
	addq	$16, %rsp
LBB0_7:
	movq	_TARGET_64BIT@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.8:
	leaq	-60(%rbp), %rcx
	leaq	-56(%rbp), %r8
	movl	%ebx, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_examine_argument
	testl	%eax, %eax
	je	LBB0_18
## %bb.9:
	movl	-56(%rbp), %eax
	movl	8(%r12), %ecx
	subl	%eax, %ecx
	jl	LBB0_18
## %bb.10:
	movl	-60(%rbp), %edx
	movl	4(%r12), %esi
	subl	%edx, %esi
	jge	LBB0_19
LBB0_18:
	addl	%r14d, (%r12)
LBB0_29:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	addl	$-128, %ebx
	cmpl	$17, %ebx
	ja	LBB0_29
## %bb.13:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_14:
	testq	%r15, %r15
	je	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	callq	_AGGREGATE_TYPE_P
	testl	%eax, %eax
	jne	LBB0_29
LBB0_16:
	addl	%r14d, 24(%r12)
	movl	8(%r12), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, 8(%r12)
	incl	16(%r12)
	cmpl	$1, %eax
	jg	LBB0_29
## %bb.17:
	movl	$0, 8(%r12)
	movl	$0, 16(%r12)
	jmp	LBB0_29
LBB0_19:
	movl	%esi, 4(%r12)
	movl	%ecx, 8(%r12)
	addl	%edx, 12(%r12)
	addq	$16, %r12
	addl	%eax, (%r12)
	jmp	LBB0_29
LBB0_20:
	testq	%r15, %r15
	je	LBB0_22
## %bb.21:
	movq	%r15, %rdi
	callq	_AGGREGATE_TYPE_P
	testl	%eax, %eax
	jne	LBB0_29
LBB0_22:
	addl	%r14d, 28(%r12)
	movl	32(%r12), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, 32(%r12)
	incl	36(%r12)
	cmpl	$1, %eax
	jg	LBB0_29
## %bb.23:
	movq	$0, 32(%r12)
	jmp	LBB0_29
LBB0_24:
	cmpl	$0, 20(%r12)
	jg	LBB0_14
	jmp	LBB0_29
LBB0_25:
	cmpl	$2, 20(%r12)
	jge	LBB0_14
	jmp	LBB0_29
LBB0_26:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_29
LBB0_27:
	addl	%r14d, (%r12)
	addl	%r14d, 12(%r12)
	subl	%r14d, 4(%r12)
	jg	LBB0_29
## %bb.28:
	movl	$0, 4(%r12)
	movl	$0, 12(%r12)
	jmp	LBB0_29
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
LJTI0_0:
	.long	L0_0_set_20
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_27
	.long	L0_0_set_24
	.long	L0_0_set_27
	.long	L0_0_set_27
	.long	L0_0_set_27
	.long	L0_0_set_25
	.long	L0_0_set_26
	.end_data_region
                                        ## -- End function
	.comm	_UNITS_PER_WORD,4,2             ## @UNITS_PER_WORD
	.comm	_TARGET_DEBUG_ARG,8,3           ## @TARGET_DEBUG_ARG
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"function_adv (sz=%d, wds=%2d, nregs=%d, ssenregs=%d, mode=%s, named=%d)\n\n"

	.comm	_TARGET_64BIT,8,3               ## @TARGET_64BIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function function_arg_advance
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_function_arg_advance
	.p2align	2
_function_arg_advance:                  ; @function_arg_advance
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x24, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	cmp	w1, #145
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_int_size_in_bytes
	mov	x23, x0
	b	LBB0_3
LBB0_2:
	mov	x0, x22
	bl	_GET_MODE_SIZE
	mov	x23, x0
LBB0_3:
Lloh0:
	adrp	x8, _UNITS_PER_WORD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNITS_PER_WORD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w23, w8
	sub	w9, w9, #1
	sdiv	w20, w9, w8
	cbz	x21, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_type_natural_mode
	mov	x22, x0
LBB0_5:
Lloh3:
	adrp	x8, _TARGET_DEBUG_ARG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TARGET_DEBUG_ARG@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w25, [x8]
	ldp	w26, w27, [x19]
	ldr	w28, [x19, #8]
	mov	x0, x22
	bl	_GET_MODE_NAME
	mov	x6, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x25
	mov	x2, x20
	mov	x3, x26
	mov	x4, x27
	mov	x5, x28
	mov	x7, x24
	bl	_fprintf
LBB0_7:
Lloh11:
	adrp	x8, _TARGET_64BIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TARGET_64BIT@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.8:
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	bl	_examine_argument
	cbz	w0, LBB0_12
; %bb.9:
	ldr	w8, [sp, #8]
	ldr	w9, [x19, #8]
	subs	w9, w9, w8
	b.lt	LBB0_12
; %bb.10:
	ldr	w10, [sp, #12]
	ldr	w11, [x19, #4]
	subs	w11, w11, w10
	b.lt	LBB0_12
; %bb.11:
	stp	w11, w9, [x19, #4]
	ldr	w9, [x19, #12]
	add	w9, w9, w10
	str	w9, [x19, #12]
	add	x19, x19, #16
	mov	x20, x8
LBB0_12:
	ldr	w8, [x19]
	add	w8, w8, w20
	str	w8, [x19]
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_14:
	sub	w8, w22, #128
	cmp	w8, #17
	b.hi	LBB0_13
; %bb.15:
Lloh14:
	adrp	x9, lJTI0_0@PAGE
Lloh15:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_16
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
	cbz	x21, LBB0_18
; %bb.17:
	mov	x0, x21
	bl	_AGGREGATE_TYPE_P
	cbnz	w0, LBB0_13
LBB0_18:
	ldr	w8, [x19, #24]
	add	w8, w8, w20
	str	w8, [x19, #24]
	ldr	w8, [x19, #8]
	ldr	w9, [x19, #16]
	add	w9, w9, #1
	str	w9, [x19, #16]
	subs	w8, w8, #1
	str	w8, [x19, #8]
	b.gt	LBB0_13
; %bb.19:
	str	wzr, [x19, #8]
	str	wzr, [x19, #16]
	b	LBB0_13
LBB0_20:
	cbz	x21, LBB0_22
; %bb.21:
	mov	x0, x21
	bl	_AGGREGATE_TYPE_P
	cbnz	w0, LBB0_13
LBB0_22:
	ldr	w8, [x19, #28]
	add	w8, w8, w20
	str	w8, [x19, #28]
	ldr	d0, [x19, #32]
Lloh16:
	adrp	x8, lCPI0_0@PAGE
Lloh17:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	add.2s	v1, v0, v1
	str	d1, [x19, #32]
	fmov	w8, s0
	cmp	w8, #1
	b.gt	LBB0_13
; %bb.23:
	str	xzr, [x19, #32]
	b	LBB0_13
LBB0_24:
	ldr	w8, [x19, #20]
	cmp	w8, #1
	b.ge	LBB0_16
	b	LBB0_13
LBB0_25:
	ldr	w8, [x19, #20]
	cmp	w8, #2
	b.lt	LBB0_13
	b	LBB0_16
LBB0_26:
	tbnz	w23, #31, LBB0_13
LBB0_27:
	ldp	w8, w9, [x19]
	add	w8, w8, w20
	sub	w9, w9, w20
	stp	w8, w9, [x19]
	ldr	w8, [x19, #12]
	add	w8, w8, w20
	str	w8, [x19, #12]
	cmp	w9, #0
	b.gt	LBB0_13
; %bb.28:
	str	wzr, [x19, #4]
	str	wzr, [x19, #12]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdr	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_20-LBB0_16)>>2
	.byte	(LBB0_20-LBB0_16)>>2
	.byte	(LBB0_20-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_27-LBB0_16)>>2
	.byte	(LBB0_24-LBB0_16)>>2
	.byte	(LBB0_27-LBB0_16)>>2
	.byte	(LBB0_27-LBB0_16)>>2
	.byte	(LBB0_27-LBB0_16)>>2
	.byte	(LBB0_25-LBB0_16)>>2
	.byte	(LBB0_26-LBB0_16)>>2
                                        ; -- End function
	.comm	_UNITS_PER_WORD,4,2             ; @UNITS_PER_WORD
	.comm	_TARGET_DEBUG_ARG,8,3           ; @TARGET_DEBUG_ARG
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"function_adv (sz=%d, wds=%2d, nregs=%d, ssenregs=%d, mode=%s, named=%d)\n\n"

	.comm	_TARGET_64BIT,8,3               ; @TARGET_64BIT
.subsections_via_symbols
