	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expand_builtin_apply_args_1
_expand_builtin_apply_args_1:           ## @expand_builtin_apply_args_1
	.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
	movq	_targetm@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	movq	_cfun@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	xorl	%r14d, %r14d
	movl	$0, %edi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rax), %edi
	callq	_TREE_TYPE
	movl	%eax, %edi
LBB0_2:
	movl	$1, %esi
	callq	*%rbx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_BLKmode@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_apply_args_size
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_assign_stack_local
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_Pmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GET_MODE_SIZE
	movl	%eax, %r12d
	movq	(%r15), %rbx
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rax), %edi
	callq	_TREE_TYPE
	movl	%eax, %r14d
LBB0_4:
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	*%rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_Pmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GET_MODE_SIZE
	addl	%eax, %r12d
LBB0_6:
	movq	_FIRST_PSEUDO_REGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.7:
	xorl	%ebx, %ebx
	movq	_apply_args_mode@GOTPCREL(%rip), %r15
	movq	_VOIDmode@GOTPCREL(%rip), %rdx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	callq	_INCOMING_REGNO
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_gen_rtx_REG
	movq	%rax, %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%r12d, %edx
	callq	_adjust_address
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_emit_move_insn
	movl	%r13d, %edi
	callq	_GET_MODE_SIZE
	addl	%eax, %r12d
	movq	_FIRST_PSEUDO_REGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_VOIDmode@GOTPCREL(%rip), %rdx
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	movl	(%rcx,%rbx,4), %r13d
	cmpl	(%rdx), %r13d
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	%r13d, %edi
	callq	_GET_MODE_ALIGNMENT
	cltd
	movq	_BITS_PER_UNIT@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%eax, %r14d
	movl	%r12d, %eax
	cltd
	idivl	%r14d
	testl	%edx, %edx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_CEIL
	movl	%eax, %r12d
	imull	%r14d, %r12d
	jmp	LBB0_11
LBB0_13:
	movq	_virtual_incoming_args_rtx@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_copy_to_reg
	movq	%rax, %rbx
	movq	_Pmode@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_adjust_address
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_emit_move_insn
	movl	(%r12), %edi
	callq	_GET_MODE_SIZE
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.14:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_adjust_address
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_copy_to_reg
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_emit_move_insn
	movl	(%r12), %edi
	callq	_GET_MODE_SIZE
LBB0_15:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_copy_addr_to_reg               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_targetm,8,3                    ## @targetm
	.comm	_cfun,8,3                       ## @cfun
	.comm	_BLKmode,4,2                    ## @BLKmode
	.comm	_Pmode,4,2                      ## @Pmode
	.comm	_FIRST_PSEUDO_REGISTER,4,2      ## @FIRST_PSEUDO_REGISTER
	.comm	_apply_args_mode,8,3            ## @apply_args_mode
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.comm	_BITS_PER_UNIT,4,2              ## @BITS_PER_UNIT
	.comm	_virtual_incoming_args_rtx,8,3  ## @virtual_incoming_args_rtx
	.comm	_NULL_RTX,4,2                   ## @NULL_RTX
	.comm	_current_function_pretend_args_size,4,2 ## @current_function_pretend_args_size
	.no_dead_strip	_expand_builtin_apply_args_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expand_builtin_apply_args_1
_expand_builtin_apply_args_1:           ; @expand_builtin_apply_args_1
	.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
Lloh0:
	adrp	x20, _targetm@GOTPAGE
Lloh1:
	ldr	x20, [x20, _targetm@GOTPAGEOFF]
	ldr	x19, [x20]
Lloh2:
	adrp	x22, _cfun@GOTPAGE
Lloh3:
	ldr	x22, [x22, _cfun@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x8]
	bl	_TREE_TYPE
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	mov	w1, #1
	blr	x19
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh4:
	adrp	x8, _BLKmode@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BLKmode@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
	bl	_apply_args_size
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1
	bl	_assign_stack_local
	mov	x19, x0
Lloh7:
	adrp	x25, _Pmode@GOTPAGE
Lloh8:
	ldr	x25, [x25, _Pmode@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_GET_MODE_SIZE
	mov	x21, x0
	ldr	x20, [x20]
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x8]
	bl	_TREE_TYPE
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	mov	w1, #0
	blr	x20
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x25]
	bl	_GET_MODE_SIZE
	add	w21, w0, w21
LBB0_8:
Lloh9:
	adrp	x26, _FIRST_PSEUDO_REGISTER@GOTPAGE
Lloh10:
	ldr	x26, [x26, _FIRST_PSEUDO_REGISTER@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.9:
	mov	x22, #0
Lloh11:
	adrp	x27, _apply_args_mode@GOTPAGE
Lloh12:
	ldr	x27, [x27, _apply_args_mode@GOTPAGEOFF]
Lloh13:
	adrp	x28, _VOIDmode@GOTPAGE
Lloh14:
	ldr	x28, [x28, _VOIDmode@GOTPAGEOFF]
Lloh15:
	adrp	x20, _BITS_PER_UNIT@GOTPAGE
Lloh16:
	ldr	x20, [x20, _BITS_PER_UNIT@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x22
	bl	_INCOMING_REGNO
	mov	x1, x0
	mov	x0, x23
	bl	_gen_rtx_REG
	mov	x24, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_adjust_address
	mov	x1, x24
	bl	_emit_move_insn
	mov	x0, x23
	bl	_GET_MODE_SIZE
	add	w21, w0, w21
	ldr	w8, [x26]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x27]
	ldr	w23, [x9, x22, lsl #2]
	ldr	w9, [x28]
	cmp	w23, w9
	b.eq	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x23
	bl	_GET_MODE_ALIGNMENT
	ldr	w8, [x20]
	sdiv	w24, w0, w8
	sdiv	w8, w21, w24
	msub	w8, w8, w24, w21
	cbz	w8, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_CEIL
	mul	w21, w0, w24
	b	LBB0_10
LBB0_15:
Lloh17:
	adrp	x8, _virtual_incoming_args_rtx@GOTPAGE
Lloh18:
	ldr	x8, [x8, _virtual_incoming_args_rtx@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
	bl	_copy_to_reg
	mov	x21, x0
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #0
	bl	_adjust_address
	mov	x1, x21
	bl	_emit_move_insn
	ldr	w0, [x25]
	bl	_GET_MODE_SIZE
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x20, LBB0_17
; %bb.16:
	mov	x2, x0
	ldr	w1, [x25]
	mov	x0, x19
	bl	_adjust_address
	mov	x21, x0
	mov	x0, x20
	bl	_copy_to_reg
	mov	x1, x0
	mov	x0, x21
	bl	_emit_move_insn
	ldr	w0, [x25]
	bl	_GET_MODE_SIZE
LBB0_17:
	mov	x0, x19
	mov	w1, #0
	bl	_XEXP
	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
	b	_copy_addr_to_reg
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_targetm,8,3                    ; @targetm
	.comm	_cfun,8,3                       ; @cfun
	.comm	_BLKmode,4,2                    ; @BLKmode
	.comm	_Pmode,4,2                      ; @Pmode
	.comm	_FIRST_PSEUDO_REGISTER,4,2      ; @FIRST_PSEUDO_REGISTER
	.comm	_apply_args_mode,8,3            ; @apply_args_mode
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.comm	_BITS_PER_UNIT,4,2              ; @BITS_PER_UNIT
	.comm	_virtual_incoming_args_rtx,8,3  ; @virtual_incoming_args_rtx
	.comm	_NULL_RTX,4,2                   ; @NULL_RTX
	.comm	_current_function_pretend_args_size,4,2 ; @current_function_pretend_args_size
	.no_dead_strip	_expand_builtin_apply_args_1
.subsections_via_symbols
