	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_parse_uri
_dpp_parse_uri:                         ## @dpp_parse_uri
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	callq	_os_strlen
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_wpa_hexdump_ascii
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_os_strncmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_32
LBB0_2:
	leaq	4(%r13), %r12
	movq	%r12, %rdi
	movl	$59, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_31
## %bb.3:
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	LJTI0_0(%rip), %rbx
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%r12, %r15
	movq	%rax, %r12
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r15, %r12
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%r12, %r15
	incq	%r15
	movq	%r15, %rdi
	movl	$59, %esi
	callq	_os_strchr
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movb	(%r15), %al
	addb	$-67, %al
	rorb	%al
	cmpb	$5, %al
	ja	LBB0_21
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	%al, %eax
	movslq	(%rbx,%rax,4), %rax
	addq	%rbx, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$58, 1(%r15)
	jne	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_21
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %r15
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$58, 1(%r15)
	jne	LBB0_21
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %r15
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$58, 1(%r15)
	jne	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %r15
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$58, 1(%r15)
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %r15
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %edi
	movl	%r12d, %ecx
	subl	%r15d, %ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_hexdump_ascii
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movq	%r12, %rdi
	movl	$59, %esi
	callq	_os_strchr
	testq	%rax, %rax
	jne	LBB0_4
LBB0_23:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_31
## %bb.24:
	movl	$4, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_33
## %bb.25:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_dpp_clone_uri
	testq	%rax, %rax
	js	LBB0_30
## %bb.26:
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_dpp_parse_uri_chan_list
	testq	%rax, %rax
	js	LBB0_30
## %bb.27:
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_dpp_parse_uri_mac
	testq	%rax, %rax
	js	LBB0_30
## %bb.28:
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_dpp_parse_uri_info
	testq	%rax, %rax
	js	LBB0_30
## %bb.29:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_dpp_parse_uri_pk
	testq	%rax, %rax
	jns	LBB0_34
LBB0_30:
	movq	%rbx, %rdi
	callq	_dpp_bootstrap_info_free
	jmp	LBB0_33
LBB0_31:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_32:
	callq	_wpa_printf
LBB0_33:
	xorl	%ebx, %ebx
LBB0_34:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPP: URI"

L_.str.1:                               ## @.str.1
	.asciz	"DPP:"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"DPP: Not a DPP URI"

L_.str.3:                               ## @.str.3
	.asciz	"DPP: Ignore unrecognized URI parameter"

L_.str.4:                               ## @.str.4
	.asciz	"DPP: URI missing public-key"

	.no_dead_strip	_dpp_parse_uri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp_parse_uri
_dpp_parse_uri:                         ; @dpp_parse_uri
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x27, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x27, [x27, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w20, [x27]
	bl	_os_strlen
	mov	x3, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_wpa_hexdump_ascii
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_os_strncmp
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_26
LBB0_2:
	add	x26, x19, #4
	mov	x0, x26
	mov	w1, #59
	bl	_os_strchr
	cbz	x0, LBB0_25
; %bb.3:
	mov	x25, x0
	mov	x20, #0
	mov	x21, #0
	mov	x22, #0
	mov	x23, #0
Lloh11:
	adrp	x24, l_.str.3@PAGE
Lloh12:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh13:
	adrp	x28, lJTI0_0@PAGE
Lloh14:
	add	x28, x28, lJTI0_0@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x25, x26
	b.ne	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x25, #1
	mov	x0, x26
	mov	w1, #59
	bl	_os_strchr
	mov	x25, x0
	cbnz	x0, LBB0_4
	b	LBB0_17
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x26]
	sub	w9, w8, #67
	ubfx	w8, w9, #1, #7
	bfi	w8, w9, #7, #25
	and	w9, w8, #0xff
	cmp	w9, #5
	b.hi	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	and	x8, x8, #0xff
	adr	x9, LBB0_8
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x26, #1]
	cmp	w8, #58
	ccmp	x23, #0, #0, eq
	b.ne	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x26, #2
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x26, #1]
	cmp	w8, #58
	ccmp	x21, #0, #0, eq
	b.ne	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x26, #2
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x26, #1]
	cmp	w8, #58
	ccmp	x20, #0, #0, eq
	b.ne	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x26, #2
	b	LBB0_5
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x26, #1]
	cmp	w8, #58
	ccmp	x22, #0, #0, eq
	b.eq	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x27]
	sub	w3, w25, w26
	mov	x1, x24
	mov	x2, x26
	bl	_wpa_hexdump_ascii
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x26, #2
	b	LBB0_5
LBB0_17:
	cbz	x20, LBB0_25
; %bb.18:
	mov	w0, #4
	bl	_os_zalloc
	mov	x24, x0
	cbz	x0, LBB0_28
; %bb.19:
	mov	x0, x24
	mov	x1, x19
	bl	_dpp_clone_uri
	tbnz	x0, #63, LBB0_24
; %bb.20:
	mov	x0, x24
	mov	x1, x23
	bl	_dpp_parse_uri_chan_list
	tbnz	x0, #63, LBB0_24
; %bb.21:
	mov	x0, x24
	mov	x1, x22
	bl	_dpp_parse_uri_mac
	tbnz	x0, #63, LBB0_24
; %bb.22:
	mov	x0, x24
	mov	x1, x21
	bl	_dpp_parse_uri_info
	tbnz	x0, #63, LBB0_24
; %bb.23:
	mov	x0, x24
	mov	x1, x20
	bl	_dpp_parse_uri_pk
	tbz	x0, #63, LBB0_28
LBB0_24:
	mov	x0, x24
	bl	_dpp_bootstrap_info_free
	b	LBB0_27
LBB0_25:
Lloh15:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_26:
	bl	_wpa_printf
LBB0_27:
	mov	x24, #0
LBB0_28:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPP: URI"

l_.str.1:                               ; @.str.1
	.asciz	"DPP:"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"DPP: Not a DPP URI"

l_.str.3:                               ; @.str.3
	.asciz	"DPP: Ignore unrecognized URI parameter"

l_.str.4:                               ; @.str.4
	.asciz	"DPP: URI missing public-key"

	.no_dead_strip	_dpp_parse_uri
.subsections_via_symbols
