	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_args
_insert_args:                           ## @insert_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_locate_arg
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_user_args@GOTPCREL(%rip), %r12
	movq	%r15, %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	4(%rax), %esi
	addl	$-48, %esi
	movq	(%r12), %rcx
	cmpl	(%rcx), %esi
	jae	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	subl	%r14d, %ebx
	addl	%eax, %ebx
	movq	8(%rcx), %rcx
	movl	%esi, %edx
	shlq	$4, %rdx
	addl	(%rcx,%rdx), %ebx
	movq	%rax, %r14
	addq	$5, %r14
	movq	%r14, %rdi
	callq	_locate_arg
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %r14
LBB0_5:
	movq	%r14, %rdi
	callq	_strlen
	leal	(%rax,%rbx), %edi
	incl	%edi
	callq	_xmalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_locate_arg
	testq	%rax, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_13
## %bb.7:
	movq	%rax, %r12
	movq	_user_args@GOTPCREL(%rip), %r14
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %r15
	addq	$5, %r15
	movq	%r15, %rdi
	callq	_locate_arg
	movq	%rax, %r12
	movq	%r13, %rbx
	testq	%rax, %rax
	je	LBB0_14
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %r13
	subq	%r15, %r13
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	addq	%rbx, %r13
	movsbq	4(%r12), %rax
	addq	$-48, %rax
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	shlq	$4, %rax
	movslq	(%rcx,%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rcx,%rax), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_memcpy
	addq	%rbx, %r13
	jmp	LBB0_8
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_13:
	movq	%rbx, %r13
LBB0_14:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_strcpy
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_user_args,8,3                  ## @user_args
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Missing argument %d in user function.\n"

	.no_dead_strip	_insert_args
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_args
_insert_args:                           ; @insert_args
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_locate_arg
	mov	x21, #0
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x22, _user_args@GOTPAGE
Lloh1:
	ldr	x22, [x22, _user_args@GOTPAGEOFF]
	mov	x20, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w8, [x0, #4]
	sub	w1, w8, #48
	ldr	x8, [x22]
	ldr	w9, [x8]
	cmp	w1, w9
	b.hs	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w9, w21, w20
	add	w9, w9, w0
	ldr	x8, [x8, #8]
	lsl	x10, x1, #4
	ldr	w8, [x8, x10]
	add	w21, w8, w9
	add	x20, x0, #5
	mov	x0, x20
	bl	_locate_arg
	cbnz	x0, LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x20, x19
LBB0_5:
	mov	x0, x20
	bl	_strlen
	add	w8, w0, w21
	add	w0, w8, #1
	bl	_xmalloc
	mov	x20, x0
	cbz	x0, LBB0_14
; %bb.6:
	mov	x0, x19
	bl	_locate_arg
	cbz	x0, LBB0_12
; %bb.7:
	mov	x22, x0
Lloh2:
	adrp	x24, _user_args@GOTPAGE
Lloh3:
	ldr	x24, [x24, _user_args@GOTPAGEOFF]
	mov	x21, x20
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x19, x22, #5
	mov	x0, x19
	bl	_locate_arg
	mov	x22, x0
	cbz	x0, LBB0_13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	x23, x22, x19
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	bl	_memcpy
	add	x21, x21, x23
	ldrsb	x8, [x22, #4]
	sub	x8, x8, #48
	ldr	x9, [x24]
	ldr	x9, [x9, #8]
	lsl	x10, x8, #4
	ldrsw	x19, [x9, x10]
	cbz	w19, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x9, x8, lsl #4
	ldr	x1, [x8, #8]
	mov	x0, x21
	mov	x2, x19
	bl	_memcpy
	add	x21, x21, x19
	b	LBB0_8
LBB0_11:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_error
	mov	x20, #0
	b	LBB0_14
LBB0_12:
	mov	x21, x20
LBB0_13:
	mov	x0, x21
	mov	x1, x19
	bl	_strcpy
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_user_args,8,3                  ; @user_args
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Missing argument %d in user function.\n"

	.no_dead_strip	_insert_args
.subsections_via_symbols
