	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_radius_acl_query
_hostapd_radius_acl_query:              ## @hostapd_radius_acl_query
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %edi
	callq	_radius_client_get_id
	movl	%eax, (%rbx)
	movq	_RADIUS_CODE_ACCESS_REQUEST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_radius_msg_new
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_radius_msg_make_authenticator
	testq	%rax, %rax
	js	LBB0_8
## %bb.2:
	movq	_RADIUS_ADDR_FORMAT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_MAC2STR
	leaq	-176(%rbp), %r13
	movq	%r13, %rdi
	movl	$128, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_os_snprintf
	movq	_RADIUS_ATTR_USER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_os_strlen
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_radius_msg_add_attr
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_os_strlen
	movq	8(%r15), %rcx
	movq	8(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %r8d
	movl	4(%rcx), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_radius_msg_add_attr_user_password
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	8(%r15), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movq	%r12, %rcx
	callq	_add_common_radius_attr
	testq	%rax, %rax
	js	LBB0_14
## %bb.5:
	movq	_RADIUS_802_1X_ADDR_FORMAT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_MAC2STR
	leaq	-176(%rbp), %r13
	movq	%r13, %rdi
	movl	$128, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_os_snprintf
	movq	_RADIUS_ATTR_CALLING_STATION_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_os_strlen
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_radius_msg_add_attr
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	leaq	L_.str.4(%rip), %rdx
	xorl	%ebx, %ebx
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	xorl	%eax, %eax
	callq	_os_snprintf
	movq	_RADIUS_ATTR_CONNECT_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	-176(%rbp), %rdi
	callq	_os_strlen
	movq	%r12, %rdi
	movl	%r13d, %esi
	leaq	-176(%rbp), %rdx
	movl	%eax, %ecx
	callq	_radius_msg_add_attr
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	movl	(%r15), %edi
	movq	_RADIUS_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	movq	%r14, %rcx
	callq	_radius_client_send
	testq	%rax, %rax
	jns	LBB0_15
	jmp	LBB0_14
LBB0_8:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_13
LBB0_9:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_13
LBB0_10:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_13
LBB0_11:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_13
LBB0_12:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_13:
	callq	_wpa_printf
LBB0_14:
	movq	%r12, %rdi
	callq	_radius_msg_free
	movl	$-1, %ebx
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%ebx, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIUS_CODE_ACCESS_REQUEST,4,2 ## @RADIUS_CODE_ACCESS_REQUEST
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not make Request Authenticator"

	.comm	_RADIUS_ADDR_FORMAT,4,2         ## @RADIUS_ADDR_FORMAT
	.comm	_RADIUS_ATTR_USER_NAME,4,2      ## @RADIUS_ATTR_USER_NAME
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"Could not add User-Name"

L_.str.2:                               ## @.str.2
	.asciz	"Could not add User-Password"

	.comm	_RADIUS_802_1X_ADDR_FORMAT,4,2  ## @RADIUS_802_1X_ADDR_FORMAT
	.comm	_RADIUS_ATTR_CALLING_STATION_ID,4,2 ## @RADIUS_ATTR_CALLING_STATION_ID
L_.str.3:                               ## @.str.3
	.asciz	"Could not add Calling-Station-Id"

L_.str.4:                               ## @.str.4
	.asciz	"CONNECT 11Mbps 802.11b"

	.comm	_RADIUS_ATTR_CONNECT_INFO,4,2   ## @RADIUS_ATTR_CONNECT_INFO
L_.str.5:                               ## @.str.5
	.asciz	"Could not add Connect-Info"

	.comm	_RADIUS_AUTH,4,2                ## @RADIUS_AUTH
	.no_dead_strip	_hostapd_radius_acl_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_radius_acl_query
_hostapd_radius_acl_query:              ; @hostapd_radius_acl_query
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	w0, [x0]
	bl	_radius_client_get_id
	mov	x1, x0
	str	w0, [x19]
Lloh3:
	adrp	x8, _RADIUS_CODE_ACCESS_REQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RADIUS_CODE_ACCESS_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_radius_msg_new
	cbz	x0, LBB0_16
; %bb.1:
	mov	x19, x0
	bl	_radius_msg_make_authenticator
	tbnz	x0, #63, LBB0_9
; %bb.2:
Lloh6:
	adrp	x8, _RADIUS_ADDR_FORMAT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RADIUS_ADDR_FORMAT@GOTPAGEOFF]
Lloh8:
	ldrsw	x22, [x8]
	mov	x0, x20
	bl	_MAC2STR
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	add	x0, sp, #8
	mov	w1, #128
	mov	x2, x22
	bl	_os_snprintf
Lloh9:
	adrp	x8, _RADIUS_ATTR_USER_NAME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RADIUS_ATTR_USER_NAME@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	add	x0, sp, #8
	bl	_os_strlen
	mov	x3, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x22
	bl	_radius_msg_add_attr
	cbz	w0, LBB0_10
; %bb.3:
	add	x0, sp, #8
	bl	_os_strlen
	mov	x2, x0
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldp	w4, w3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_radius_msg_add_attr_user_password
	cbz	w0, LBB0_11
; %bb.4:
	ldr	x8, [x21, #8]
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	mov	x3, x19
	bl	_add_common_radius_attr
	tbnz	x0, #63, LBB0_15
; %bb.5:
Lloh12:
	adrp	x8, _RADIUS_802_1X_ADDR_FORMAT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RADIUS_802_1X_ADDR_FORMAT@GOTPAGEOFF]
Lloh14:
	ldrsw	x22, [x8]
	mov	x0, x20
	bl	_MAC2STR
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	add	x0, sp, #8
	mov	w1, #128
	mov	x2, x22
	bl	_os_snprintf
Lloh15:
	adrp	x8, _RADIUS_ATTR_CALLING_STATION_ID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RADIUS_ATTR_CALLING_STATION_ID@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
	add	x0, sp, #8
	bl	_os_strlen
	mov	x3, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x22
	bl	_radius_msg_add_attr
	cbz	w0, LBB0_12
; %bb.6:
Lloh18:
	adrp	x2, l_.str.4@PAGE
Lloh19:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #8
	mov	w1, #128
	bl	_os_snprintf
Lloh20:
	adrp	x8, _RADIUS_ATTR_CONNECT_INFO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RADIUS_ATTR_CONNECT_INFO@GOTPAGEOFF]
Lloh22:
	ldr	w22, [x8]
	add	x0, sp, #8
	bl	_os_strlen
	mov	x3, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x22
	bl	_radius_msg_add_attr
	cbz	w0, LBB0_13
; %bb.7:
	ldr	w0, [x21]
Lloh23:
	adrp	x8, _RADIUS_AUTH@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RADIUS_AUTH@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x1, x19
	mov	x3, x20
	bl	_radius_client_send
	tbnz	x0, #63, LBB0_15
; %bb.8:
	mov	w0, #0
	b	LBB0_17
LBB0_9:
Lloh26:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_14
LBB0_10:
Lloh31:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_11:
Lloh36:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x1, l_.str.2@PAGE
Lloh40:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_12:
Lloh41:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x1, l_.str.3@PAGE
Lloh45:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh46:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x1, l_.str.5@PAGE
Lloh50:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_14:
	bl	_wpa_printf
LBB0_15:
	mov	x0, x19
	bl	_radius_msg_free
LBB0_16:
	mov	w0, #-1
LBB0_17:
	ldur	x8, [x29, #-40]
Lloh51:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh52:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIUS_CODE_ACCESS_REQUEST,4,2 ; @RADIUS_CODE_ACCESS_REQUEST
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not make Request Authenticator"

	.comm	_RADIUS_ADDR_FORMAT,4,2         ; @RADIUS_ADDR_FORMAT
	.comm	_RADIUS_ATTR_USER_NAME,4,2      ; @RADIUS_ATTR_USER_NAME
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"Could not add User-Name"

l_.str.2:                               ; @.str.2
	.asciz	"Could not add User-Password"

	.comm	_RADIUS_802_1X_ADDR_FORMAT,4,2  ; @RADIUS_802_1X_ADDR_FORMAT
	.comm	_RADIUS_ATTR_CALLING_STATION_ID,4,2 ; @RADIUS_ATTR_CALLING_STATION_ID
l_.str.3:                               ; @.str.3
	.asciz	"Could not add Calling-Station-Id"

l_.str.4:                               ; @.str.4
	.asciz	"CONNECT 11Mbps 802.11b"

	.comm	_RADIUS_ATTR_CONNECT_INFO,4,2   ; @RADIUS_ATTR_CONNECT_INFO
l_.str.5:                               ; @.str.5
	.asciz	"Could not add Connect-Info"

	.comm	_RADIUS_AUTH,4,2                ; @RADIUS_AUTH
	.no_dead_strip	_hostapd_radius_acl_query
.subsections_via_symbols
