	.file	"extr_net-tcp-rpc-client.c_tcp_rpcc_default_check_perm.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tcp_rpcc_default_check_perm
	.type	tcp_rpcc_default_check_perm, @function
tcp_rpcc_default_check_perm:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR C_IPV6[rip], eax
	jne	.L23
	mov	eax, DWORD PTR 4[rdi]
	mov	edx, eax
	and	edx, -16777216
	cmp	edx, 167772160
	je	.L16
	cmp	edx, 2130706432
	je	.L16
.L4:
	xor	r8d, r8d
.L1:
	mov	eax, r8d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	xor	eax, DWORD PTR 8[rbx]
	mov	edx, -65536
	and	eax, edx
	cmp	QWORD PTR aes_initialized[rip], 0
	jle	.L24
.L11:
	mov	r8d, 2
	test	eax, eax
	jne	.L1
.L13:
	mov	r8d, 3
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	rdi, QWORD PTR 24[rdi]
	call	is_ipv6_localhost@PLT
	test	rax, rax
	jne	.L3
.L7:
	mov	rdx, QWORD PTR 16[rbx]
	mov	rax, QWORD PTR 24[rbx]
	mov	ecx, DWORD PTR [rdx]
	cmp	DWORD PTR [rax], ecx
	jne	.L4
	mov	eax, DWORD PTR 4[rax]
	xor	eax, DWORD PTR 4[rdx]
	mov	edx, 65535
	and	eax, edx
	cmp	QWORD PTR aes_initialized[rip], 0
	jg	.L11
.L24:
	xor	r8d, r8d
	test	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	sete	r8b
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, QWORD PTR 16[rbx]
	call	is_ipv6_localhost@PLT
	test	rax, rax
	je	.L7
	cmp	QWORD PTR aes_initialized[rip], 0
	mov	r8d, 1
	jg	.L13
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	tcp_rpcc_default_check_perm, .-tcp_rpcc_default_check_perm
	.comm	aes_initialized,8,8
	.comm	C_IPV6,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_net-tcp-rpc-client.c_tcp_rpcc_default_check_perm.c"
	.text
	.align	2
	.global	tcp_rpcc_default_check_perm
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcp_rpcc_default_check_perm, %function
tcp_rpcc_default_check_perm:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L22
	ldr	r2, [r0]
	ldr	r3, [r3]
	push	{r4, lr}
	tst	r2, r3
	mov	r4, r0
	bne	.L18
	ldr	r3, [r0, #4]
	and	r2, r3, #-16777216
	cmp	r2, #167772160
	cmpne	r2, #2130706432
	bne	.L4
	ldr	r0, [r0, #8]
	ldr	r1, .L22+4
	eor	r0, r0, r3
.L9:
	ldr	r2, .L22+8
	and	r0, r0, r1
	ldr	r3, [r2]
	cmp	r3, #0
	ble	.L19
	cmp	r0, #0
	beq	.L12
	mov	r0, #2
	pop	{r4, pc}
.L18:
	ldr	r0, [r0, #16]
	bl	is_ipv6_localhost
	cmp	r0, #0
	bne	.L3
.L7:
	ldr	r3, [r4, #16]
	ldr	r2, [r4, #12]
	ldr	r0, [r3]
	ldr	r1, [r2]
	cmp	r0, r1
	beq	.L20
.L4:
	mov	r0, #0
	pop	{r4, pc}
.L3:
	ldr	r0, [r4, #12]
	bl	is_ipv6_localhost
	cmp	r0, #0
	beq	.L7
	ldr	r3, .L22+8
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L21
.L12:
	mov	r0, #3
	pop	{r4, pc}
.L20:
	ldr	r3, [r3, #4]
	ldr	r0, [r2, #4]
	ldr	r1, .L22+12
	eor	r0, r0, r3
	b	.L9
.L19:
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, pc}
.L21:
	mov	r0, #1
	pop	{r4, pc}
.L23:
	.align	2
.L22:
	.word	C_IPV6
	.word	-65536
	.word	aes_initialized
	.word	65535
	.size	tcp_rpcc_default_check_perm, .-tcp_rpcc_default_check_perm
	.comm	aes_initialized,4,4
	.comm	C_IPV6,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
