	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802_1x_get_keys
_ieee802_1x_get_keys:                   ## @ieee802_1x_get_keys
	.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	(%rsi), %r12
	testq	%r12, %r12
	je	LBB0_14
## %bb.1:
	movq	%rdx, %r14
	movq	%rdx, %rdi
	movq	%rcx, %rsi
	movq	%r8, %rdx
	movq	%r9, %rcx
	callq	_radius_msg_get_ms_keys
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %rbx
	movq	16(%rax), %r8
	movq	24(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:
	testq	%r8, %r8
	je	LBB0_4
## %bb.6:
	movq	8(%rbx), %r15
	addq	(%rbx), %r15
	movq	%r15, -48(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	(%rbx), %rax
	leaq	L_.str(%rip), %rsi
	movq	%rcx, %rdx
	movq	%rax, %rcx
	callq	_wpa_hexdump_key
	movl	(%r13), %edi
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_hexdump_key
	movq	(%r12), %rax
	movq	32(%rax), %rdi
	callq	_os_free
	movq	%r15, %rdi
	callq	_os_malloc
	movq	(%r12), %rcx
	movq	%rax, 32(%rcx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	movq	%rax, %rdi
	callq	_os_memcpy
	movq	(%r12), %rax
	movq	(%rbx), %rdx
	movq	8(%rbx), %rdi
	shlq	$5, %rdi
	addq	32(%rax), %rdi
	movq	24(%rbx), %rsi
	callq	_os_memcpy
	movq	(%r12), %rax
	movq	%r15, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	jmp	LBB0_8
LBB0_9:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wpa_printf
	jmp	LBB0_10
LBB0_4:
	xorl	%r8d, %r8d
LBB0_5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_printf
LBB0_8:
	movq	24(%rbx), %rdi
	callq	_os_free
	movq	16(%rbx), %rdi
	callq	_os_free
	movq	%rbx, %rdi
	callq	_os_free
LBB0_10:
	movq	_RADIUS_ATTR_EAP_KEY_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	_radius_msg_get_attr_ptr
	movq	(%r12), %rcx
	testq	%rax, %rax
	je	LBB0_11
## %bb.13:
	movq	$0, 8(%rcx)
	jmp	LBB0_14
LBB0_11:
	movq	16(%rcx), %rdi
	callq	_os_free
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	callq	_os_memdup
	movq	(%r12), %rdx
	movq	%rax, 16(%rdx)
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	-48(%rbp), %rcx
	movq	%rcx, 8(%rdx)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MS-MPPE-Send-Key"

L_.str.1:                               ## @.str.1
	.asciz	"MS-MPPE-Recv-Key"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.2:                               ## @.str.2
	.asciz	"MS-MPPE: 1x_get_keys, could not get keys: %p  send: %p  recv: %p"

	.comm	_RADIUS_ATTR_EAP_KEY_NAME,4,2   ## @RADIUS_ATTR_EAP_KEY_NAME
L_.str.3:                               ## @.str.3
	.asciz	"EAP-Key Name"

	.no_dead_strip	_ieee802_1x_get_keys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802_1x_get_keys
_ieee802_1x_get_keys:                   ; @ieee802_1x_get_keys
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x22, [x1]
	cbz	x22, LBB0_13
; %bb.1:
	mov	x19, x2
	mov	x0, x2
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	bl	_radius_msg_get_ms_keys
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	ldp	x4, x3, [x0, #16]
	cbz	x3, LBB0_7
; %bb.3:
	cbz	x4, LBB0_7
; %bb.4:
	ldp	x8, x9, [x20]
	add	x21, x9, x8
	str	x21, [sp]
Lloh0:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	x8, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x3
	mov	x3, x8
	bl	_wpa_hexdump_key
	ldr	w0, [x23]
	ldp	x3, x2, [x20, #8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_hexdump_key
	ldr	x8, [x22]
	ldr	x0, [x8, #32]
	bl	_os_free
	mov	x0, x21
	bl	_os_malloc
	ldr	x8, [x22]
	str	x0, [x8, #32]
	cbz	x0, LBB0_8
; %bb.5:
	ldp	x2, x1, [x20, #8]
	bl	_os_memcpy
	ldr	x8, [x22]
	ldr	x8, [x8, #32]
	ldp	x2, x9, [x20]
	add	x0, x8, x9, lsl #5
	ldr	x1, [x20, #24]
	bl	_os_memcpy
	ldr	x8, [x22]
	str	x21, [x8]
Lloh6:
	adrp	x9, _TRUE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [x8, #24]
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_wpa_printf
	b	LBB0_9
LBB0_7:
Lloh14:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_wpa_printf
LBB0_8:
	ldr	x0, [x20, #24]
	bl	_os_free
	ldr	x0, [x20, #16]
	bl	_os_free
	mov	x0, x20
	bl	_os_free
LBB0_9:
Lloh19:
	adrp	x8, _RADIUS_ATTR_EAP_KEY_NAME@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RADIUS_ATTR_EAP_KEY_NAME@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x19
	mov	x4, #0
	bl	_radius_msg_get_attr_ptr
	ldr	x8, [x22]
	cbz	x0, LBB0_11
; %bb.10:
	str	xzr, [x8, #8]
	b	LBB0_13
LBB0_11:
	ldr	x0, [x8, #16]
	bl	_os_free
	ldp	x1, x0, [sp]
	bl	_os_memdup
	ldr	x8, [x22]
	str	x0, [x8, #16]
	cbz	x0, LBB0_13
; %bb.12:
	mov	x2, x0
	ldr	x3, [sp]
	str	x3, [x8, #8]
Lloh22:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_hexdump
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MS-MPPE-Send-Key"

l_.str.1:                               ; @.str.1
	.asciz	"MS-MPPE-Recv-Key"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.2:                               ; @.str.2
	.asciz	"MS-MPPE: 1x_get_keys, could not get keys: %p  send: %p  recv: %p"

	.comm	_RADIUS_ATTR_EAP_KEY_NAME,4,2   ; @RADIUS_ATTR_EAP_KEY_NAME
l_.str.3:                               ; @.str.3
	.asciz	"EAP-Key Name"

	.no_dead_strip	_ieee802_1x_get_keys
.subsections_via_symbols
