	.file	"extr_ct_sct.c_SCT_set1_log_id.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	SCT_set1_log_id
	.type	SCT_set1_log_id, @function
SCT_set1_log_id:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR SCT_VERSION_V1[rip]
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	cmp	QWORD PTR [rdi], rax
	jne	.L2
	cmp	QWORD PTR CT_V1_HASHLEN[rip], rdx
	jne	.L14
.L2:
	mov	rdi, QWORD PTR 16[rbx]
	call	OPENSSL_free@PLT
	mov	eax, DWORD PTR SCT_VALIDATION_STATUS_NOT_SET[rip]
	mov	QWORD PTR 16[rbx], 0
	mov	QWORD PTR 8[rbx], 0
	mov	DWORD PTR 24[rbx], eax
	test	r12, r12
	je	.L5
	test	rbp, rbp
	jne	.L15
.L5:
	mov	eax, 1
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r12
	call	OPENSSL_memdup@PLT
	mov	QWORD PTR 16[rbx], rax
	test	rax, rax
	je	.L16
	mov	QWORD PTR 8[rbx], rbp
	mov	eax, 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	esi, DWORD PTR CT_R_INVALID_LOG_ID_LENGTH[rip]
	mov	edi, DWORD PTR CT_F_SCT_SET1_LOG_ID[rip]
	call	CTerr@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	esi, DWORD PTR ERR_R_MALLOC_FAILURE[rip]
	mov	edi, DWORD PTR CT_F_SCT_SET1_LOG_ID[rip]
	call	CTerr@PLT
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	SCT_set1_log_id, .-SCT_set1_log_id
	.comm	SCT_VERSION_V1,8,8
	.comm	SCT_VALIDATION_STATUS_NOT_SET,4,4
	.comm	ERR_R_MALLOC_FAILURE,4,4
	.comm	CT_V1_HASHLEN,8,8
	.comm	CT_R_INVALID_LOG_ID_LENGTH,4,4
	.comm	CT_F_SCT_SET1_LOG_ID,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_ct_sct.c_SCT_set1_log_id.c"
	.text
	.align	2
	.global	SCT_set1_log_id
	.syntax unified
	.arm
	.fpu softvfp
	.type	SCT_set1_log_id, %function
SCT_set1_log_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	mov	r4, r0
	ldr	r0, [r0]
	mov	r6, r1
	cmp	r0, r3
	mov	r5, r2
	bne	.L2
	ldr	r3, .L11+4
	ldr	r3, [r3]
	cmp	r3, r2
	bne	.L9
.L2:
	ldr	r0, [r4, #8]
	bl	OPENSSL_free
	mov	r3, #0
	cmp	r6, #0
	cmpne	r5, #0
	ldr	r2, .L11+8
	str	r3, [r4, #8]
	ldr	r2, [r2]
	str	r3, [r4, #4]
	str	r2, [r4, #12]
	bne	.L10
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r6
	mov	r1, r5
	bl	OPENSSL_memdup
	cmp	r0, #0
	mov	r6, r0
	ldreq	r2, .L11+12
	str	r0, [r4, #8]
	beq	.L7
	mov	r0, #1
	str	r5, [r4, #4]
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r2, .L11+16
.L7:
	ldr	r3, .L11+20
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	CTerr
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	SCT_VERSION_V1
	.word	CT_V1_HASHLEN
	.word	SCT_VALIDATION_STATUS_NOT_SET
	.word	ERR_R_MALLOC_FAILURE
	.word	CT_R_INVALID_LOG_ID_LENGTH
	.word	CT_F_SCT_SET1_LOG_ID
	.size	SCT_set1_log_id, .-SCT_set1_log_id
	.comm	SCT_VERSION_V1,4,4
	.comm	SCT_VALIDATION_STATUS_NOT_SET,4,4
	.comm	ERR_R_MALLOC_FAILURE,4,4
	.comm	CT_V1_HASHLEN,4,4
	.comm	CT_R_INVALID_LOG_ID_LENGTH,4,4
	.comm	CT_F_SCT_SET1_LOG_ID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
