	.file	"extr_zd_chip.c_get_aw_pt_bi.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_aw_pt_bi, @function
get_aw_pt_bi:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	lea	rdi, aw_pt_bi_addr.1939[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	ARRAY_SIZE@PLT
	mov	rdi, r12
	mov	rsi, rsp
	lea	rdx, aw_pt_bi_addr.1939[rip]
	mov	ecx, eax
	call	zd_ioread32v_locked@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR 16[rbp], rax
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 8[rbp], rax
	mov	rax, QWORD PTR 16[rsp]
	mov	QWORD PTR 0[rbp], rax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edx, 24
	xor	esi, esi
	mov	rdi, rbp
	call	memset@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_aw_pt_bi, .-get_aw_pt_bi
	.section	.rodata
	.align 8
	.type	aw_pt_bi_addr.1939, @object
	.size	aw_pt_bi_addr.1939, 12
aw_pt_bi_addr.1939:
	.long	130
	.long	128
	.long	129
	.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_zd_chip.c_get_aw_pt_bi.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_aw_pt_bi, %function
get_aw_pt_bi:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L9
	sub	sp, sp, #20
	mov	r5, r0
	ldr	r0, .L9+4
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ARRAY_SIZE
	mov	r1, sp
	mov	r3, r0
	ldr	r2, .L9+4
	mov	r0, r5
	bl	zd_ioread32v_locked
	subs	r5, r0, #0
	bne	.L7
	ldm	sp, {r1, r2, r3}
	str	r1, [r4, #8]
	str	r2, [r4, #4]
	str	r3, [r4]
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	mov	r0, r4
	mov	r2, #12
	mov	r1, #0
	bl	memset
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LANCHOR0
	.size	get_aw_pt_bi, .-get_aw_pt_bi
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	aw_pt_bi_addr.4223, %object
	.size	aw_pt_bi_addr.4223, 12
aw_pt_bi_addr.4223:
	.word	130
	.word	128
	.word	129
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
