	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_parse_uri_info             ## -- Begin function dpp_parse_uri_info
	.p2align	4, 0x90
_dpp_parse_uri_info:                    ## @dpp_parse_uri_info
	.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
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	$59, %esi
	callq	_os_strchr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_os_strlen
	movslq	%eax, %rbx
	addq	%r15, %rbx
LBB0_4:
	subq	%r15, %rbx
	leal	1(%rbx), %edi
	callq	_os_malloc
	movq	%rax, (%r14)
	movl	$-1, %r12d
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_os_memcpy
	movq	(%r14), %rax
	movb	$0, (%rax,%rbx)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%r14), %rdi
	callq	_dpp_uri_valid_info
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %r12d
	jmp	LBB0_7
LBB0_1:
	xorl	%r12d, %r12d
LBB0_7:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPP: URI(information): %s"

L_.str.1:                               ## @.str.1
	.asciz	"DPP: Invalid URI information payload"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_parse_uri_info             ; -- Begin function dpp_parse_uri_info
	.p2align	2
_dpp_parse_uri_info:                    ; @dpp_parse_uri_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_7
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #59
	bl	_os_strchr
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_os_strlen
	add	x0, x20, w0, sxtw
LBB0_3:
	sub	x21, x0, x20
	add	w0, w21, #1
	bl	_os_malloc
	str	x0, [x19]
	cbz	x0, LBB0_6
; %bb.4:
	mov	x1, x20
	mov	x2, x21
	bl	_os_memcpy
	ldr	x8, [x19]
	strb	wzr, [x8, x21]
Lloh0:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x19]
	bl	_dpp_uri_valid_info
	mov	x8, x0
	mov	w0, #0
	cbnz	w8, LBB0_8
; %bb.5:
	ldr	w0, [x20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_6:
	mov	w0, #-1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPP: URI(information): %s"

l_.str.1:                               ; @.str.1
	.asciz	"DPP: Invalid URI information payload"

.subsections_via_symbols
