	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pdo_pgsql_create_lob_stream    ## -- Begin function pdo_pgsql_create_lob_stream
	.p2align	4, 0x90
_pdo_pgsql_create_lob_stream:           ## @pdo_pgsql_create_lob_stream
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	$1, %edi
	movl	$16, %esi
	callq	_ecalloc
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_Z_PDO_DBH_P
	movq	(%rax), %r13
	leaq	12(%rbx), %rdi
	movq	%r14, %rsi
	callq	_ZVAL_COPY_VALUE
	movl	%r12d, (%rbx)
	movl	%r15d, 8(%rbx)
	movl	(%r13), %eax
	movl	%eax, 4(%rbx)
	movq	_pdo_pgsql_lob_stream_ops@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_php_stream_alloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_Z_ADDREF_P
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_efree
LBB0_3:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pdo_pgsql_lob_stream_ops,4,2   ## @pdo_pgsql_lob_stream_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r+b"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pdo_pgsql_create_lob_stream    ; -- Begin function pdo_pgsql_create_lob_stream
	.p2align	2
_pdo_pgsql_create_lob_stream:           ; @pdo_pgsql_create_lob_stream
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	w0, #1
	mov	w1, #16
	bl	_ecalloc
	mov	x20, x0
	mov	x0, x19
	bl	_Z_PDO_DBH_P
	ldr	x23, [x0]
	add	x0, x20, #12
	mov	x1, x19
	bl	_ZVAL_COPY_VALUE
	str	w21, [x20, #8]
	ldr	w8, [x23]
	stp	w22, w8, [x20]
Lloh0:
	adrp	x0, _pdo_pgsql_lob_stream_ops@GOTPAGE
Lloh1:
	ldr	x0, [x0, _pdo_pgsql_lob_stream_ops@GOTPAGEOFF]
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	x1, x20
	mov	w2, #0
	bl	_php_stream_alloc
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_Z_ADDREF_P
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_efree
LBB0_3:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_pdo_pgsql_lob_stream_ops,4,2   ; @pdo_pgsql_lob_stream_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r+b"

.subsections_via_symbols
