	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802_1x_decapsulate_radius
_ieee802_1x_decapsulate_radius:         ## @ieee802_1x_decapsulate_radius
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rsi), %r12
	testq	%r12, %r12
	je	LBB0_21
## %bb.1:
	movq	%rdi, %r14
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.3:
	movq	%rsi, %rbx
	callq	_radius_msg_get_eap
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_wpabuf_len
	cmpl	$11, %eax
	ja	LBB0_7
## %bb.6:
	movl	(%rbx), %esi
	movq	_HOSTAPD_MODULE_IEEE8021X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %r8
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_hostapd_logger
	movq	%r15, %rdi
	callq	_wpabuf_free
	jmp	LBB0_2
LBB0_4:
	movl	(%rbx), %esi
	movq	_HOSTAPD_MODULE_IEEE8021X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %r8
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_hostapd_logger
LBB0_2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r12), %rcx
	movq	%rax, 16(%rcx)
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r15, %rdi
	callq	_wpabuf_len
	movl	$-1, %r13d
	cmpl	$13, %eax
	jb	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_wpabuf_head_u8
	movl	48(%rax), %r13d
LBB0_9:
	movq	%r15, %rdi
	callq	_wpabuf_head
	movl	(%rax), %edx
	addl	$-128, %edx
	cmpl	$3, %edx
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	ja	LBB0_18
## %bb.10:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_16:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_19
LBB0_15:
	xorl	%edi, %edi
	movl	%r13d, %esi
	callq	_eap_server_get_name
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_14
LBB0_11:
	testl	%r13d, %r13d
	js	LBB0_13
## %bb.12:
	movl	%r13d, (%r12)
LBB0_13:
	xorl	%edi, %edi
	movl	%r13d, %esi
	callq	_eap_server_get_name
	leaq	L_.str.2(%rip), %rdx
LBB0_14:
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	movl	%eax, %ecx
	movl	%r13d, %r8d
	callq	_os_snprintf
	jmp	LBB0_20
LBB0_17:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_19
LBB0_18:
	leaq	L_.str.6(%rip), %rsi
LBB0_19:
	leaq	-112(%rbp), %rdi
	movl	$64, %edx
	callq	_os_strlcpy
LBB0_20:
	movb	$0, -49(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	movq	_HOSTAPD_MODULE_IEEE8021X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %ecx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movl	(%rax), %r13d
	movl	4(%rax), %edi
	callq	_be_to_host16
	movl	%eax, %ebx
	subq	$8, %rsp
	leaq	-112(%rbp), %r10
	leaq	L_.str.7(%rip), %r8
	movq	%r14, %rdi
	movl	-124(%rbp), %esi                ## 4-byte Reload
	movl	-120(%rbp), %edx                ## 4-byte Reload
	movl	-116(%rbp), %ecx                ## 4-byte Reload
	movl	%r13d, %r9d
	xorl	%eax, %eax
	pushq	%r10
	pushq	%rbx
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	callq	_hostapd_logger
	addq	$32, %rsp
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r12), %rcx
	movq	%rax, 8(%rcx)
	movq	(%rcx), %rdi
	callq	_wpabuf_free
	movq	8(%r12), %rax
	movq	%r15, (%rax)
	jmp	LBB0_21
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_11
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_HOSTAPD_MODULE_IEEE8021X,4,2   ## @HOSTAPD_MODULE_IEEE8021X
	.comm	_HOSTAPD_LEVEL_WARNING,4,2      ## @HOSTAPD_LEVEL_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not extract EAP-Message from RADIUS message"

L_.str.1:                               ## @.str.1
	.asciz	"too short EAP packet received from authentication server"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-Request-%s (%d)"

L_.str.3:                               ## @.str.3
	.asciz	"EAP Response-%s (%d)"

L_.str.4:                               ## @.str.4
	.asciz	"EAP Success"

L_.str.5:                               ## @.str.5
	.asciz	"EAP Failure"

L_.str.6:                               ## @.str.6
	.asciz	"unknown EAP code"

	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ## @HOSTAPD_LEVEL_DEBUG
L_.str.7:                               ## @.str.7
	.asciz	"decapsulated EAP packet (code=%d id=%d len=%d) from RADIUS server: %s"

	.no_dead_strip	_ieee802_1x_decapsulate_radius
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802_1x_decapsulate_radius
_ieee802_1x_decapsulate_radius:         ; @ieee802_1x_decapsulate_radius
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x25, [x1, #8]
	cbz	x25, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x0, [x25, #16]
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x1
	bl	_radius_msg_get_eap
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
	bl	_wpabuf_len
	cmp	w0, #11
	b.hi	LBB0_9
; %bb.4:
	ldr	w1, [x21]
Lloh3:
	adrp	x8, _HOSTAPD_MODULE_IEEE8021X@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HOSTAPD_MODULE_IEEE8021X@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _HOSTAPD_LEVEL_WARNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HOSTAPD_LEVEL_WARNING@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x4, l_.str.1@PAGE
Lloh10:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_hostapd_logger
	mov	x0, x20
	bl	_wpabuf_free
	b	LBB0_6
LBB0_5:
	ldr	w1, [x21]
Lloh11:
	adrp	x8, _HOSTAPD_MODULE_IEEE8021X@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HOSTAPD_MODULE_IEEE8021X@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _HOSTAPD_LEVEL_WARNING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HOSTAPD_LEVEL_WARNING@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
Lloh17:
	adrp	x4, l_.str@PAGE
Lloh18:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hostapd_logger
LBB0_6:
Lloh19:
	adrp	x8, _TRUE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	x9, [x25, #8]
	str	x8, [x9, #16]
LBB0_7:
	ldur	x8, [x29, #-72]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.8:
	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
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_9:
	mov	x0, x20
	bl	_wpabuf_len
	cmp	w0, #13
	b.lo	LBB0_11
; %bb.10:
	mov	x0, x20
	bl	_wpabuf_head_u8
	ldr	w23, [x0, #48]
	b	LBB0_12
LBB0_11:
	mov	w23, #-1
LBB0_12:
	mov	x0, x20
	bl	_wpabuf_head
	mov	x22, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_21
; %bb.13:
Lloh25:
	adrp	x9, lJTI0_0@PAGE
Lloh26:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_14
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_14:
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_22
LBB0_15:
	mov	w0, #0
	mov	x1, x23
	bl	_eap_server_get_name
	mov	x3, x0
Lloh29:
	adrp	x2, l_.str.3@PAGE
Lloh30:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_16:
	tbnz	w23, #31, LBB0_18
; %bb.17:
	str	w23, [x25]
LBB0_18:
	mov	w0, #0
	mov	x1, x23
	bl	_eap_server_get_name
	mov	x3, x0
Lloh31:
	adrp	x2, l_.str.2@PAGE
Lloh32:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_19:
	add	x0, sp, #40
	mov	w1, #64
	mov	x4, x23
	bl	_os_snprintf
	b	LBB0_23
LBB0_20:
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_22
LBB0_21:
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_22:
	add	x0, sp, #40
	mov	w2, #64
	bl	_os_strlcpy
LBB0_23:
	strb	wzr, [sp, #103]
	ldr	w21, [x21]
Lloh37:
	adrp	x8, _HOSTAPD_MODULE_IEEE8021X@GOTPAGE
Lloh38:
	ldr	x8, [x8, _HOSTAPD_MODULE_IEEE8021X@GOTPAGEOFF]
Lloh39:
	ldr	w23, [x8]
Lloh40:
	adrp	x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGE
Lloh41:
	ldr	x8, [x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGEOFF]
Lloh42:
	ldr	w24, [x8]
	ldp	w26, w0, [x22]
	ldr	w22, [x22, #8]
	bl	_be_to_host16
                                        ; kill: def $w0 killed $w0 def $x0
	add	x8, sp, #40
	stp	x0, x8, [sp, #16]
Lloh43:
	adrp	x4, l_.str.7@PAGE
Lloh44:
	add	x4, x4, l_.str.7@PAGEOFF
	stp	x26, x22, [sp]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	x3, x24
	bl	_hostapd_logger
Lloh45:
	adrp	x8, _TRUE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	ldr	x9, [x25, #8]
	str	x8, [x9, #8]
	ldr	x0, [x9]
	bl	_wpabuf_free
	ldr	x8, [x25, #8]
	str	x20, [x8]
	b	LBB0_7
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_15-LBB0_14)>>2
	.byte	(LBB0_16-LBB0_14)>>2
	.byte	(LBB0_20-LBB0_14)>>2
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_HOSTAPD_MODULE_IEEE8021X,4,2   ; @HOSTAPD_MODULE_IEEE8021X
	.comm	_HOSTAPD_LEVEL_WARNING,4,2      ; @HOSTAPD_LEVEL_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not extract EAP-Message from RADIUS message"

l_.str.1:                               ; @.str.1
	.asciz	"too short EAP packet received from authentication server"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-Request-%s (%d)"

l_.str.3:                               ; @.str.3
	.asciz	"EAP Response-%s (%d)"

l_.str.4:                               ; @.str.4
	.asciz	"EAP Success"

l_.str.5:                               ; @.str.5
	.asciz	"EAP Failure"

l_.str.6:                               ; @.str.6
	.asciz	"unknown EAP code"

	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ; @HOSTAPD_LEVEL_DEBUG
l_.str.7:                               ; @.str.7
	.asciz	"decapsulated EAP packet (code=%d id=%d len=%d) from RADIUS server: %s"

	.no_dead_strip	_ieee802_1x_decapsulate_radius
.subsections_via_symbols
