	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_func_call
_emit_func_call:                        ## @emit_func_call
	.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
	movq	%rdi, %r15
	movq	(%rdi), %rcx
	movq	_AST_FUNCPTR_CALL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rcx
	jne	LBB0_2
## %bb.1:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	jmp	LBB0_3
LBB0_2:
	leaq	32(%r15), %rax
LBB0_3:
	movq	_stackpos@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_make_vector
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_make_vector
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_make_vector
	movq	%rax, %r12
	movl	24(%r15), %ecx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_classify_args
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_vec_len
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_vec_len
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_save_arg_regs
	movq	%r14, %rbx
	movl	(%r14), %r14d
	testb	$15, %r14b
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_emit
	addl	$8, (%rbx)
LBB0_5:
	movq	%r12, %rdi
	callq	_vec_reverse
	movq	%rax, %rdi
	callq	_emit_args
	movl	%eax, %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_7
## %bb.6:
	movq	16(%r15), %rdi
	callq	_emit_expr
	leaq	L_.str.1(%rip), %rdi
	callq	_push
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_emit_args
	movq	%r13, %rdi
	callq	_emit_args
	movq	%r13, %rdi
	callq	_vec_len
	movl	%eax, %edi
	callq	_pop_float_args
	movq	%rbx, %rdi
	callq	_vec_len
	movl	%eax, %edi
	callq	_pop_int_args
	leaq	L_.str.2(%rip), %rdi
	callq	_pop
	jmp	LBB0_8
LBB0_7:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_emit_args
	movq	%r13, %rdi
	callq	_emit_args
	movq	%r13, %rdi
	callq	_vec_len
	movl	%eax, %edi
	callq	_pop_float_args
	movq	%rbx, %rdi
	callq	_vec_len
	movl	%eax, %edi
	callq	_pop_int_args
LBB0_8:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	movq	%r13, %rdi
	callq	_vec_len
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_emit
LBB0_10:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_emit
	jmp	LBB0_13
LBB0_12:
	movl	12(%r15), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_emit
LBB0_13:
	movl	8(%r15), %edi
	callq	_maybe_booleanize_retval
	testl	%r12d, %r12d
	movq	_stackpos@GOTPCREL(%rip), %r15
	jle	LBB0_15
## %bb.14:
	leaq	L_.str.6(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_emit
	subl	%r12d, (%r15)
LBB0_15:
	testb	$15, %r14b
	je	LBB0_17
## %bb.16:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_emit
	addl	$-8, (%r15)
LBB0_17:
	movq	%rbx, %rdi
	callq	_vec_len
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_vec_len
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_restore_arg_regs
	xorl	%edi, %edi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	(%r15), %eax
	sete	%dil
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SAVE,4,2                       ## @SAVE
	.comm	_stackpos,4,2                   ## @stackpos
	.comm	_AST_FUNCPTR_CALL,8,3           ## @AST_FUNCPTR_CALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sub $8, #rsp"

L_.str.1:                               ## @.str.1
	.asciz	"rax"

L_.str.2:                               ## @.str.2
	.asciz	"r11"

L_.str.3:                               ## @.str.3
	.asciz	"mov $%u, #eax"

L_.str.4:                               ## @.str.4
	.asciz	"call *#r11"

L_.str.5:                               ## @.str.5
	.asciz	"call %s"

L_.str.6:                               ## @.str.6
	.asciz	"add $%d, #rsp"

L_.str.7:                               ## @.str.7
	.asciz	"add $8, #rsp"

	.no_dead_strip	_emit_func_call
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_func_call
_emit_func_call:                        ; @emit_func_call
	.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	x21, x0
Lloh0:
	adrp	x24, _stackpos@GOTPAGE
Lloh1:
	ldr	x24, [x24, _stackpos@GOTPAGEOFF]
	ldr	x26, [x0]
Lloh2:
	adrp	x8, _AST_FUNCPTR_CALL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AST_FUNCPTR_CALL@GOTPAGEOFF]
Lloh4:
	ldr	x27, [x8]
	cmp	x26, x27
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	b	LBB0_3
LBB0_2:
	add	x8, x21, #32
LBB0_3:
	ldr	w25, [x24]
	ldr	x28, [x8]
	bl	_make_vector
	mov	x20, x0
	bl	_make_vector
	mov	x19, x0
	bl	_make_vector
	mov	x22, x0
	ldr	w3, [x21, #24]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_classify_args
	mov	x0, x20
	bl	_vec_len
	mov	x23, x0
	mov	x0, x19
	bl	_vec_len
	mov	x1, x0
	mov	x0, x23
	bl	_save_arg_regs
	ldr	w8, [x24]
	ands	w23, w8, #0xf
	b.eq	LBB0_5
; %bb.4:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_emit
	ldr	w8, [x24]
	add	w8, w8, #8
	str	w8, [x24]
LBB0_5:
	mov	x0, x22
	bl	_vec_reverse
	bl	_emit_args
	mov	x22, x0
	cmp	x26, x27
	b.ne	LBB0_7
; %bb.6:
	ldr	x0, [x21, #16]
	bl	_emit_expr
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_push
	mov	x0, x20
	bl	_emit_args
	mov	x0, x19
	bl	_emit_args
	mov	x0, x19
	bl	_vec_len
	bl	_pop_float_args
	mov	x0, x20
	bl	_vec_len
	bl	_pop_int_args
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pop
	ldr	x8, [x28]
	cbnz	x8, LBB0_8
	b	LBB0_9
LBB0_7:
	mov	x0, x20
	bl	_emit_args
	mov	x0, x19
	bl	_emit_args
	mov	x0, x19
	bl	_vec_len
	bl	_pop_float_args
	mov	x0, x20
	bl	_vec_len
	bl	_pop_int_args
	ldr	x8, [x28]
	cbz	x8, LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_vec_len
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_emit
LBB0_9:
	cmp	x26, x27
	b.ne	LBB0_11
; %bb.10:
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_11:
	ldr	w8, [x21, #12]
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_12:
	bl	_emit
	ldr	w0, [x21, #8]
	bl	_maybe_booleanize_retval
	cmp	w22, #1
	b.lt	LBB0_14
; %bb.13:
	str	x22, [sp]
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_emit
	ldr	w8, [x24]
	sub	w8, w8, w22
	str	w8, [x24]
LBB0_14:
	cbz	w23, LBB0_16
; %bb.15:
Lloh19:
	adrp	x0, l_.str.7@PAGE
Lloh20:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_emit
	ldr	w8, [x24]
	sub	w8, w8, #8
	str	w8, [x24]
LBB0_16:
	mov	x0, x20
	bl	_vec_len
	mov	x20, x0
	mov	x0, x19
	bl	_vec_len
	mov	x1, x0
	mov	x0, x20
	bl	_restore_arg_regs
	ldr	w8, [x24]
	cmp	w25, w8
	cset	w0, eq
	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	_assert
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SAVE,4,2                       ; @SAVE
	.comm	_stackpos,4,2                   ; @stackpos
	.comm	_AST_FUNCPTR_CALL,8,3           ; @AST_FUNCPTR_CALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sub $8, #rsp"

l_.str.1:                               ; @.str.1
	.asciz	"rax"

l_.str.2:                               ; @.str.2
	.asciz	"r11"

l_.str.3:                               ; @.str.3
	.asciz	"mov $%u, #eax"

l_.str.4:                               ; @.str.4
	.asciz	"call *#r11"

l_.str.5:                               ; @.str.5
	.asciz	"call %s"

l_.str.6:                               ; @.str.6
	.asciz	"add $%d, #rsp"

l_.str.7:                               ; @.str.7
	.asciz	"add $8, #rsp"

	.no_dead_strip	_emit_func_call
.subsections_via_symbols
