	.file	"extr_adv748x-core.c_adv748x_power_down_tx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	adv748x_power_down_tx, @function
adv748x_power_down_tx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r12, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rbx, 4[rsp]
	call	is_txa@PLT
	mov	r8, rbx
	mov	ecx, 130
	mov	rdi, r12
	test	rax, rax
	mov	ebp, DWORD PTR ADV748X_PAGE_TXA[rip]
	cmove	ebp, DWORD PTR ADV748X_PAGE_TXB[rip]
	mov	edx, 49
	mov	DWORD PTR 4[rsp], 0
	mov	esi, ebp
	call	adv748x_write_check@PLT
	xor	ecx, ecx
	mov	r8, rbx
	mov	edx, 30
	mov	esi, ebp
	mov	rdi, r12
	call	adv748x_write_check@PLT
	mov	ecx, DWORD PTR 0[r13]
	xor	edx, edx
	mov	r8, rbx
	mov	esi, ebp
	mov	rdi, r12
	or	cl, -128
	call	adv748x_write_check@PLT
	mov	r8, rbx
	mov	ecx, 1
	mov	esi, ebp
	mov	edx, 218
	mov	rdi, r12
	call	adv748x_write_check@PLT
	mov	edx, 193
	mov	r8, rbx
	mov	esi, ebp
	mov	ecx, 59
	mov	rdi, r12
	call	adv748x_write_check@PLT
	mov	eax, DWORD PTR 4[rsp]
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	adv748x_power_down_tx, .-adv748x_power_down_tx
	.comm	ADV748X_PAGE_TXB,4,4
	.comm	ADV748X_PAGE_TXA,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_adv748x-core.c_adv748x_power_down_tx.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adv748x_power_down_tx, %function
adv748x_power_down_tx:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L8
	sub	sp, sp, #16
	ldr	r4, [r0, #4]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r7, r0
	bl	is_txa
	mov	r8, #0
	cmp	r0, #0
	ldrne	r3, .L8+4
	ldreq	r3, .L8+8
	add	r6, sp, #8
	ldr	r5, [r3]
	mov	r2, #49
	mov	r3, #130
	mov	r1, r5
	mov	r0, r4
	str	r6, [sp]
	str	r8, [sp, #8]
	bl	adv748x_write_check
	mov	r3, r8
	mov	r2, #30
	mov	r1, r5
	mov	r0, r4
	str	r6, [sp]
	bl	adv748x_write_check
	ldr	r3, [r7]
	mov	r2, r8
	mov	r1, r5
	orr	r3, r3, #128
	mov	r0, r4
	str	r6, [sp]
	bl	adv748x_write_check
	mov	r3, #1
	mov	r2, #218
	mov	r1, r5
	mov	r0, r4
	str	r6, [sp]
	bl	adv748x_write_check
	mov	r3, #59
	mov	r2, #193
	mov	r1, r5
	mov	r0, r4
	str	r6, [sp]
	bl	adv748x_write_check
	ldr	r3, .L8
	ldr	r0, [sp, #8]
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	ADV748X_PAGE_TXA
	.word	ADV748X_PAGE_TXB
	.size	adv748x_power_down_tx, .-adv748x_power_down_tx
	.comm	ADV748X_PAGE_TXB,4,4
	.comm	ADV748X_PAGE_TXA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
