	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqGetInt                       ## -- Begin function pqGetInt
	.p2align	4, 0x90
_pqGetInt:                              ## @pqGetInt
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	cmpq	$4, %rsi
	je	LBB0_4
## %bb.1:
	cmpq	$2, %r14
	jne	LBB0_6
## %bb.2:
	movl	(%rbx), %esi
	leal	2(%rsi), %eax
	cmpl	20(%rbx), %eax
	jg	LBB0_3
## %bb.7:
	addl	4(%rbx), %esi
	leaq	-32(%rbp), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$2, %edx
	callq	_memcpy
	addl	$2, (%rbx)
	movl	-32(%rbp), %edi
	callq	_pg_ntoh16
	jmp	LBB0_8
LBB0_4:
	movl	(%rbx), %esi
	leal	4(%rsi), %eax
	cmpl	20(%rbx), %eax
	jg	LBB0_3
## %bb.5:
	addl	4(%rbx), %esi
	leaq	-28(%rbp), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$4, %edx
	callq	_memcpy
	addl	$4, (%rbx)
	movl	-28(%rbp), %edi
	callq	_pg_ntoh32
LBB0_8:
	movl	%eax, (%r15)
	movq	8(%rbx), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_fprintf
	jmp	LBB0_10
LBB0_6:
	addq	$16, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_pqInternalNotice
LBB0_3:
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"integer of size %lu not supported by pqGetInt"

L_.str.1:                               ## @.str.1
	.asciz	"From backend (#%lu)> %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqGetInt                       ; -- Begin function pqGetInt
	.p2align	2
_pqGetInt:                              ; @pqGetInt
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	cmp	x1, #4
	b.eq	LBB0_4
; %bb.1:
	cmp	x19, #2
	b.ne	LBB0_8
; %bb.2:
	ldr	w8, [x20]
	add	w9, w8, #2
	ldr	w10, [x20, #20]
	cmp	w9, w10
	b.gt	LBB0_9
; %bb.3:
	ldr	w9, [x20, #4]
	add	w1, w9, w8
	add	x0, sp, #12
	mov	w2, #2
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, #2
	str	w8, [x20]
	ldr	w0, [sp, #12]
	bl	_pg_ntoh16
	b	LBB0_6
LBB0_4:
	ldr	w8, [x20]
	add	w9, w8, #4
	ldr	w10, [x20, #20]
	cmp	w9, w10
	b.gt	LBB0_9
; %bb.5:
	ldr	w9, [x20, #4]
	add	w1, w9, w8
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, #4
	str	w8, [x20]
	ldr	w0, [sp, #8]
	bl	_pg_ntoh32
LBB0_6:
	mov	x3, x0
	str	w3, [x21]
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_10
; %bb.7:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_fprintf
	mov	w0, #0
	b	LBB0_10
LBB0_8:
	add	x0, x20, #16
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_pqInternalNotice
LBB0_9:
Lloh4:
	adrp	x8, _EOF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh6:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"integer of size %lu not supported by pqGetInt"

l_.str.1:                               ; @.str.1
	.asciz	"From backend (#%lu)> %d\n"

.subsections_via_symbols
