	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pltcl_argisnull
_pltcl_argisnull:                       ## @pltcl_argisnull
	.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	%rsi, %rbx
	cmpl	$2, %edx
	jne	LBB0_1
## %bb.2:
	movq	_pltcl_current_call_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_3
## %bb.5:
	movq	8(%rcx), %rsi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_Tcl_GetIntFromObj
	movq	_TCL_OK@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_6
## %bb.7:
	movl	-28(%rbp), %eax
	leal	-1(%rax), %edi
	movl	%edi, -28(%rbp)
	testl	%eax, %eax
	jle	LBB0_9
## %bb.8:
	cmpl	(%r15), %eax
	jle	LBB0_10
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rax
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%rcx, %rdx
	movq	%rax, %rcx
	callq	_Tcl_WrongNumArgs
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
LBB0_4:
	movl	$-1, %esi
	callq	_Tcl_NewStringObj
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_Tcl_SetObjResult
LBB0_6:
	movq	_TCL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	_PG_ARGISNULL
	movl	%eax, %edi
	callq	_Tcl_NewBooleanObj
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_Tcl_SetObjResult
	movl	(%r14), %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_pltcl_current_call_state,8,3   ## @pltcl_current_call_state
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"argno"

	.comm	_TCL_ERROR,4,2                  ## @TCL_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"argisnull cannot be used in triggers"

	.comm	_TCL_OK,8,3                     ## @TCL_OK
L_.str.2:                               ## @.str.2
	.asciz	"argno out of range"

	.no_dead_strip	_pltcl_argisnull
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pltcl_argisnull
_pltcl_argisnull:                       ; @pltcl_argisnull
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	cmp	w2, #2
	b.ne	LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _pltcl_current_call_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pltcl_current_call_state@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x21, [x8]
	cbz	x21, LBB0_7
; %bb.2:
	ldr	x1, [x3, #8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_Tcl_GetIntFromObj
Lloh3:
	adrp	x20, _TCL_OK@GOTPAGE
Lloh4:
	ldr	x20, [x20, _TCL_OK@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.3:
	ldr	w8, [sp, #12]
	subs	w0, w8, #1
	str	w0, [sp, #12]
	b.lt	LBB0_5
; %bb.4:
	ldr	w9, [x21]
	cmp	w8, w9
	b.le	LBB0_11
LBB0_5:
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh7:
	adrp	x8, l_.str@PAGE
Lloh8:
	add	x8, x8, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x2, x3
	mov	x3, x8
	bl	_Tcl_WrongNumArgs
	b	LBB0_9
LBB0_7:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	mov	w1, #-1
	bl	_Tcl_NewStringObj
	mov	x1, x0
	mov	x0, x19
	bl	_Tcl_SetObjResult
LBB0_9:
Lloh11:
	adrp	x8, _TCL_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TCL_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
LBB0_10:
	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
	add	sp, sp, #64
	ret
LBB0_11:
	bl	_PG_ARGISNULL
	bl	_Tcl_NewBooleanObj
	mov	x1, x0
	mov	x0, x19
	bl	_Tcl_SetObjResult
	ldr	w0, [x20]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_pltcl_current_call_state,8,3   ; @pltcl_current_call_state
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"argno"

	.comm	_TCL_ERROR,4,2                  ; @TCL_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"argisnull cannot be used in triggers"

	.comm	_TCL_OK,8,3                     ; @TCL_OK
l_.str.2:                               ; @.str.2
	.asciz	"argno out of range"

	.no_dead_strip	_pltcl_argisnull
.subsections_via_symbols
