	.file	"extr_infttrace.c_hpux_has_vforked.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ttrace"
	.text
	.p2align 4
	.globl	hpux_has_vforked
	.type	hpux_has_vforked, @function
hpux_has_vforked:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	map_from_gdb_tid@PLT
	mov	edi, eax
	call	find_thread_info@PLT
	test	rax, rax
	je	.L2
	mov	rsi, rax
	mov	rdi, rsp
	call	copy_ttstate_t@PLT
.L3:
	mov	eax, DWORD PTR [rsp]
	test	DWORD PTR TTEVT_VFORK[rip], eax
	jne	.L13
.L6:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	eax, DWORD PTR 4[rsp]
	mov	DWORD PTR [rbx], eax
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR TT_LWP_GET_STATE[rip]
	mov	esi, ebp
	mov	rdx, rsp
	mov	ecx, 8
	mov	r8d, DWORD PTR TT_NIL[rip]
	call	call_ttrace@PLT
	cmp	QWORD PTR errno[rip], 0
	mov	ebp, eax
	jne	.L15
.L4:
	test	ebp, ebp
	jns	.L3
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rdi, .LC0[rip]
	call	perror_with_name@PLT
	jmp	.L4
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hpux_has_vforked, .-hpux_has_vforked
	.comm	errno,8,8
	.comm	TT_NIL,4,4
	.comm	TT_LWP_GET_STATE,4,4
	.comm	TTEVT_VFORK,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_infttrace.c_hpux_has_vforked.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ttrace\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hpux_has_vforked
	.syntax unified
	.arm
	.fpu softvfp
	.type	hpux_has_vforked, %function
hpux_has_vforked:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L19
	sub	sp, sp, #28
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r4, r0
	bl	map_from_gdb_tid
	bl	find_thread_info
	subs	r1, r0, #0
	beq	.L2
	add	r0, sp, #12
	bl	copy_ttstate_t
.L3:
	ldr	r3, .L19+4
	ldr	r2, [sp, #12]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L16
.L6:
	mov	r0, #0
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L16:
	ldr	r3, [sp, #16]
	mov	r0, #1
	str	r3, [r5]
	b	.L1
.L2:
	ldr	r2, .L19+8
	ldr	r3, .L19+12
	ldr	r2, [r2]
	mov	r1, r4
	str	r2, [sp]
	ldr	r0, [r3]
	add	r2, sp, #12
	mov	r3, #8
	bl	call_ttrace
	ldr	r3, .L19+16
	mov	r4, r0
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
.L4:
	cmp	r4, #0
	bge	.L3
	b	.L6
.L18:
	ldr	r0, .L19+20
	bl	perror_with_name
	b	.L4
.L17:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC1
	.word	TTEVT_VFORK
	.word	TT_NIL
	.word	TT_LWP_GET_STATE
	.word	errno
	.word	.LC0
	.size	hpux_has_vforked, .-hpux_has_vforked
	.comm	errno,4,4
	.comm	TT_NIL,4,4
	.comm	TT_LWP_GET_STATE,4,4
	.comm	TTEVT_VFORK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
