	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libpqGetCurrentXlogInsertLocation ## -- Begin function libpqGetCurrentXlogInsertLocation
	.p2align	4, 0x90
_libpqGetCurrentXlogInsertLocation:     ## @libpqGetCurrentXlogInsertLocation
	.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
	leaq	L_.str(%rip), %rdi
	callq	_run_simple_query
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-16(%rbp), %rdx
	leaq	-12(%rbp), %rcx
	movq	%rax, %rdi
	callq	_sscanf
	cmpl	$2, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_pg_fatal
LBB0_2:
	movq	%rbx, %rdi
	callq	_pg_free
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELECT pg_current_wal_insert_lsn()"

L_.str.1:                               ## @.str.1
	.asciz	"%X/%X"

L_.str.2:                               ## @.str.2
	.asciz	"unrecognized result \"%s\" for current WAL insert location"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libpqGetCurrentXlogInsertLocation ; -- Begin function libpqGetCurrentXlogInsertLocation
	.p2align	2
_libpqGetCurrentXlogInsertLocation:     ; @libpqGetCurrentXlogInsertLocation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_run_simple_query
	mov	x19, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_sscanf
	cmp	w0, #2
	b.eq	LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_pg_fatal
LBB0_2:
	mov	x0, x19
	bl	_pg_free
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT pg_current_wal_insert_lsn()"

l_.str.1:                               ; @.str.1
	.asciz	"%X/%X"

l_.str.2:                               ; @.str.2
	.asciz	"unrecognized result \"%s\" for current WAL insert location"

.subsections_via_symbols
