	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_user_args
_setup_user_args:                       ## @setup_user_args
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$24, %edi
	callq	_xmalloc
	movq	%rax, %r14
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_user_args@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, 16(%r14)
	movq	%r14, (%r15)
	movq	_arg_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_make_cleanup
	movq	%rax, %r14
	testq	%rbx, %rbx
	je	LBB0_33
## %bb.1:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_33
## %bb.2:
	xorl	%r9d, %r9d
	movq	_MAXUSERARGS@GOTPCREL(%rip), %r8
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rax
	movq	8(%rax), %rcx
	movl	%edx, 8(%rcx,%r10)
	incl	(%rax)
	incq	%r9
	movb	(%rbx,%rdx), %al
	addq	%rdx, %rbx
	testb	%al, %al
	je	LBB0_33
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	movl	(%r8), %esi
	cmpq	%rsi, %r9
	jae	LBB0_34
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rcx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	movzbl	1(%rbx), %eax
	incq	%rbx
	incq	%rcx
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$32, %al
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpb	$9, %al
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movq	%r9, %r10
	shlq	$4, %r10
	movq	%rbx, (%rax,%r10)
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r11d, %r11d
	xorl	%esi, %esi
	jmp	LBB0_9
LBB0_23:                                ##   in Loop: Header=BB0_9 Depth=2
	xorl	%ecx, %ecx
	cmpb	$39, %al
	setne	%cl
LBB0_30:                                ##   in Loop: Header=BB0_9 Depth=2
	xorl	%edi, %edi
LBB0_31:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%rdx
	movl	%edi, %esi
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx,%rdx), %eax
	cmpb	$32, %al
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	testb	%al, %al
	je	LBB0_32
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpb	$9, %al
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=2
	testl	%ecx, %ecx
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	%esi, %edi
	orl	%r11d, %edi
	je	LBB0_32
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=2
	xorl	%edi, %edi
	testl	%esi, %esi
	jne	LBB0_31
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	$1, %edi
	cmpb	$92, %al
	je	LBB0_31
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=2
	testl	%ecx, %ecx
	jne	LBB0_23
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=2
	testl	%ecx, %ecx
	je	LBB0_18
## %bb.22:                              ##   in Loop: Header=BB0_9 Depth=2
	xorl	%edi, %edi
	testl	%esi, %esi
	jne	LBB0_31
	jmp	LBB0_23
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	%esi, %ecx
	orl	%r11d, %ecx
	je	LBB0_32
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=2
	xorl	%ecx, %ecx
	testl	%esi, %esi
	jne	LBB0_30
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=2
	testl	%r11d, %r11d
	je	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_9 Depth=2
	xorl	%r11d, %r11d
	cmpb	$34, %al
	setne	%r11b
	xorl	%ecx, %ecx
	jmp	LBB0_30
LBB0_24:                                ##   in Loop: Header=BB0_9 Depth=2
	cmpb	$39, %al
	je	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpb	$34, %al
	jne	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	$1, %r11d
	xorl	%ecx, %ecx
	jmp	LBB0_30
LBB0_25:                                ##   in Loop: Header=BB0_9 Depth=2
	xorl	%r11d, %r11d
	movl	$1, %ecx
	jmp	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_9 Depth=2
	xorl	%ecx, %ecx
	xorl	%r11d, %r11d
	jmp	LBB0_30
LBB0_34:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_error
LBB0_33:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_user_args,8,3                  ## @user_args
	.comm	_arg_cleanup,4,2                ## @arg_cleanup
	.comm	_MAXUSERARGS,4,2                ## @MAXUSERARGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"user defined function may only have %d arguments.\n"

	.no_dead_strip	_setup_user_args
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_user_args
_setup_user_args:                       ; @setup_user_args
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	mov	w0, #24
	bl	_xmalloc
	mov	x20, x0
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x21, _user_args@GOTPAGE
Lloh1:
	ldr	x21, [x21, _user_args@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [x20, #16]
	str	x20, [x21]
Lloh2:
	adrp	x8, _arg_cleanup@GOTPAGE
Lloh3:
	ldr	x8, [x8, _arg_cleanup@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_make_cleanup
	mov	x20, x0
	cbz	x19, LBB0_27
; %bb.1:
	ldrb	w11, [x19]
	cbz	w11, LBB0_27
; %bb.2:
	mov	x8, #0
Lloh5:
	adrp	x9, _MAXUSERARGS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAXUSERARGS@GOTPAGEOFF]
	mov	w10, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x21]
	ldr	x13, [x12, #8]
	add	x13, x13, x8, lsl #4
	str	w11, [x13, #8]
	add	x8, x8, #1
	ldr	w13, [x12]
	add	w13, w13, #1
	str	w13, [x12]
	add	x19, x19, x11
	ldrb	w11, [x19]
	cbz	w11, LBB0_27
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	ldr	w1, [x9]
	cmp	x8, x1
	b.hs	LBB0_26
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x12, x19
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldrb	w11, [x19, #1]!
	add	x12, x12, #1
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w11, #32
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w11, #9
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, #0
	mov	w13, #0
	mov	w12, #0
	mov	w14, #0
	ldr	x15, [x21]
	ldr	x15, [x15, #8]
	lsl	x16, x8, #4
	str	x19, [x15, x16]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	cbz	w13, LBB0_25
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	w14, #0
	cmp	w15, #39
	cset	w13, ne
	add	x11, x11, #1
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w15, [x19, x11]
	cmp	w15, #32
	b.eq	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	cbz	w15, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	orr	w16, w14, w12
	cmp	w15, #9
	ccmp	w13, #0, #0, eq
	ccmp	w16, #0, #0, eq
	b.eq	LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=2
	cbz	w14, LBB0_23
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	w14, #0
	add	x11, x11, #1
	b	LBB0_12
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=2
	cbz	w13, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=2
	cbz	w14, LBB0_11
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	w14, #0
	add	x11, x11, #1
	b	LBB0_12
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=2
	orr	w13, w14, w12
	cbz	w13, LBB0_3
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=2
	cbz	w14, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	w13, #0
	mov	w14, #0
	add	x11, x11, #1
	b	LBB0_12
LBB0_23:                                ;   in Loop: Header=BB0_12 Depth=2
	cmp	w15, #92
	b.ne	LBB0_10
; %bb.24:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	w14, #1
	add	x11, x11, #1
	b	LBB0_12
LBB0_25:                                ;   in Loop: Header=BB0_12 Depth=2
	cmp	w15, #34
	csel	w13, wzr, wzr, ne
	csel	w14, wzr, w10, ne
	cmp	w15, #39
	csel	w16, w10, w13, eq
	csel	w14, wzr, w14, eq
	csel	w17, wzr, w13, eq
	cmp	w15, #34
	cset	w15, ne
	cmp	w12, #0
	csel	w13, w16, wzr, eq
	csel	w12, w14, w15, eq
	csel	w14, w17, wzr, eq
	add	x11, x11, #1
	b	LBB0_12
LBB0_26:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_error
LBB0_27:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_user_args,8,3                  ; @user_args
	.comm	_arg_cleanup,4,2                ; @arg_cleanup
	.comm	_MAXUSERARGS,4,2                ; @MAXUSERARGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"user defined function may only have %d arguments.\n"

	.no_dead_strip	_setup_user_args
.subsections_via_symbols
