	.file	"extr_wpabuf.c_wpabuf_parse_bin.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	wpabuf_parse_bin
	.type	wpabuf_parse_bin, @function
wpabuf_parse_bin:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	os_strlen@PLT
	test	al, 1
	jne	.L12
	shr	rax
	mov	rdi, rax
	mov	r12, rax
	call	wpabuf_alloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L12
	mov	rsi, r12
	mov	rdi, rax
	call	wpabuf_put@PLT
	mov	rdx, r12
	mov	rdi, rbp
	mov	esi, eax
	call	hexstr2bin@PLT
	test	rax, rax
	jne	.L14
	mov	rax, r13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, r13
	call	wpabuf_free@PLT
.L12:
	xor	r13d, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	mov	rax, r13
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	wpabuf_parse_bin, .-wpabuf_parse_bin
	.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_wpabuf.c_wpabuf_parse_bin.c"
	.text
	.align	2
	.global	wpabuf_parse_bin
	.syntax unified
	.arm
	.fpu softvfp
	.type	wpabuf_parse_bin, %function
wpabuf_parse_bin:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	bl	os_strlen
	ands	r7, r0, #1
	bne	.L4
	lsr	r4, r0, #1
	mov	r0, r4
	bl	wpabuf_alloc
	subs	r5, r0, #0
	beq	.L4
	mov	r1, r4
	bl	wpabuf_put
	mov	r2, r4
	mov	r1, r0
	mov	r0, r6
	bl	hexstr2bin
	cmp	r0, #0
	bne	.L13
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	mov	r0, r5
	bl	wpabuf_free
	mov	r5, r7
	b	.L1
	.size	wpabuf_parse_bin, .-wpabuf_parse_bin
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
