	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_allowed_address        ## -- Begin function hostapd_allowed_address
	.p2align	4, 0x90
_hostapd_allowed_address:               ## @hostapd_allowed_address
	.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
	movq	%r9, %r12
	movq	%r8, %r14
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	testq	%r8, %r8
	je	LBB0_2
## %bb.1:
	movq	$0, (%r14)
LBB0_2:
	movq	16(%rbp), %r15
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	movq	$0, (%r12)
LBB0_4:
	movq	24(%rbp), %rax
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movq	%rbx, %r13
	movq	%rdi, %rbx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_os_memset
	movq	24(%rbp), %rax
	movq	%rbx, %rdi
	movq	%r13, %rbx
LBB0_6:
	movq	32(%rbp), %rcx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	$0, (%rax)
LBB0_8:
	movq	40(%rbp), %rax
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movq	$0, (%rcx)
LBB0_10:
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	$0, (%rax)
LBB0_12:
	movq	%rdi, %r13
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_hostapd_check_acl
	movq	_HOSTAPD_ACL_PENDING@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_40
## %bb.13:
	movq	8(%r13), %rax
	movq	(%rax), %rcx
	movq	_USE_EXTERNAL_RADIUS_AUTH@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_38
## %bb.14:
	cmpl	$0, 48(%rbp)
	je	LBB0_16
## %bb.15:
	movq	_HOSTAPD_ACL_ACCEPT@GOTPCREL(%rip), %rax
	jmp	LBB0_39
LBB0_38:
	movq	_HOSTAPD_ACL_REJECT@GOTPCREL(%rip), %rax
LBB0_39:
	movl	(%rax), %eax
LBB0_40:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r13, %rdi
	movq	16(%rax), %rax
	movq	_DYNAMIC_VLAN_DISABLED@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	cmoveq	%rdx, %r15
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movq	%r15, %r8
	movq	24(%rbp), %r9
	pushq	40(%rbp)
	pushq	32(%rbp)
	callq	_hostapd_acl_cache_get
	addq	$16, %rsp
	movq	_HOSTAPD_ACL_ACCEPT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_40
## %bb.17:
	movq	_HOSTAPD_ACL_ACCEPT_TIMEOUT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_40
## %bb.18:
	movq	_HOSTAPD_ACL_REJECT@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	je	LBB0_40
## %bb.19:
	movq	%r13, %rcx
	movq	%rbx, %r12
	movq	(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.20:
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	24(%rbx), %edi
	movl	(%r15), %edx
	movq	%r12, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_22
LBB0_28:
	movq	%r13, %rax
	movq	8(%r13), %rax
	movq	8(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_29
## %bb.30:
	movl	$32, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_31
## %bb.32:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$28, %rdi
	callq	_os_get_reltime
	movl	24(%rbx), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_os_memcpy
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_hostapd_radius_acl_query
	testq	%rax, %rax
	je	LBB0_35
## %bb.33:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_34:
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_hostapd_acl_query_free
	movl	(%r14), %eax
	jmp	LBB0_40
LBB0_23:
	movq	32(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.24:
	movq	(%rbx), %rdi
	callq	_os_free
	movq	$0, (%rbx)
LBB0_25:
	movq	40(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_27
## %bb.26:
	movq	(%rbx), %rdi
	callq	_os_free
	movq	$0, (%rbx)
LBB0_27:
	movq	_HOSTAPD_ACL_PENDING@GOTPCREL(%rip), %rax
	jmp	LBB0_39
LBB0_29:
	movl	(%r14), %eax
	jmp	LBB0_40
LBB0_31:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	(%r14), %eax
	jmp	LBB0_40
LBB0_35:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_os_memdup
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_36
## %bb.37:
	movq	%r15, (%rbx)
	movq	(%r13), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, (%r13)
	movq	_HOSTAPD_ACL_PENDING@GOTPCREL(%rip), %rax
	jmp	LBB0_39
LBB0_36:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_ACL_PENDING,4,2        ## @HOSTAPD_ACL_PENDING
	.comm	_USE_EXTERNAL_RADIUS_AUTH,8,3   ## @USE_EXTERNAL_RADIUS_AUTH
	.comm	_HOSTAPD_ACL_ACCEPT,4,2         ## @HOSTAPD_ACL_ACCEPT
	.comm	_DYNAMIC_VLAN_DISABLED,8,3      ## @DYNAMIC_VLAN_DISABLED
	.comm	_HOSTAPD_ACL_ACCEPT_TIMEOUT,4,2 ## @HOSTAPD_ACL_ACCEPT_TIMEOUT
	.comm	_HOSTAPD_ACL_REJECT,4,2         ## @HOSTAPD_ACL_REJECT
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc for query data failed"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"Failed to send Access-Request for ACL query."

L_.str.2:                               ## @.str.2
	.asciz	"Failed to allocate memory for auth frame."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_allowed_address        ; -- Begin function hostapd_allowed_address
	.p2align	2
_hostapd_allowed_address:               ; @hostapd_allowed_address
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x25, x7
	mov	x28, x6
	mov	x26, x5
	mov	x27, x4
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	cbz	x4, LBB0_2
; %bb.1:
	str	xzr, [x27]
LBB0_2:
	cbz	x26, LBB0_4
; %bb.3:
	str	xzr, [x26]
LBB0_4:
	ldr	x23, [x29, #16]
	cbz	x28, LBB0_6
; %bb.5:
	mov	x0, x28
	mov	w1, #0
	mov	w2, #4
	bl	_os_memset
LBB0_6:
	ldr	x24, [x29, #24]
	cbz	x25, LBB0_8
; %bb.7:
	str	xzr, [x25]
LBB0_8:
	cbz	x23, LBB0_10
; %bb.9:
	str	xzr, [x23]
LBB0_10:
	cbz	x24, LBB0_12
; %bb.11:
	str	xzr, [x24]
LBB0_12:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x28
	bl	_hostapd_check_acl
Lloh0:
	adrp	x20, _HOSTAPD_ACL_PENDING@GOTPAGE
Lloh1:
	ldr	x20, [x20, _HOSTAPD_ACL_PENDING@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_18
; %bb.13:
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _USE_EXTERNAL_RADIUS_AUTH@GOTPAGE
Lloh3:
	ldr	x10, [x10, _USE_EXTERNAL_RADIUS_AUTH@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_16
; %bb.14:
	ldr	w9, [x29, #32]
	cbz	w9, LBB0_19
; %bb.15:
Lloh5:
	adrp	x8, _HOSTAPD_ACL_ACCEPT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HOSTAPD_ACL_ACCEPT@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh7:
	adrp	x8, _HOSTAPD_ACL_REJECT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HOSTAPD_ACL_REJECT@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
LBB0_18:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_19:
	ldr	x8, [x8, #16]
Lloh9:
	adrp	x9, _DYNAMIC_VLAN_DISABLED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DYNAMIC_VLAN_DISABLED@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x4, xzr, x28, eq
	mov	x0, x19
	mov	x1, x22
	mov	x2, x27
	mov	x3, x26
	mov	x5, x25
	mov	x6, x23
	mov	x7, x24
	bl	_hostapd_acl_cache_get
Lloh12:
	adrp	x8, _HOSTAPD_ACL_ACCEPT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HOSTAPD_ACL_ACCEPT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _HOSTAPD_ACL_ACCEPT_TIMEOUT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HOSTAPD_ACL_ACCEPT_TIMEOUT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x25, _HOSTAPD_ACL_REJECT@GOTPAGE
Lloh19:
	ldr	x25, [x25, _HOSTAPD_ACL_REJECT@GOTPAGEOFF]
	ldr	w10, [x25]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	ccmp	w0, w10, #4, ne
	b.eq	LBB0_18
; %bb.20:
	ldr	x26, [x19]
	cbz	x26, LBB0_24
; %bb.21:
Lloh20:
	adrp	x27, _ETH_ALEN@GOTPAGE
Lloh21:
	ldr	x27, [x27, _ETH_ALEN@GOTPAGEOFF]
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x26, #24]
	ldr	w2, [x27]
	mov	x1, x22
	bl	_os_memcmp
	cbz	x0, LBB0_29
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x26, [x26, #8]
	cbnz	x26, LBB0_22
LBB0_24:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_34
; %bb.25:
	mov	w0, #32
	bl	_os_zalloc
	cbz	x0, LBB0_35
; %bb.26:
	mov	x23, x0
	add	x0, x0, #28
	bl	_os_get_reltime
	ldr	w0, [x23, #24]
Lloh22:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_os_memcpy
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_hostapd_radius_acl_query
	cbz	x0, LBB0_36
; %bb.27:
Lloh25:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_28:
	bl	_wpa_printf
	mov	x0, x23
	bl	_hostapd_acl_query_free
	ldr	w0, [x25]
	b	LBB0_18
LBB0_29:
	cbz	x23, LBB0_31
; %bb.30:
	ldr	x0, [x23]
	bl	_os_free
	str	xzr, [x23]
LBB0_31:
	cbz	x24, LBB0_33
; %bb.32:
	ldr	x0, [x24]
	bl	_os_free
	str	xzr, [x24]
LBB0_33:
	ldr	w0, [x20]
	b	LBB0_18
LBB0_34:
	ldr	w0, [x25]
	b	LBB0_18
LBB0_35:
Lloh30:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x25]
	b	LBB0_18
LBB0_36:
	mov	x0, x21
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	mov	x1, x21
	bl	_os_memdup
	str	x0, [x23, #16]
	cbz	x0, LBB0_38
; %bb.37:
	ldr	x8, [x19]
	stp	x21, x8, [x23]
	str	x23, [x19]
	ldr	w0, [x20]
	b	LBB0_18
LBB0_38:
Lloh35:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.2@PAGE
Lloh39:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_28
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_ACL_PENDING,4,2        ; @HOSTAPD_ACL_PENDING
	.comm	_USE_EXTERNAL_RADIUS_AUTH,8,3   ; @USE_EXTERNAL_RADIUS_AUTH
	.comm	_HOSTAPD_ACL_ACCEPT,4,2         ; @HOSTAPD_ACL_ACCEPT
	.comm	_DYNAMIC_VLAN_DISABLED,8,3      ; @DYNAMIC_VLAN_DISABLED
	.comm	_HOSTAPD_ACL_ACCEPT_TIMEOUT,4,2 ; @HOSTAPD_ACL_ACCEPT_TIMEOUT
	.comm	_HOSTAPD_ACL_REJECT,4,2         ; @HOSTAPD_ACL_REJECT
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc for query data failed"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"Failed to send Access-Request for ACL query."

l_.str.2:                               ; @.str.2
	.asciz	"Failed to allocate memory for auth frame."

.subsections_via_symbols
