	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcapture_l
_rcapture_l:                            ## @rcapture_l
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$2, %esi
	callq	_lua_type
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.3:
	movq	_Cfunction@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_Cquery@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_Cstring@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_capture_aux                    ## TAILCALL
LBB0_7:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	$2, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_luaL_argerror                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Cfunction,4,2                  ## @Cfunction
	.comm	_Cquery,4,2                     ## @Cquery
	.comm	_Cstring,4,2                    ## @Cstring
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid replacement value"

	.no_dead_strip	_rcapture_l
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcapture_l
_rcapture_l:                            ; @rcapture_l
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #2
	bl	_lua_type
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _Cfunction@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Cfunction@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _Cquery@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Cquery@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _Cstring@GOTPAGE
Lloh5:
	ldr	x8, [x8, _Cstring@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_capture_aux
LBB0_7:
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_luaL_argerror
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_Cfunction,4,2                  ; @Cfunction
	.comm	_Cquery,4,2                     ; @Cquery
	.comm	_Cstring,4,2                    ; @Cstring
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid replacement value"

	.no_dead_strip	_rcapture_l
.subsections_via_symbols
