	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_config_write_addr_list
_wpa_config_write_addr_list:            ## @wpa_config_write_addr_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
	xorl	%eax, %eax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.1:
	movq	%rdx, %r15
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.2:
	leaq	(,%r15,8), %rax
	leaq	(%rax,%rax,4), %r12
	movl	%r12d, %edi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	addq	%rax, %r12
	leaq	(%r15,%r15), %r14
	addq	$-2, %r14
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	movq	%r15, %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	imulq	%r14, %rcx
	cmpq	%r15, %r13
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	$32, (%rbx)
	incq	%rbx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rdx
	leaq	(%rdx,%rax,4), %rcx
	movl	%r12d, %esi
	subl	%ebx, %esi
	movq	%rbx, %rdi
	callq	_hwaddr_mask_txt
	testl	%eax, %eax
	js	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %eax
	addq	%rax, %rbx
	addq	$-2, %r14
	decq	%r13
	jne	LBB0_4
## %bb.8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
	.no_dead_strip	_wpa_config_write_addr_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_config_write_addr_list
_wpa_config_write_addr_list:            ; @wpa_config_write_addr_list
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, #0
	cbz	x1, LBB0_9
; %bb.1:
	mov	x20, x2
	cbz	x2, LBB0_9
; %bb.2:
	mov	x21, x1
	add	x8, x20, x20, lsl #2
	lsl	x22, x8, #3
	mov	x0, x22
	bl	_os_malloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.3:
	add	x23, x19, x22
	lsl	x8, x20, #1
	sub	x24, x8, #2
Lloh0:
	adrp	x25, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ETH_ALEN@GOTPAGEOFF]
	mov	w26, #32
	mov	x22, x19
	mov	x27, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	cmp	x27, x20
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w26, [x22], #1
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mul	x9, x8, x24
	add	x2, x21, x9, lsl #2
	add	x3, x2, x8, lsl #2
	sub	w1, w23, w22
	mov	x0, x22
	bl	_hwaddr_mask_txt
	tbnz	w0, #31, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, w0, uxtw
	sub	x24, x24, #2
	sub	x27, x27, #1
	cbnz	x27, LBB0_4
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_os_free
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
	.no_dead_strip	_wpa_config_write_addr_list
.subsections_via_symbols
