	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_lo_unlink                   ## -- Begin function do_lo_unlink
	.p2align	4, 0x90
_do_lo_unlink:                          ## @do_lo_unlink
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_atooid
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rdi
	leaq	-36(%rbp), %rsi
	callq	_start_lo_xact
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	xorl	%eax, %eax
	callq	_SetCancelConn
	movq	_pset@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	%r14d, %esi
	callq	_lo_unlink
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_ResetCancelConn
	cmpl	$-1, %ebx
	je	LBB0_2
## %bb.3:
	movl	-36(%rbp), %esi
	leaq	L_.str(%rip), %rdi
	callq	_finish_lo_xact
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	callq	_print_lo_result
	movl	$1, %r15d
	jmp	LBB0_5
LBB0_2:
	movl	(%r12), %edi
	callq	_PQerrorMessage
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_pg_log_info
	movl	-36(%rbp), %esi
	leaq	L_.str(%rip), %rdi
	callq	_fail_lo_xact
	movl	%eax, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\lo_unlink"

	.comm	_pset,4,2                       ## @pset
L_.str.1:                               ## @.str.1
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.asciz	"lo_unlink %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_lo_unlink                   ; -- Begin function do_lo_unlink
	.p2align	2
_do_lo_unlink:                          ; @do_lo_unlink
	.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
	bl	_atooid
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #12
	bl	_start_lo_xact
	cbz	w0, LBB0_5
; %bb.1:
	bl	_SetCancelConn
Lloh2:
	adrp	x21, _pset@GOTPAGE
Lloh3:
	ldr	x21, [x21, _pset@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_lo_unlink
	mov	x20, x0
	bl	_ResetCancelConn
	cmn	w20, #1
	b.eq	LBB0_4
; %bb.2:
	ldr	w1, [sp, #12]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_finish_lo_xact
	cbz	w0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_print_lo_result
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	ldr	w0, [x21]
	bl	_PQerrorMessage
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pg_log_info
	ldr	w1, [sp, #12]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fail_lo_xact
LBB0_5:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\lo_unlink"

	.comm	_pset,4,2                       ; @pset
l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	"lo_unlink %u"

.subsections_via_symbols
