	.file	"extr_uc_common.c_uc_check_cmsghdr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cmsghdr is NULL"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"cmsghdr.cmsg_level %d != SOL_SOCKET"
	.section	.rodata.str1.1
.LC2:
	.string	"cmsghdr.cmsg_type %d != %d"
.LC3:
	.string	"cmsghdr.cmsg_len %u != %zu"
	.text
	.p2align 4
	.globl	uc_check_cmsghdr
	.type	uc_check_cmsghdr, @function
uc_check_cmsghdr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	rdi, rdi
	je	.L9
	mov	r8, QWORD PTR [rdi]
	cmp	r8, QWORD PTR SOL_SOCKET[rip]
	mov	rbx, rdi
	jne	.L10
	mov	r8d, DWORD PTR 8[rdi]
	cmp	r8d, esi
	jne	.L11
	mov	r12d, DWORD PTR 12[rdi]
	mov	rdi, rdx
	mov	rbp, rdx
	call	CMSG_LEN@PLT
	cmp	r12d, eax
	jne	.L12
	xor	eax, eax
.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
.L11:
	.cfi_restore_state
	mov	edx, esi
	lea	rdi, .LC2[rip]
	mov	esi, r8d
	xor	eax, eax
	call	uc_logmsgx@PLT
	mov	eax, -1
	jmp	.L1
.L10:
	mov	rsi, r8
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	uc_logmsgx@PLT
	mov	eax, -1
	jmp	.L1
.L12:
	mov	rdi, rbp
	call	CMSG_LEN@PLT
	mov	esi, DWORD PTR 12[rbx]
	lea	rdi, .LC3[rip]
	mov	edx, eax
	xor	eax, eax
	call	uc_logmsgx@PLT
	mov	eax, -1
	jmp	.L1
.L9:
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	uc_logmsgx@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	uc_check_cmsghdr, .-uc_check_cmsghdr
	.comm	SOL_SOCKET,8,8
	.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_uc_common.c_uc_check_cmsghdr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cmsghdr is NULL\000"
	.align	2
.LC1:
	.ascii	"cmsghdr.cmsg_level %d != SOL_SOCKET\000"
	.align	2
.LC2:
	.ascii	"cmsghdr.cmsg_type %d != %d\000"
	.align	2
.LC3:
	.ascii	"cmsghdr.cmsg_len %u != %zu\000"
	.text
	.align	2
	.global	uc_check_cmsghdr
	.syntax unified
	.arm
	.fpu softvfp
	.type	uc_check_cmsghdr, %function
uc_check_cmsghdr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r0, #0
	beq	.L9
	mov	r5, r2
	ldr	r2, .L13
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L10
	ldr	r3, [r4, #4]
	cmp	r3, r1
	bne	.L11
	mov	r0, r5
	ldr	r6, [r4, #8]
	bl	CMSG_LEN
	cmp	r6, r0
	bne	.L12
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L11:
	mov	r2, r1
	ldr	r0, .L13+4
	mov	r1, r3
	bl	uc_logmsgx
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	mov	r1, r3
	ldr	r0, .L13+8
	bl	uc_logmsgx
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	mov	r0, r5
	ldr	r4, [r4, #8]
	bl	CMSG_LEN
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L13+12
	bl	uc_logmsgx
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r0, .L13+16
	bl	uc_logmsgx
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	SOL_SOCKET
	.word	.LC2
	.word	.LC1
	.word	.LC3
	.word	.LC0
	.size	uc_check_cmsghdr, .-uc_check_cmsghdr
	.comm	SOL_SOCKET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
