	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PLyObject_AsString             ## -- Begin function PLyObject_AsString
	.p2align	4, 0x90
_PLyObject_AsString:                    ## @PLyObject_AsString
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_PyUnicode_Check
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_PLyUnicode_Bytes
	jmp	LBB0_5
LBB0_2:
	movq	%rbx, %rdi
	callq	_PyFloat_Check
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	callq	_PyObject_Repr
	jmp	LBB0_5
LBB0_4:
	callq	_PyObject_Str
LBB0_5:
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_PLy_elog
LBB0_7:
	movq	%rbx, %rdi
	callq	_PyBytes_AsString
	movl	%eax, %edi
	callq	_pstrdup
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_PyBytes_Size
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_Py_XDECREF
	cmpq	%r12, %r15
	jae	LBB0_9
## %bb.8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_11
LBB0_9:
	jbe	LBB0_11
## %bb.10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_elog
LBB0_11:
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_pg_verifymbstr
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not create string representation of Python object"

	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ## @ERRCODE_DATATYPE_MISMATCH
L_.str.1:                               ## @.str.1
	.asciz	"could not convert Python object into cstring: Python string representation appears to contain null bytes"

L_.str.2:                               ## @.str.2
	.asciz	"could not convert Python object into cstring: Python string longer than reported length"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PLyObject_AsString             ; -- Begin function PLyObject_AsString
	.p2align	2
_PLyObject_AsString:                    ; @PLyObject_AsString
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_PyUnicode_Check
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_PLyUnicode_Bytes
	mov	x20, x0
	cbnz	x0, LBB0_5
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_PyFloat_Check
	cbz	x0, LBB0_10
; %bb.3:
	mov	x0, x19
	bl	_PyObject_Repr
	mov	x20, x0
	cbnz	x0, LBB0_5
LBB0_4:
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	_PLy_elog
LBB0_5:
	mov	x0, x20
	bl	_PyBytes_AsString
	bl	_pstrdup
	mov	x19, x0
	mov	x0, x20
	bl	_PyBytes_Size
	mov	x22, x0
	mov	x0, x19
	bl	_strlen
	mov	x21, x0
	mov	x0, x20
	bl	_Py_XDECREF
	cmp	x21, x22
	b.hs	LBB0_7
; %bb.6:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
Lloh8:
	adrp	x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_errcode
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	b	LBB0_9
LBB0_7:
	b.ls	LBB0_9
; %bb.8:
Lloh13:
	adrp	x8, _ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
LBB0_9:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_pg_verifymbstr
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x19
	bl	_PyObject_Str
	mov	x20, x0
	cbnz	x0, LBB0_5
	b	LBB0_4
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not create string representation of Python object"

	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ; @ERRCODE_DATATYPE_MISMATCH
l_.str.1:                               ; @.str.1
	.asciz	"could not convert Python object into cstring: Python string representation appears to contain null bytes"

l_.str.2:                               ; @.str.2
	.asciz	"could not convert Python object into cstring: Python string longer than reported length"

.subsections_via_symbols
