	.file	"extr_zynqmp.c_zynqmp_pm_clock_getdivider.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zynqmp_pm_clock_getdivider, @function
zynqmp_pm_clock_getdivider:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR PAYLOAD_ARG_CNT[rip]
	mov	rcx, rsp
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L11:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L11
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L12
.L4:
	lea	r9, 3[rsp]
	mov	esi, edi
	mov	edi, DWORD PTR PM_CLOCK_GETDIVIDER[rip]
	xor	edx, edx
	mov	r12, r9
	xor	r8d, r8d
	and	r9, -4
	xor	ecx, ecx
	call	zynqmp_pm_invoke_fn@PLT
	shr	r12, 2
	mov	edx, DWORD PTR 4[0+r12*4]
	mov	DWORD PTR [rbx], edx
	mov	rbx, QWORD PTR -24[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L13
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zynqmp_pm_clock_getdivider, .-zynqmp_pm_clock_getdivider
	.comm	PM_CLOCK_GETDIVIDER,4,4
	.comm	PAYLOAD_ARG_CNT,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_zynqmp.c_zynqmp_pm_clock_getdivider.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zynqmp_pm_clock_getdivider, %function
zynqmp_pm_clock_getdivider:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	mov	r3, #0
	mov	r4, r1
	ldr	r2, .L6
	ldr	ip, .L6+4
	ldr	r2, [r2]
	mov	r1, r0
	lsl	r2, r2, #2
	add	r2, r2, #7
	bic	r2, r2, #7
	sub	sp, sp, r2
	add	r5, sp, #8
	stm	sp, {r3, r5}
	ldr	r0, [ip]
	ldr	ip, .L6+8
	mov	r2, r3
	ldr	ip, [ip]
	str	ip, [fp, #-16]
	mov	ip,#0
	bl	zynqmp_pm_invoke_fn
	ldr	r3, [r5, #4]
	str	r3, [r4]
	ldr	r3, .L6+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	PAYLOAD_ARG_CNT
	.word	PM_CLOCK_GETDIVIDER
	.word	.LC0
	.size	zynqmp_pm_clock_getdivider, .-zynqmp_pm_clock_getdivider
	.comm	PM_CLOCK_GETDIVIDER,4,4
	.comm	PAYLOAD_ARG_CNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
