	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802_1x_update_sta_identity
_ieee802_1x_update_sta_identity:        ## @ieee802_1x_update_sta_identity
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rsi), %r12
	testq	%r12, %r12
	je	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_RADIUS_ATTR_USER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rax
	leaq	-40(%rbp), %rcx
	movq	%rdx, %rdi
	movq	%rax, %rdx
	xorl	%r8d, %r8d
	callq	_radius_msg_get_attr_ptr
	testq	%rax, %rax
	js	LBB0_4
## %bb.2:
	movq	-48(%rbp), %rdi
	movq	-40(%rbp), %rsi
	callq	_dup_binstr
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r15
	movl	(%rbx), %esi
	movq	_HOSTAPD_MODULE_IEEE8021X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	8(%r12), %rax
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %r9
	cmovneq	%rax, %r9
	movq	%r15, (%rsp)
	leaq	L_.str(%rip), %r8
	movq	%r14, %rdi
	callq	_hostapd_logger
	movq	8(%r12), %rdi
	callq	_os_free
	movq	%r15, 8(%r12)
	movq	-40(%rbp), %rax
	movq	%rax, (%r12)
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIUS_ATTR_USER_NAME,4,2      ## @RADIUS_ATTR_USER_NAME
	.comm	_HOSTAPD_MODULE_IEEE8021X,4,2   ## @HOSTAPD_MODULE_IEEE8021X
	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ## @HOSTAPD_LEVEL_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"old identity '%s' updated with User-Name from Access-Accept '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"N/A"

	.no_dead_strip	_ieee802_1x_update_sta_identity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802_1x_update_sta_identity
_ieee802_1x_update_sta_identity:        ; @ieee802_1x_update_sta_identity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x22, [x1, #8]
	cbz	x22, LBB0_4
; %bb.1:
	mov	x8, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x9, _RADIUS_ATTR_USER_NAME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RADIUS_ATTR_USER_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x8
	mov	x4, #0
	bl	_radius_msg_get_attr_ptr
	tbnz	x0, #63, LBB0_4
; %bb.2:
	ldp	x1, x0, [sp]
	bl	_dup_binstr
	cbz	x0, LBB0_4
; %bb.3:
	mov	x21, x0
	ldr	w1, [x20]
Lloh3:
	adrp	x8, _HOSTAPD_MODULE_IEEE8021X@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HOSTAPD_MODULE_IEEE8021X@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	ldr	x8, [x22, #8]
Lloh9:
	adrp	x9, l_.str.1@PAGE
Lloh10:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x5, x9, x8, eq
Lloh11:
	adrp	x4, l_.str@PAGE
Lloh12:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x19
	mov	x6, x21
	bl	_hostapd_logger
	ldr	x0, [x22, #8]
	bl	_os_free
	ldr	x8, [sp]
	stp	x8, x21, [x22]
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIUS_ATTR_USER_NAME,4,2      ; @RADIUS_ATTR_USER_NAME
	.comm	_HOSTAPD_MODULE_IEEE8021X,4,2   ; @HOSTAPD_MODULE_IEEE8021X
	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ; @HOSTAPD_LEVEL_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"old identity '%s' updated with User-Name from Access-Accept '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"N/A"

	.no_dead_strip	_ieee802_1x_update_sta_identity
.subsections_via_symbols
