	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.1:
	callq	_radius_msg_get_eap
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_wpabuf_len
	cmpl	$11, %eax
	ja	LBB0_6
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.5:
	movq	%r13, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpabuf_free                    ## TAILCALL
LBB0_2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%r14), %rdi
	callq	_wpabuf_free
	movq	$0, 8(%r14)
	jmp	LBB0_24
LBB0_6:
	movq	%r13, %rdi
	callq	_wpabuf_len
	movl	$-1, %r12d
	cmpl	$13, %eax
	jb	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	callq	_wpabuf_head_u8
	movl	48(%rax), %r12d
LBB0_8:
	movq	%r13, %rdi
	callq	_wpabuf_head
	movq	%rax, %r15
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_22
## %bb.9:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_19:
	leaq	L_.str.5(%rip), %rsi
	leaq	-112(%rbp), %rdi
	movl	$64, %edx
	callq	_os_strlcpy
	jmp	LBB0_23
LBB0_15:
	testl	%r12d, %r12d
	js	LBB0_16
## %bb.17:
	movl	%r12d, %edi
	callq	_eap_type_text
	movq	%rax, %rcx
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_14
LBB0_10:
	testl	%r12d, %r12d
	js	LBB0_11
## %bb.12:
	movl	%r12d, %edi
	callq	_eap_type_text
	movq	%rax, %rcx
	jmp	LBB0_13
LBB0_20:
	leaq	L_.str.6(%rip), %rsi
	leaq	-112(%rbp), %rdi
	movl	$64, %edx
	callq	_os_strlcpy
	cmpl	$0, 16(%r14)
	jne	LBB0_23
## %bb.21:
	xorl	%eax, %eax
	callq	_eloop_terminate
	jmp	LBB0_23
LBB0_22:
	leaq	L_.str.7(%rip), %rsi
	leaq	-112(%rbp), %rdi
	movl	$64, %edx
	callq	_os_strlcpy
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdx
	callq	_wpa_hexdump_buf
	jmp	LBB0_23
LBB0_16:
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str.3(%rip), %rcx
LBB0_13:
	leaq	L_.str.2(%rip), %rdx
LBB0_14:
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	movl	%r12d, %r8d
	callq	_os_snprintf
LBB0_23:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	8(%r15), %r12d
	movq	%r15, %rax
	movl	(%r15), %r15d
	movl	4(%rax), %edi
	callq	_ntohs
	leaq	L_.str.9(%rip), %rsi
	leaq	-112(%rbp), %r9
	movl	%ebx, %edi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%r14), %rdi
	callq	_wpabuf_free
	movq	%r13, 8(%r14)
	movq	%r13, %rdi
	callq	_wpabuf_len
                                        ## kill: def $eax killed $eax def $rax
	leal	12(%rax), %edi
	callq	_os_malloc
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	_EAPOL_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_IEEE802_1X_TYPE_EAP_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%r13, %rdi
	callq	_wpabuf_len
	movl	%eax, %edi
	callq	_htons
	movl	%eax, (%rbx)
	leaq	12(%rbx), %r15
	movq	%r13, %rdi
	callq	_wpabuf_head
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_wpabuf_len
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_os_memcpy
	movq	(%r14), %rax
	movl	(%rax), %r14d
	movl	4(%rax), %r15d
	movq	%r13, %rdi
	callq	_wpabuf_len
                                        ## kill: def $eax killed $eax def $rax
	leal	12(%rax), %ecx
	movl	%r15d, %edi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_eapol_sm_rx_eapol
	movq	%rbx, %rdi
	callq	_os_free
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_15
	.long	L0_0_set_10
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.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	"??"

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

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

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

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

L_.str.8:                               ## @.str.8
	.asciz	"Decapsulated EAP packet"

L_.str.9:                               ## @.str.9
	.asciz	"decapsulated EAP packet (code=%d id=%d len=%d) from RADIUS server: %s"

	.comm	_EAPOL_VERSION,4,2              ## @EAPOL_VERSION
	.comm	_IEEE802_1X_TYPE_EAP_PACKET,4,2 ## @IEEE802_1X_TYPE_EAP_PACKET
	.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, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x0, [x0, #24]
	cbz	x0, LBB0_25
; %bb.1:
	bl	_radius_msg_get_eap
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	bl	_wpabuf_len
	cmp	w0, #11
	b.hi	LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.4:
	mov	x0, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_wpabuf_free
LBB0_5:
Lloh11:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x19, #8]
	bl	_wpabuf_free
	str	xzr, [x19, #8]
	b	LBB0_25
LBB0_6:
	mov	x0, x20
	bl	_wpabuf_len
	cmp	w0, #13
	b.lo	LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_wpabuf_head_u8
	ldr	w22, [x0, #48]
	b	LBB0_9
LBB0_8:
	mov	w22, #-1
LBB0_9:
	mov	x0, x20
	bl	_wpabuf_head
	mov	x21, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
Lloh16:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh17:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	cmp	w8, #3
	b.hi	LBB0_18
; %bb.10:
Lloh18:
	adrp	x9, lJTI0_0@PAGE
Lloh19:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_11
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_11:
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #40
	mov	w2, #64
	bl	_os_strlcpy
	b	LBB0_24
LBB0_12:
	tbnz	w22, #31, LBB0_19
; %bb.13:
	mov	x0, x22
	bl	_eap_type_text
	mov	x3, x0
	b	LBB0_20
LBB0_14:
	tbnz	w22, #31, LBB0_21
; %bb.15:
	mov	x0, x22
	bl	_eap_type_text
	mov	x3, x0
	b	LBB0_22
LBB0_16:
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #40
	mov	w2, #64
	bl	_os_strlcpy
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_24
; %bb.17:
	bl	_eloop_terminate
	b	LBB0_24
LBB0_18:
Lloh24:
	adrp	x1, l_.str.7@PAGE
Lloh25:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x0, sp, #40
	mov	w2, #64
	bl	_os_strlcpy
	ldr	w0, [x23]
Lloh26:
	adrp	x1, l_.str.8@PAGE
Lloh27:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x20
	bl	_wpa_hexdump_buf
	b	LBB0_24
LBB0_19:
Lloh28:
	adrp	x3, l_.str.3@PAGE
Lloh29:
	add	x3, x3, l_.str.3@PAGEOFF
LBB0_20:
Lloh30:
	adrp	x2, l_.str.4@PAGE
Lloh31:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_23
LBB0_21:
Lloh32:
	adrp	x3, l_.str.3@PAGE
Lloh33:
	add	x3, x3, l_.str.3@PAGEOFF
LBB0_22:
Lloh34:
	adrp	x2, l_.str.2@PAGE
Lloh35:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_23:
	add	x0, sp, #40
	mov	w1, #64
	mov	x4, x22
	bl	_os_snprintf
LBB0_24:
	ldr	w22, [x23]
	ldp	w23, w0, [x21]
	ldr	w21, [x21, #8]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	add	x8, sp, #40
	stp	x0, x8, [sp, #16]
	stp	x23, x21, [sp]
Lloh36:
	adrp	x1, l_.str.9@PAGE
Lloh37:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x22
	bl	_wpa_printf
	ldr	x0, [x19, #8]
	bl	_wpabuf_free
	str	x20, [x19, #8]
	mov	x0, x20
	bl	_wpabuf_len
	add	w0, w0, #12
	bl	_os_malloc
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh38:
	adrp	x8, _EAPOL_VERSION@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EAPOL_VERSION@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _IEEE802_1X_TYPE_EAP_PACKET@GOTPAGE
Lloh42:
	ldr	x9, [x9, _IEEE802_1X_TYPE_EAP_PACKET@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #4]
	mov	x0, x20
	bl	_wpabuf_len
	bl	_htons
	str	w0, [x21]
	add	x22, x21, #12
	mov	x0, x20
	bl	_wpabuf_head
	mov	x23, x0
	mov	x0, x20
	bl	_wpabuf_len
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_os_memcpy
	ldr	x8, [x19]
	ldp	w22, w19, [x8]
	mov	x0, x20
	bl	_wpabuf_len
	add	w3, w0, #12
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_eapol_sm_rx_eapol
	mov	x0, x21
	bl	_os_free
LBB0_25:
	ldur	x8, [x29, #-56]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_12-LBB0_11)>>2
	.byte	(LBB0_14-LBB0_11)>>2
	.byte	(LBB0_16-LBB0_11)>>2
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.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	"??"

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

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

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

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

l_.str.8:                               ; @.str.8
	.asciz	"Decapsulated EAP packet"

l_.str.9:                               ; @.str.9
	.asciz	"decapsulated EAP packet (code=%d id=%d len=%d) from RADIUS server: %s"

	.comm	_EAPOL_VERSION,4,2              ; @EAPOL_VERSION
	.comm	_IEEE802_1X_TYPE_EAP_PACKET,4,2 ; @IEEE802_1X_TYPE_EAP_PACKET
	.no_dead_strip	_ieee802_1x_decapsulate_radius
.subsections_via_symbols
