	.file	"extr_if_py_both.h_StringToChars.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"expected str() or unicode() instance, but got %s"
	.text
	.p2align 4
	.type	StringToChars, @function
StringToChars:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	PyBytes_Check@PLT
	test	rax, rax
	je	.L2
	xor	edx, edx
	mov	rsi, rsp
	mov	rdi, rbp
	call	PyBytes_AsStringAndSize@PLT
	cmp	eax, -1
	je	.L21
	mov	rax, QWORD PTR [rsp]
	test	rax, rax
	je	.L21
	mov	QWORD PTR [rbx], 0
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L23
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	call	PyUnicode_Check@PLT
	test	rax, rax
	je	.L7
	mov	esi, DWORD PTR ENC_OPT[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	PyUnicode_AsEncodedString@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L21
	xor	edx, edx
	mov	rsi, rsp
	mov	rdi, rax
	call	PyBytes_AsStringAndSize@PLT
	cmp	eax, -1
	je	.L8
	mov	rax, QWORD PTR [rsp]
	test	rax, rax
	je	.L8
	mov	QWORD PTR [rbx], rbp
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, rbp
	call	Py_TYPE_NAME@PLT
	lea	rdi, .LC0[rip]
	mov	r12d, eax
	call	N_@PLT
	mov	edi, DWORD PTR PyExc_TypeError[rip]
	mov	edx, r12d
	mov	esi, eax
	call	PyErr_FORMAT@PLT
.L21:
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, rbp
	call	Py_DECREF@PLT
	xor	eax, eax
	jmp	.L1
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	StringToChars, .-StringToChars
	.comm	PyExc_TypeError,4,4
	.comm	ENC_OPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_if_py_both.h_StringToChars.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"expected str() or unicode() instance, but got %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	StringToChars, %function
StringToChars:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L24
	sub	sp, sp, #12
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	PyBytes_Check
	subs	r5, r0, #0
	mov	r0, r6
	beq	.L2
	mov	r2, #0
	mov	r1, sp
	bl	PyBytes_AsStringAndSize
	cmn	r0, #1
	beq	.L21
	ldr	r0, [sp]
	cmp	r0, #0
	beq	.L21
	mov	r3, #0
	str	r3, [r7]
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	bl	PyUnicode_Check
	subs	r4, r0, #0
	beq	.L7
	ldr	r3, .L24+4
	mov	r0, r6
	mov	r2, r5
	ldr	r1, [r3]
	bl	PyUnicode_AsEncodedString
	subs	r4, r0, #0
	beq	.L21
	mov	r2, r5
	mov	r1, sp
	bl	PyBytes_AsStringAndSize
	cmn	r0, #1
	beq	.L8
	ldr	r0, [sp]
	cmp	r0, #0
	strne	r4, [r7]
	bne	.L1
.L8:
	mov	r0, r4
	bl	Py_DECREF
.L21:
	mov	r0, #0
	b	.L1
.L7:
	ldr	r3, .L24+8
	ldr	r0, .L24+12
	ldr	r7, [r3]
	bl	N_
	mov	r5, r0
	mov	r0, r6
	bl	Py_TYPE_NAME
	mov	r1, r5
	mov	r2, r0
	mov	r0, r7
	bl	PyErr_FORMAT
	mov	r0, r4
	b	.L1
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC1
	.word	ENC_OPT
	.word	PyExc_TypeError
	.word	.LC0
	.size	StringToChars, .-StringToChars
	.comm	PyExc_TypeError,4,4
	.comm	ENC_OPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
