	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_parse_uri_chan_list        ## -- Begin function dpp_parse_uri_chan_list
	.p2align	4, 0x90
_dpp_parse_uri_chan_list:               ## @dpp_parse_uri_chan_list
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movl	$-1, %r13d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	movb	(%r15), %al
	testb	%al, %al
	je	LBB0_24
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$59, %al
	je	LBB0_24
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-48(%rax), %ecx
	movq	%r15, %rbx
	cmpb	$9, %cl
	ja	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rbx), %eax
	incq	%rbx
	leal	-48(%rax), %ecx
	cmpb	$10, %cl
	jb	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$47, %al
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, %r13d
	incq	%rbx
	movq	%rbx, %r15
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	testl	%r13d, %r13d
	jle	LBB0_22
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_atoi
	testl	%eax, %eax
	jle	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r12d
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r15), %eax
	addb	$-48, %al
	incq	%r15
	cmpb	$10, %al
	jb	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	movl	%r13d, %esi
	movl	%r12d, %edx
	callq	_ieee80211_chan_to_freq
	movl	%eax, %r14d
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_wpa_printf
	testl	%r14d, %r14d
	js	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	_DPP_BOOTSTRAP_MAX_FREQ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, (%rbx)
	movl	%r14d, (%rcx,%rax,4)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	-1(%r15), %al
	cmpb	$44, %al
	je	LBB0_3
## %bb.20:
	testb	%al, %al
	je	LBB0_24
## %bb.21:
	cmpb	$59, %al
	je	LBB0_24
LBB0_22:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %eax
	jmp	LBB0_23
LBB0_1:
	xorl	%eax, %eax
LBB0_23:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_24:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	$0, (%rbx)
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPP: URI channel-list: opclass=%d channel=%d ==> freq=%d"

L_.str.1:                               ## @.str.1
	.asciz	"DPP: Ignore unknown URI channel-list channel (opclass=%d channel=%d)"

	.comm	_DPP_BOOTSTRAP_MAX_FREQ,8,3     ## @DPP_BOOTSTRAP_MAX_FREQ
L_.str.2:                               ## @.str.2
	.asciz	"DPP: Too many channels in URI channel-list - ignore list"

L_.str.3:                               ## @.str.3
	.asciz	"DPP: Invalid URI channel-list"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_parse_uri_chan_list        ; -- Begin function dpp_parse_uri_chan_list
	.p2align	2
_dpp_parse_uri_chan_list:               ; @dpp_parse_uri_chan_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	cbz	x1, LBB0_21
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	w22, #-1
Lloh0:
	adrp	x26, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
Lloh4:
	adrp	x27, _DPP_BOOTSTRAP_MAX_FREQ@GOTPAGE
Lloh5:
	ldr	x27, [x27, _DPP_BOOTSTRAP_MAX_FREQ@GOTPAGEOFF]
Lloh6:
	adrp	x23, l_.str.1@PAGE
Lloh7:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	mov	w0, #0
	ldrb	w8, [x20]
	cbz	w8, LBB0_22
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #59
	b.eq	LBB0_22
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w9, w8, #48
	mov	x24, x20
	cmp	w9, #9
	b.hi	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, x20
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x24, #1]!
	sub	w9, w8, #48
	cmp	w9, #10
	b.lo	LBB0_6
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #47
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_atoi
	mov	x22, x0
	add	x20, x24, #1
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w22, #1
	b.lt	LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_atoi
	cmp	w0, #1
	b.lt	LBB0_20
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, x0
LBB0_12:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x20], #1
	sub	w8, w8, #48
	cmp	w8, #10
	b.lo	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, #0
	mov	x1, x22
	mov	x2, x24
	bl	_ieee80211_chan_to_freq
	mov	x25, x0
	ldr	w0, [x26]
	stp	x24, x25, [sp, #8]
	str	x22, [sp]
	mov	x1, x21
	bl	_wpa_printf
	tbnz	w25, #31, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x27]
	cmp	x8, x9
	b.eq	LBB0_23
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x19, #8]
	add	x10, x8, #1
	str	x10, [x19]
	str	w25, [x9, x8, lsl #2]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x26]
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	mov	x8, x22
	stp	x8, x24, [sp]
	mov	x1, x23
	bl	_wpa_printf
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldurb	w8, [x20, #-1]
	cmp	w8, #44
	b.eq	LBB0_2
; %bb.18:
	mov	w0, #0
	cbz	w8, LBB0_22
; %bb.19:
	cmp	w8, #59
	b.eq	LBB0_22
LBB0_20:
	ldr	w0, [x26]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_22
LBB0_21:
	mov	w0, #0
LBB0_22:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_23:
	ldr	w0, [x26]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_22
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPP: URI channel-list: opclass=%d channel=%d ==> freq=%d"

l_.str.1:                               ; @.str.1
	.asciz	"DPP: Ignore unknown URI channel-list channel (opclass=%d channel=%d)"

	.comm	_DPP_BOOTSTRAP_MAX_FREQ,8,3     ; @DPP_BOOTSTRAP_MAX_FREQ
l_.str.2:                               ; @.str.2
	.asciz	"DPP: Too many channels in URI channel-list - ignore list"

l_.str.3:                               ; @.str.3
	.asciz	"DPP: Invalid URI channel-list"

.subsections_via_symbols
