	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_add_acl_maclist        ## -- Begin function hostapd_add_acl_maclist
	.p2align	4, 0x90
_hostapd_add_acl_maclist:               ## @hostapd_add_acl_maclist
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	movl	(%rsi), %esi
	incl	%esi
	movl	$12, %edx
	callq	_os_realloc_array
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, (%r15)
	movslq	(%rbx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	8(%rax,%rcx,4), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_os_memcpy
	movslq	(%rbx), %rax
	leaq	(%rax,%rax,2), %rdi
	shlq	$2, %rdi
	addq	(%r15), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_os_memset
	movq	(%r15), %rax
	movslq	(%rbx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	%r14d, (%rax,%rcx,4)
	xorl	%ecx, %ecx
	testl	%r14d, %r14d
	setne	%cl
	movslq	(%rbx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	%ecx, 4(%rax,%rdx,4)
	incl	(%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$-1, %r12d
LBB0_3:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC list reallocation failed"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_add_acl_maclist        ; -- Begin function hostapd_add_acl_maclist
	.p2align	2
_hostapd_add_acl_maclist:               ; @hostapd_add_acl_maclist
	.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	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x0, [x0]
	ldr	w8, [x1]
	add	w1, w8, #1
	mov	w2, #12
	bl	_os_realloc_array
	cbz	x0, LBB0_2
; %bb.1:
	str	x0, [x21]
	ldrsw	x8, [x19]
	mov	w23, #12
	madd	x8, x8, x23, x0
	ldr	w0, [x8, #8]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_os_memcpy
	ldr	x8, [x21]
	ldrsw	x9, [x19]
	madd	x0, x9, x23, x8
	mov	w1, #0
	mov	w2, #8
	bl	_os_memset
	mov	w0, #0
	ldr	x8, [x21]
	ldrsw	x9, [x19]
	mul	x9, x9, x23
	str	w20, [x8, x9]
	cmp	w20, #0
	cset	w9, ne
	ldrsw	x10, [x19]
	madd	x8, x10, x23, x8
	str	w9, [x8, #4]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
LBB0_3:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC list reallocation failed"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
.subsections_via_symbols
