	.file	"extr_wifi_display.c_wifi_display_subelem_hex.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	wifi_display_subelem_hex
	.type	wifi_display_subelem_hex, @function
wifi_display_subelem_hex:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	test	rdi, rdi
	je	.L4
	mov	r12, rdi
	mov	r13, rsi
	call	wpabuf_head_u8@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L4
	mov	rdi, r12
	call	wpabuf_len@PLT
	cmp	rax, QWORD PTR WIFI_DISPLAY_SUBELEM_HEADER_LEN[rip]
	mov	r12, rax
	jbe	.L4
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	cmp	QWORD PTR -8[rbp+r15], r13
	je	.L16
	add	rax, rbx
	cmp	rax, r12
	jnb	.L4
.L6:
	lea	r15, 8[0+rbx*8]
	lea	rdi, 0[rbp+r15]
	call	WPA_GET_BE16@PLT
	mov	rdx, rbx
	mov	r14, rax
	mov	rax, QWORD PTR WIFI_DISPLAY_SUBELEM_HEADER_LEN[rip]
	lea	rbx, [r14+rbx]
	add	rbx, rax
	cmp	rbx, r12
	jbe	.L17
.L4:
	xor	r12d, r12d
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	QWORD PTR 8[rsp], rdx
	cmp	r14, 1000
	ja	.L4
	lea	r13d, 1[r14+r14]
	mov	edi, r13d
	call	os_zalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	rdx, QWORD PTR 8[rsp]
	mov	rcx, r14
	mov	esi, r13d
	mov	rdi, rax
	add	rdx, QWORD PTR WIFI_DISPLAY_SUBELEM_HEADER_LEN[rip]
	lea	rdx, 0[rbp+rdx*8]
	call	wpa_snprintf_hex@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	wifi_display_subelem_hex, .-wifi_display_subelem_hex
	.comm	WIFI_DISPLAY_SUBELEM_HEADER_LEN,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_wifi_display.c_wifi_display_subelem_hex.c"
	.text
	.align	2
	.global	wifi_display_subelem_hex
	.syntax unified
	.arm
	.fpu softvfp
	.type	wifi_display_subelem_hex, %function
wifi_display_subelem_hex:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r4, r0, #0
	beq	.L4
	mov	r9, r1
	bl	wpabuf_head_u8
	subs	r8, r0, #0
	beq	.L4
	mov	r0, r4
	bl	wpabuf_len
	ldr	fp, .L18
	mov	r7, r0
	ldr	r3, [fp]
	cmp	r0, r3
	bls	.L4
	mov	r4, #0
	b	.L6
.L17:
	ldr	r3, [r5, #-4]
	cmp	r3, r9
	beq	.L16
	cmp	r2, r7
	bcs	.L4
.L6:
	add	r5, r4, #1
	add	r5, r8, r5, lsl #2
	mov	r0, r5
	bl	WPA_GET_BE16
	ldr	r2, [fp]
	add	r3, r0, r4
	mov	r10, r4
	add	r4, r3, r2
	cmp	r4, r7
	mov	r6, r0
	add	r2, r2, r4
	bls	.L17
.L4:
	mov	r4, #0
.L1:
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	cmp	r0, #1000
	bhi	.L4
	lsl	r5, r0, #1
	add	r5, r5, #1
	mov	r0, r5
	bl	os_zalloc
	subs	r4, r0, #0
	beq	.L1
	ldr	r2, [fp]
	mov	r3, r6
	add	r2, r10, r2
	mov	r1, r5
	add	r2, r8, r2, lsl #2
	bl	wpa_snprintf_hex
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	.align	2
.L18:
	.word	WIFI_DISPLAY_SUBELEM_HEADER_LEN
	.size	wifi_display_subelem_hex, .-wifi_display_subelem_hex
	.comm	WIFI_DISPLAY_SUBELEM_HEADER_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
