	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pq_getmsgint                   ## -- Begin function pq_getmsgint
	.p2align	4, 0x90
_pq_getmsgint:                          ## @pq_getmsgint
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	cmpl	$4, %esi
	je	LBB0_5
## %bb.1:
	movl	%esi, %edx
	cmpl	$2, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$1, %edx
	jne	LBB0_6
## %bb.3:
	leaq	-1(%rbp), %rsi
	movl	$1, %edx
	callq	_pq_copymsgbytes
	movzbl	-1(%rbp), %eax
	jmp	LBB0_7
LBB0_5:
	leaq	-8(%rbp), %rsi
	movl	$4, %edx
	callq	_pq_copymsgbytes
	movl	-8(%rbp), %edi
	callq	_pg_ntoh32
	jmp	LBB0_7
LBB0_4:
	leaq	-12(%rbp), %rsi
	movl	$2, %edx
	callq	_pq_copymsgbytes
	movl	-12(%rbp), %edi
	callq	_pg_ntoh16
	jmp	LBB0_7
LBB0_6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	xorl	%eax, %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported integer size %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pq_getmsgint                   ; -- Begin function pq_getmsgint
	.p2align	2
_pq_getmsgint:                          ; @pq_getmsgint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x2, x1
	cmp	w1, #4
	b.eq	LBB0_4
; %bb.1:
	cmp	w2, #2
	b.eq	LBB0_5
; %bb.2:
	cmp	w2, #1
	b.ne	LBB0_6
; %bb.3:
	sub	x1, x29, #1
	bl	_pq_copymsgbytes
	ldurb	w0, [x29, #-1]
	b	LBB0_7
LBB0_4:
	add	x1, sp, #4
	bl	_pq_copymsgbytes
	ldr	w0, [sp, #4]
	bl	_pg_ntoh32
	b	LBB0_7
LBB0_5:
	add	x1, sp, #8
	bl	_pq_copymsgbytes
	ldr	w0, [sp, #8]
	bl	_pg_ntoh16
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported integer size %d"

.subsections_via_symbols
