	.file	"extr_mach-h1940.c_h1940_latch_control.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	h1940_latch_control
	.type	h1940_latch_control, @function
h1940_latch_control:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edi
	mov	rdi, r12
	not	ebx
	call	local_irq_save@PLT
	mov	edi, DWORD PTR latch_state[rip]
	mov	esi, DWORD PTR H1940_LATCH[rip]
	and	edi, ebx
	or	edi, ebp
	mov	DWORD PTR latch_state[rip], edi
	call	__raw_writel@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	local_irq_restore@PLT
	.cfi_endproc
.LFE0:
	.size	h1940_latch_control, .-h1940_latch_control
	.comm	latch_state,4,4
	.comm	H1940_LATCH,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_mach-h1940.c_h1940_latch_control.c"
	.text
	.align	2
	.global	h1940_latch_control
	.syntax unified
	.arm
	.fpu softvfp
	.type	h1940_latch_control, %function
h1940_latch_control:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, #0
	mov	r5, r0
	mov	r4, r1
	mov	r0, r6
	bl	local_irq_save
	ldr	r2, .L4
	ldr	r1, .L4+4
	ldr	r3, [r2]
	ldr	r1, [r1]
	bic	r0, r3, r5
	orr	r0, r0, r4
	str	r0, [r2]
	bl	__raw_writel
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	local_irq_restore
.L5:
	.align	2
.L4:
	.word	latch_state
	.word	H1940_LATCH
	.size	h1940_latch_control, .-h1940_latch_control
	.comm	latch_state,4,4
	.comm	H1940_LATCH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
