	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_eap_pwd_group              ## -- Begin function get_eap_pwd_group
	.p2align	4, 0x90
_get_eap_pwd_group:                     ## @get_eap_pwd_group
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movl	$1, %esi
	callq	_dragonfly_suitable_group
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	$8, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_crypto_ec_init
	movl	%eax, 4(%rbx)
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movl	%r14d, (%rbx)
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_4:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
LBB0_5:
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_9
LBB0_7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_os_free
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-pwd: unsuitable group %u"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-pwd: unable to create EC group"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-pwd: provisioned group %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_eap_pwd_group              ; -- Begin function get_eap_pwd_group
	.p2align	2
_get_eap_pwd_group:                     ; @get_eap_pwd_group
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	mov	w1, #1
	bl	_dragonfly_suitable_group
	cbz	w0, LBB0_4
; %bb.1:
	mov	w0, #8
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.2:
	mov	x0, x20
	bl	_crypto_ec_init
	str	w0, [x19, #4]
	cbz	w0, LBB0_5
; %bb.3:
	str	w20, [x19]
Lloh0:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	b	LBB0_7
LBB0_4:
Lloh5:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	bl	_os_free
LBB0_6:
	mov	x19, #0
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-pwd: unsuitable group %u"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-pwd: unable to create EC group"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-pwd: provisioned group %d"

.subsections_via_symbols
