	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SPI_getargtypeid               ## -- Begin function SPI_getargtypeid
	.p2align	4, 0x90
_SPI_getargtypeid:                      ## @SPI_getargtypeid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	testl	%esi, %esi
	js	LBB0_4
## %bb.2:
	movq	__SPI_PLAN_MAGIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rdi)
	jne	LBB0_4
## %bb.3:
	cmpl	%esi, 8(%rdi)
	jle	LBB0_4
## %bb.5:
	movl	%esi, %eax
	shlq	$2, %rax
	addq	16(%rdi), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_SPI_ERROR_ARGUMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SPI_result@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_InvalidOid@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__SPI_PLAN_MAGIC,8,3            ## @_SPI_PLAN_MAGIC
	.comm	_SPI_ERROR_ARGUMENT,4,2         ## @SPI_ERROR_ARGUMENT
	.comm	_SPI_result,4,2                 ## @SPI_result
	.comm	_InvalidOid,4,2                 ## @InvalidOid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SPI_getargtypeid               ; -- Begin function SPI_getargtypeid
	.p2align	2
_SPI_getargtypeid:                      ; @SPI_getargtypeid
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	tbnz	w1, #31, LBB0_5
; %bb.2:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, __SPI_PLAN_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, __SPI_PLAN_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x0, #8]
	cmp	w8, w1
	b.le	LBB0_5
; %bb.4:
	ldr	x8, [x0, #16]
	add	x8, x8, w1, uxtw #2
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh3:
	adrp	x8, _SPI_ERROR_ARGUMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPI_ERROR_ARGUMENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SPI_result@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SPI_result@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
Lloh9:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh10:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	__SPI_PLAN_MAGIC,8,3            ; @_SPI_PLAN_MAGIC
	.comm	_SPI_ERROR_ARGUMENT,4,2         ; @SPI_ERROR_ARGUMENT
	.comm	_SPI_result,4,2                 ; @SPI_result
	.comm	_InvalidOid,4,2                 ; @InvalidOid
.subsections_via_symbols
