	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_ibss_map_epid
_ath6kl_ibss_map_epid:                  ## @ath6kl_ibss_map_epid
	.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	%rdx, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_ath6kl_priv
	movq	%rax, %r12
	movq	$0, (%r14)
	movq	(%r15), %r15
	movl	32(%r15), %edi
	callq	_is_multicast_ether_addr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENDPOINT_2@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_2:
	cmpq	$0, (%r12)
	je	LBB0_3
## %bb.4:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	$-1, %rbx
	movl	$1, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %rax
	addq	$16, %r14
	leaq	1(%r13), %rcx
	cmpq	%rax, %r13
	movq	%rcx, %r13
	jae	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	32(%r15), %edi
	movq	16(%r12), %rax
	movl	12(%rax,%r14), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$-1, %rbx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	-1(%r13), %rax
	movq	16(%r12), %rcx
	xorl	%edx, %edx
	cmpl	8(%rcx,%r14), %edx
	movl	$0, %ebx
	sbbq	%rbx, %rbx
	orq	%rax, %rbx
	jmp	LBB0_9
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_10:
	cmpq	$-1, %rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_13
LBB0_11:
	leaq	1(%rax), %rcx
	movq	%rcx, (%r12)
	movq	_MAX_NODE_NUM@GOTPCREL(%rip), %rdx
	movq	%rax, %rbx
	cmpq	(%rdx), %rcx
	jbe	LBB0_13
## %bb.12:
	movq	_ENDPOINT_UNUSED@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_13:
	movq	16(%r12), %rax
	movq	%rbx, %r13
	shlq	$4, %r13
	movl	12(%rax,%r13), %edi
	movl	32(%r15), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_ENDPOINT_2@GOTPCREL(%rip), %r8
	movq	(%r8), %rax
	movq	_ENDPOINT_5@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rax, %rdx
	jb	LBB0_21
## %bb.14:
	movq	24(%r12), %rsi
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rax
	cmpq	%rdx, %rax
	ja	LBB0_21
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rsi,%rax,4)
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	%rax, %rdx
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%r12), %rdi
	movq	16(%r12), %rcx
	movq	%rdi, (%rcx,%r13)
	incq	%rdi
	movq	%rdi, 8(%r12)
	cmpq	%rdx, %rdi
	jbe	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%r8), %rcx
	movq	%rcx, 8(%r12)
	jmp	LBB0_20
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movq	16(%r12), %rcx
	leaq	(%rcx,%r14), %rax
	incl	8(%rcx,%r14)
	jmp	LBB0_22
LBB0_16:
	movq	16(%r12), %rcx
	movq	%rax, (%rcx,%r13)
LBB0_21:
	incq	%rbx
	movq	%rbx, (%r14)
	movq	16(%r12), %rcx
	leaq	(%rcx,%r13), %rax
	incl	8(%rcx,%r13)
LBB0_22:
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENDPOINT_2,8,3                 ## @ENDPOINT_2
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MAX_NODE_NUM,8,3               ## @MAX_NODE_NUM
	.comm	_ENDPOINT_UNUSED,8,3            ## @ENDPOINT_UNUSED
	.comm	_ENDPOINT_5,8,3                 ## @ENDPOINT_5
	.no_dead_strip	_ath6kl_ibss_map_epid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_ibss_map_epid
_ath6kl_ibss_map_epid:                  ; @ath6kl_ibss_map_epid
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x21, x0
	mov	x0, x1
	bl	_ath6kl_priv
	mov	x20, x0
	str	xzr, [x19]
	ldr	x23, [x21]
	ldr	w0, [x23, #32]
	bl	_is_multicast_ether_addr
Lloh0:
	adrp	x21, _ENDPOINT_2@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ENDPOINT_2@GOTPAGEOFF]
	cbnz	x0, LBB0_23
; %bb.1:
	ldr	x8, [x20]
Lloh2:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	cbz	x8, LBB0_7
; %bb.2:
	mov	x25, #0
	mov	x22, #-1
	mov	w26, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	add	x25, x25, #16
	add	x9, x26, #1
	cmp	x26, x8
	mov	x26, x9
	b.hs	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #32]
	ldr	x8, [x20, #16]
	add	x8, x8, x25
	ldr	w1, [x8, #12]
	ldr	w2, [x24]
	bl	_memcmp
	cbz	x0, LBB0_19
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmn	x22, #1
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x26, #1
	ldr	x9, [x20, #16]
	add	x9, x9, x25
	ldr	w9, [x9, #8]
	cmp	w9, #0
	csinv	x22, x8, xzr, eq
	b	LBB0_3
LBB0_7:
	mov	x22, #0
	b	LBB0_10
LBB0_8:
	cmn	x22, #1
	b.ne	LBB0_12
; %bb.9:
	mov	x22, x8
LBB0_10:
	add	x8, x22, #1
	str	x8, [x20]
Lloh4:
	adrp	x9, _MAX_NODE_NUM@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MAX_NODE_NUM@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_12
; %bb.11:
Lloh7:
	adrp	x21, _ENDPOINT_UNUSED@GOTPAGE
Lloh8:
	ldr	x21, [x21, _ENDPOINT_UNUSED@GOTPAGEOFF]
	b	LBB0_23
LBB0_12:
	ldr	x8, [x20, #16]
	add	x8, x8, x22, lsl #4
	ldr	w0, [x8, #12]
	ldr	w1, [x23, #32]
	ldr	w2, [x24]
	bl	_memcpy
	ldr	x8, [x21]
Lloh9:
	adrp	x9, _ENDPOINT_5@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ENDPOINT_5@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.lo	LBB0_21
; %bb.13:
	ldr	x11, [x20, #24]
	lsl	x10, x22, #4
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x8, x8, #1
	cmp	x8, x9
	b.hi	LBB0_21
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11, x8, lsl #2]
	cbz	w12, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldp	x12, x13, [x20, #8]
	str	x12, [x13, x10]
	add	x12, x12, #1
	str	x12, [x20, #8]
	cmp	x12, x9
	b.ls	LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x12, [x21]
	str	x12, [x20, #8]
	b	LBB0_14
LBB0_19:
	str	x26, [x19]
	ldr	x8, [x20, #16]
	add	x21, x8, x25
	b	LBB0_22
LBB0_20:
	ldr	x9, [x20, #16]
	str	x8, [x9, x10]
LBB0_21:
	add	x8, x22, #1
	str	x8, [x19]
	ldr	x8, [x20, #16]
	add	x21, x8, x22, lsl #4
LBB0_22:
	ldr	w8, [x21, #8]
	add	w8, w8, #1
	str	w8, [x21, #8]
LBB0_23:
	ldr	x0, [x21]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENDPOINT_2,8,3                 ; @ENDPOINT_2
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MAX_NODE_NUM,8,3               ; @MAX_NODE_NUM
	.comm	_ENDPOINT_UNUSED,8,3            ; @ENDPOINT_UNUSED
	.comm	_ENDPOINT_5,8,3                 ; @ENDPOINT_5
	.no_dead_strip	_ath6kl_ibss_map_epid
.subsections_via_symbols
