	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlan_scan_compare_result
_wlan_scan_compare_result:              ## @wlan_scan_compare_result
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	(%r14), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%rax, %rcx
	movl	$-1, %eax
	cmpq	%rcx, %rbx
	jb	LBB0_3
## %bb.1:
	jbe	LBB0_4
LBB0_2:
	movl	$1, %eax
	jmp	LBB0_3
LBB0_4:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.5:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.6:
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%r13,%rdx,8), %rsi
	cmpq	%rsi, -8(%r12,%rdx,8)
	jl	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	jg	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%rbx, %rdx
	jae	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	1(%rdx), %rsi
	cmpq	%rcx, %rdx
	movq	%rsi, %rdx
	jb	LBB0_7
LBB0_11:
	movq	_IEEE80211_ADDR_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.12:
	movq	8(%r15), %rdx
	movq	8(%r14), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdi,8), %rbx
	cmpq	%rbx, (%rdx,%rdi,8)
	jl	LBB0_3
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	jg	LBB0_2
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rdi
	cmpq	%rdi, %rcx
	jne	LBB0_13
LBB0_17:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_ADDR_LEN,8,3         ## @IEEE80211_ADDR_LEN
	.no_dead_strip	_wlan_scan_compare_result
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlan_scan_compare_result
_wlan_scan_compare_result:              ; @wlan_scan_compare_result
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0]
	mov	x0, x21
	bl	_strlen
	mov	x22, x0
	ldr	x23, [x19]
	mov	x0, x23
	bl	_strlen
	cmp	x22, x0
	b.hs	LBB0_2
LBB0_1:
	mov	w0, #-1
	b	LBB0_11
LBB0_2:
	b.ls	LBB0_4
LBB0_3:
	mov	w0, #1
	b	LBB0_11
LBB0_4:
	cmp	x22, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_12
LBB0_5:
Lloh0:
	adrp	x8, _IEEE80211_ADDR_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_ADDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.6:
	ldr	x9, [x20, #8]
	ldr	x10, [x19, #8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	ldr	x12, [x10]
	cmp	x11, x12
	b.lt	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	b.gt	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x10, x10, #8
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_10:
	mov	w0, #0
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x8, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	lsl	x9, x8, #3
	ldr	x10, [x21, x9]
	ldr	x9, [x23, x9]
	cmp	x10, x9
	b.lt	LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	b.gt	LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x8, #1
	cmp	x8, x22
	b.hs	LBB0_5
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	x8, x0
	b.lo	LBB0_13
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_ADDR_LEN,8,3         ; @IEEE80211_ADDR_LEN
	.no_dead_strip	_wlan_scan_compare_result
.subsections_via_symbols
