	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_config_read_maclist
_hostapd_config_read_maclist:           ## @hostapd_config_read_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -192(%rbp)                ## 8-byte Spill
	movq	%rsi, -200(%rbp)                ## 8-byte Spill
	movq	%rdi, %r15
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -208(%rbp)                ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_32
## %bb.1:
	movq	%rax, %rbx
	movq	%r15, -216(%rbp)                ## 8-byte Spill
	movq	%r14, -184(%rbp)                ## 8-byte Spill
	leaq	-176(%rbp), %r12
	movq	%r12, %rdi
	movl	$128, %esi
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_27
## %bb.2:
	xorl	%r15d, %r15d
	jmp	LBB0_3
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	movq	-192(%rbp), %rsi                ## 8-byte Reload
	movq	-208(%rbp), %rdx                ## 8-byte Reload
	callq	_hostapd_remove_acl_mac
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	$128, %esi
	movq	%rbx, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_27
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	incl	%r15d
	movb	-176(%rbp), %r13b
	cmpb	$35, %r13b
	je	LBB0_26
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	-175(%rbp), %rax
	movl	%r13d, %ecx
	testb	%cl, %cl
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$10, %cl
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movzbl	(%rax), %ecx
	incq	%rax
	testb	%cl, %cl
	jne	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	testb	%r13b, %r13b
	jne	LBB0_9
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	$0, -1(%rax)
	movb	-176(%rbp), %r13b
	testb	%r13b, %r13b
	je	LBB0_26
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$45, %r13b
	movq	%r12, %r14
	leaq	-175(%rbp), %rax
	cmoveq	%rax, %r14
	movq	%r14, %rdi
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	callq	_hwaddr_aton
	testq	%rax, %rax
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$45, %r13b
	je	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movabsq	$4294967809, %rcx               ## imm = 0x100000201
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=2
	incq	%rdi
LBB0_14:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rdi), %eax
	cmpq	$32, %rax
	ja	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	btq	%rax, %rcx
	jae	LBB0_16
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=2
	movzbl	1(%rdi), %eax
	incq	%rdi
LBB0_18:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$9, %al
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	cmpb	$32, %al
	je	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	%al, %al
	jne	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_23
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	_atoi
	movl	%eax, %edx
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	movq	-192(%rbp), %rsi                ## 8-byte Reload
	movq	-208(%rbp), %rcx                ## 8-byte Reload
	callq	_hostapd_add_acl_maclist
	testq	%rax, %rax
	jns	LBB0_26
	jmp	LBB0_24
LBB0_27:
	movq	%rbx, %rdi
	callq	_fclose
	movq	-200(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.28:
	movq	-192(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movq	_hostapd_acl_comp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_qsort
	jmp	LBB0_29
LBB0_32:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %ebx
	jmp	LBB0_30
LBB0_10:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	movq	-216(%rbp), %r8                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_24:
	movq	%rbx, %rdi
	callq	_fclose
	movl	$-1, %ebx
LBB0_29:
	movq	-184(%rbp), %r14                ## 8-byte Reload
LBB0_30:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_33
## %bb.31:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"MAC list file '%s' not found."

L_.str.2:                               ## @.str.2
	.asciz	"Invalid MAC address '%s' at line %d in '%s'"

	.comm	_hostapd_acl_comp,4,2           ## @hostapd_acl_comp
	.no_dead_strip	_hostapd_config_read_maclist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_config_read_maclist
_hostapd_config_read_maclist:           ; @hostapd_config_read_maclist
	.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
	sub	sp, sp, #160
	mov	x20, x2
	mov	x21, x1
	mov	x24, x0
	mov	x19, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_25
; %bb.1:
	mov	x22, x0
	stp	x24, x19, [x29, #-240]          ; 16-byte Folded Spill
	sub	x0, x29, #224
	mov	w1, #128
	mov	x2, x22
	bl	_fgets
	cbz	x0, LBB0_23
; %bb.2:
	mov	w27, #0
	sub	x8, x29, #224
	add	x28, x8, #1
	mov	w25, #1
	mov	x26, #513
	movk	x26, #1, lsl #32
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	bl	_hostapd_remove_acl_mac
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	x0, x29, #224
	mov	w1, #128
	mov	x2, x22
	bl	_fgets
	cbz	x0, LBB0_23
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
	add	w27, w27, #1
	ldurb	w19, [x29, #-224]
	cmp	w19, #35
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x28
	mov	x9, x19
	cbz	w9, LBB0_9
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w9, #10
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldrb	w9, [x8], #1
	cbnz	w9, LBB0_7
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w19, LBB0_11
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	sturb	wzr, [x8, #-1]
	ldurb	w19, [x29, #-224]
	cbz	w19, LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w19, #45
	sub	x8, x29, #224
	csel	x24, x28, x8, eq
	mov	x0, x24
	mov	x1, x23
	bl	_hwaddr_aton
	cbnz	x0, LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w19, #45
	b.eq	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	x0, x29, #224
LBB0_14:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x0]
	cmp	w8, #32
	lsl	x9, x25, x8
	and	x9, x9, x26
	ccmp	x9, #0, #4, ls
	b.ne	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	add	x0, x0, #1
	b	LBB0_14
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	ldrb	w8, [x0, #1]!
LBB0_17:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w8, w8, #0xff
	cmp	w8, #9
	b.eq	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	cmp	w8, #32
	b.eq	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w8, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w2, #0
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_atoi
	mov	x2, x0
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x3, x23
	bl	_hostapd_add_acl_maclist
	tbz	x0, #63, LBB0_4
	b	LBB0_27
LBB0_23:
	mov	x0, x22
	bl	_fclose
	ldr	x0, [x21]
	cbz	x0, LBB0_28
; %bb.24:
	ldr	w1, [x20]
Lloh10:
	adrp	x8, _hostapd_acl_comp@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hostapd_acl_comp@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	w2, #4
	bl	_qsort
	mov	w0, #0
	b	LBB0_28
LBB0_25:
Lloh13:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_29
LBB0_26:
Lloh18:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldur	x8, [x29, #-240]                ; 8-byte Folded Reload
	stp	x27, x8, [sp, #-16]!
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x24
	bl	_wpa_printf
	add	sp, sp, #16
LBB0_27:
	mov	x0, x22
	bl	_fclose
	mov	w0, #-1
LBB0_28:
	ldur	x19, [x29, #-232]               ; 8-byte Folded Reload
LBB0_29:
	mov	sp, x19
	ldur	x8, [x29, #-96]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	sub	sp, x29, #80
	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
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"MAC list file '%s' not found."

l_.str.2:                               ; @.str.2
	.asciz	"Invalid MAC address '%s' at line %d in '%s'"

	.comm	_hostapd_acl_comp,4,2           ; @hostapd_acl_comp
	.no_dead_strip	_hostapd_config_read_maclist
.subsections_via_symbols
