	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee802_11_parse_candidate_list ## -- Begin function ieee802_11_parse_candidate_list
	.p2align	4, 0x90
_ieee802_11_parse_candidate_list:       ## @ieee802_11_parse_candidate_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
	movq	%rsi, %rbx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.1:
	movq	%rdi, %r14
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	leaq	(%r12,%rdx,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_os_strstr
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	leaq	60(%r12), %rax
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	ja	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	10(%rbx), %rdi
	movq	_WLAN_EID_NEIGHBOR_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	leaq	8(%r12), %r14
	movq	%r14, %rsi
	callq	_hwaddr_aton
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$44, 27(%rbx)
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%r14,%rax,4), %r13
	addq	$28, %rbx
	movq	%rbx, %rdi
	leaq	-64(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtol
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_WPA_PUT_LE32
	movq	-64(%rbp), %rbx
	cmpb	$44, (%rbx)
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, 16(%r13)
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	addq	$16, %r13
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, 4(%r13)
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	addq	$4, %r13
	incq	%r14
	movq	%r14, %rdi
	callq	_atoi
	movl	%eax, 4(%r13)
	addq	$8, %r13
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_os_strchr
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	$44, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rbx, %r15
	jb	LBB0_22
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rbx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_os_strchr
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rax
	subq	%r15, %rax
	jmp	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_os_strlen
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdx
	shrq	%rdx
	leaq	(,%rdx,4), %rbx
	addq	%r13, %rbx
	cmpq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	ja	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %al
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_hexstr2bin
	testq	%rax, %rax
	js	LBB0_29
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rax
	subq	%r12, %rax
	shrq	$2, %rax
	addl	$-2, %eax
	movl	%eax, 4(%r12)
	movq	%rbx, %r12
	testq	%r14, %r14
	jne	LBB0_2
	jmp	LBB0_19
LBB0_3:
	movq	%r12, %rbx
LBB0_19:
	subq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	shrq	$2, %rbx
	jmp	LBB0_31
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_30
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_30
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_30
LBB0_11:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_30
LBB0_13:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_30
LBB0_15:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_30
LBB0_29:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_30
LBB0_26:
	leaq	L_.str.7(%rip), %rsi
LBB0_30:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wpa_printf
	movl	$-1, %ebx
LBB0_31:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" neighbor="

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"Not enough room for additional neighbor"

	.comm	_WLAN_EID_NEIGHBOR_REPORT,4,2   ## @WLAN_EID_NEIGHBOR_REPORT
L_.str.2:                               ## @.str.2
	.asciz	"Invalid BSSID"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.3:                               ## @.str.3
	.asciz	"Missing BSSID Information"

L_.str.4:                               ## @.str.4
	.asciz	"Missing Operating Class"

L_.str.5:                               ## @.str.5
	.asciz	"Missing Channel Number"

L_.str.6:                               ## @.str.6
	.asciz	"Missing PHY Type"

L_.str.7:                               ## @.str.7
	.asciz	"Not enough room for neighbor subelements"

L_.str.8:                               ## @.str.8
	.asciz	"Invalid neighbor subelement info"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee802_11_parse_candidate_list ; -- Begin function ieee802_11_parse_candidate_list
	.p2align	2
_ieee802_11_parse_candidate_list:       ; @ieee802_11_parse_candidate_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x28, x1
	mov	x23, x1
	cbz	x0, LBB0_21
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x27, _WLAN_EID_NEIGHBOR_REPORT@GOTPAGE
Lloh3:
	ldr	x27, [x27, _WLAN_EID_NEIGHBOR_REPORT@GOTPAGEOFF]
Lloh4:
	adrp	x25, _ETH_ALEN@GOTPAGE
Lloh5:
	ldr	x25, [x25, _ETH_ALEN@GOTPAGEOFF]
	add	x26, x28, x2, lsl #2
	mov	x20, x28
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x23, x20
	lsr	x8, x8, #2
	sub	w8, w8, #2
	str	w8, [x20, #4]
	mov	x20, x23
	cbz	x22, LBB0_21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_os_strstr
	cbz	x0, LBB0_20
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x20, #60
	cmp	x8, x26
	b.hi	LBB0_22
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	add	x0, x0, #10
	ldr	w8, [x27]
	mov	x23, x20
	str	w8, [x23], #8
	mov	x1, x23
	bl	_hwaddr_aton
	cbnz	x0, LBB0_23
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x22, #27]
	cmp	w8, #44
	b.ne	LBB0_24
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x25]
	add	x24, x23, x8, lsl #2
	add	x0, x22, #28
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtol
	mov	x1, x0
	mov	x0, x24
	bl	_WPA_PUT_LE32
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #44
	b.ne	LBB0_25
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x8, #1
	mov	x0, x22
	bl	_atoi
	str	w0, [x24, #16]!
	mov	x0, x22
	mov	w1, #44
	bl	_os_strchr
	cbz	x0, LBB0_26
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x0, #1
	mov	x0, x22
	bl	_atoi
	str	w0, [x24, #4]!
	mov	x0, x22
	mov	w1, #44
	bl	_os_strchr
	cbz	x0, LBB0_27
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x0, #1
	mov	x0, x22
	bl	_atoi
	add	x23, x24, #8
	str	w0, [x24, #4]
	mov	x0, x22
	mov	w1, #32
	bl	_os_strchr
	mov	x24, x0
	mov	x0, x22
	mov	w1, #44
	bl	_os_strchr
	cbz	x0, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	x24, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x0, x24
	b.hs	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x0, #1
	mov	x0, x24
	mov	w1, #32
	bl	_os_strchr
	mov	x22, x0
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	sub	x0, x22, x24
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	bl	_os_strlen
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	lsr	x2, x0, #1
	add	x19, x23, x2, lsl #2
	cmp	x19, x26
	b.hi	LBB0_29
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w0, #0, LBB0_28
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_hexstr2bin
	tbnz	x0, #63, LBB0_28
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x19
	b	LBB0_2
LBB0_20:
	mov	x23, x20
LBB0_21:
	sub	x8, x23, x28
	lsr	x0, x8, #2
	b	LBB0_31
LBB0_22:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_30
LBB0_23:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_30
LBB0_24:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_30
LBB0_25:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_30
LBB0_26:
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_30
LBB0_27:
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_30
LBB0_28:
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_30
LBB0_29:
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_30:
Lloh22:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_wpa_printf
	mov	w0, #-1
LBB0_31:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" neighbor="

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"Not enough room for additional neighbor"

	.comm	_WLAN_EID_NEIGHBOR_REPORT,4,2   ; @WLAN_EID_NEIGHBOR_REPORT
l_.str.2:                               ; @.str.2
	.asciz	"Invalid BSSID"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.3:                               ; @.str.3
	.asciz	"Missing BSSID Information"

l_.str.4:                               ; @.str.4
	.asciz	"Missing Operating Class"

l_.str.5:                               ; @.str.5
	.asciz	"Missing Channel Number"

l_.str.6:                               ; @.str.6
	.asciz	"Missing PHY Type"

l_.str.7:                               ; @.str.7
	.asciz	"Not enough room for neighbor subelements"

l_.str.8:                               ; @.str.8
	.asciz	"Invalid neighbor subelement info"

.subsections_via_symbols
