	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_parse_radius_attr      ## -- Begin function hostapd_parse_radius_attr
	.p2align	4, 0x90
_hostapd_parse_radius_attr:             ## @hostapd_parse_radius_attr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$16, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.1:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, 8(%r12)
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, %r14
	movsbl	1(%rax), %eax
	testl	%eax, %eax
	je	LBB0_17
## %bb.5:
	cmpb	$58, 2(%r14)
	jne	LBB0_17
## %bb.6:
	addq	$3, %r14
	cmpl	$100, %eax
	je	LBB0_14
## %bb.7:
	cmpl	$120, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$115, %eax
	jne	LBB0_17
## %bb.9:
	movq	%r14, %rdi
	callq	_os_strlen
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_wpabuf_alloc_copy
	movq	%rax, (%r12)
	jmp	LBB0_16
LBB0_2:
	movl	$1, %edi
	callq	_wpabuf_alloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_17
## %bb.3:
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put_u8
	jmp	LBB0_19
LBB0_14:
	movl	$4, %edi
	callq	_wpabuf_alloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_atoi
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_wpabuf_put_be32
	jmp	LBB0_16
LBB0_10:
	movq	%r14, %rdi
	callq	_os_strlen
	movq	%rax, %r15
	testb	$1, %r15b
	jne	LBB0_16
## %bb.11:
	shrq	%r15
	movl	%r15d, %edi
	callq	_wpabuf_alloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_wpabuf_put
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_hexstr2bin
	testl	%eax, %eax
	js	LBB0_13
LBB0_16:
	cmpq	$0, (%r12)
	jne	LBB0_19
LBB0_17:
	movq	%r12, %rdi
	callq	_os_free
LBB0_18:
	xorl	%r12d, %r12d
LBB0_19:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	(%r12), %rdi
	callq	_wpabuf_free
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_parse_radius_attr      ; -- Begin function hostapd_parse_radius_attr
	.p2align	2
_hostapd_parse_radius_attr:             ; @hostapd_parse_radius_attr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	mov	w0, #16
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_17
; %bb.1:
	mov	x0, x20
	bl	_atoi
	str	w0, [x19, #8]
	mov	x0, x20
	mov	w1, #58
	bl	_os_strchr
	cbz	x0, LBB0_8
; %bb.2:
	ldrsb	w8, [x0, #1]
	cbz	w8, LBB0_16
; %bb.3:
	ldrb	w9, [x0, #2]
	cmp	w9, #58
	b.ne	LBB0_16
; %bb.4:
	add	x20, x0, #3
	cmp	w8, #100
	b.eq	LBB0_10
; %bb.5:
	cmp	w8, #120
	b.eq	LBB0_12
; %bb.6:
	cmp	w8, #115
	b.ne	LBB0_16
; %bb.7:
	mov	x0, x20
	bl	_os_strlen
	mov	x1, x0
	mov	x0, x20
	bl	_wpabuf_alloc_copy
	str	x0, [x19]
	b	LBB0_15
LBB0_8:
	mov	w0, #1
	bl	_wpabuf_alloc
	str	x0, [x19]
	cbz	x0, LBB0_16
; %bb.9:
	mov	w1, #0
	bl	_wpabuf_put_u8
	b	LBB0_17
LBB0_10:
	mov	w0, #4
	bl	_wpabuf_alloc
	str	x0, [x19]
	cbz	x0, LBB0_15
; %bb.11:
	mov	x21, x0
	mov	x0, x20
	bl	_atoi
	mov	x1, x0
	mov	x0, x21
	bl	_wpabuf_put_be32
	b	LBB0_15
LBB0_12:
	mov	x0, x20
	bl	_os_strlen
	tbnz	w0, #0, LBB0_15
; %bb.13:
	lsr	x21, x0, #1
	mov	x0, x21
	bl	_wpabuf_alloc
	str	x0, [x19]
	cbz	x0, LBB0_15
; %bb.14:
	mov	x1, x21
	bl	_wpabuf_put
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	bl	_hexstr2bin
	tbnz	w0, #31, LBB0_18
LBB0_15:
	ldr	x8, [x19]
	cbnz	x8, LBB0_17
LBB0_16:
	mov	x0, x19
	bl	_os_free
	mov	x19, #0
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_18:
	ldr	x0, [x19]
	bl	_wpabuf_free
	b	LBB0_16
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
