	.file	"extr_column.c_finalize_colopts.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	finalize_colopts
	.type	finalize_colopts, @function
finalize_colopts:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	mov	edx, DWORD PTR COL_ENABLE_MASK[rip]
	mov	ecx, eax
	and	ecx, edx
	cmp	ecx, DWORD PTR COL_AUTO[rip]
	je	.L15
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	test	esi, esi
	js	.L16
.L4:
	not	edx
	and	edx, eax
	mov	DWORD PTR [rbx], edx
	test	esi, esi
	je	.L17
.L5:
	or	edx, DWORD PTR COL_ENABLED[rip]
	mov	DWORD PTR [rbx], edx
.L3:
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	xor	eax, eax
	call	pager_in_use@PLT
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR [rbx]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, 1
	call	isatty@PLT
	mov	edx, DWORD PTR COL_ENABLE_MASK[rip]
	mov	esi, eax
	mov	eax, DWORD PTR [rbx]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	finalize_colopts, .-finalize_colopts
	.comm	COL_ENABLE_MASK,4,4
	.comm	COL_ENABLED,4,4
	.comm	COL_AUTO,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_column.c_finalize_colopts.c"
	.text
	.align	2
	.global	finalize_colopts
	.syntax unified
	.arm
	.fpu softvfp
	.type	finalize_colopts, %function
finalize_colopts:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, .L15
	ldr	r0, .L15+4
	ldr	r3, [r4]
	ldr	r2, [r5]
	ldr	r0, [r0]
	and	ip, r3, r2
	cmp	ip, r0
	beq	.L12
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	cmp	r1, #0
	blt	.L13
.L4:
	bic	r3, r3, r2
	cmp	r1, #0
	str	r3, [r4]
	beq	.L14
.L5:
	ldr	r2, .L15+8
	mov	r0, #0
	ldr	r2, [r2]
	orr	r3, r2, r3
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L14:
	bl	pager_in_use
	cmp	r0, #0
	beq	.L3
	ldr	r3, [r4]
	b	.L5
.L13:
	mov	r0, #1
	bl	isatty
	ldr	r2, [r5]
	mov	r1, r0
	ldr	r3, [r4]
	b	.L4
.L16:
	.align	2
.L15:
	.word	COL_ENABLE_MASK
	.word	COL_AUTO
	.word	COL_ENABLED
	.size	finalize_colopts, .-finalize_colopts
	.comm	COL_ENABLE_MASK,4,4
	.comm	COL_ENABLED,4,4
	.comm	COL_AUTO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
