	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_fast_init_pac_data
_eap_fast_init_pac_data:                ## @eap_fast_init_pac_data
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_os_memset
	movl	$2048, (%rbx)                   ## imm = 0x800
	movl	$2048, %edi                     ## imm = 0x800
	callq	_os_malloc
	movq	%rax, %rcx
	movq	%rax, 24(%rbx)
	movl	$-1, %eax
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$7, %edx
	callq	_os_strncmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	movq	%rax, %rcx
	movq	%rax, 32(%rbx)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.6:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_7
LBB0_2:
	addq	$7, %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_eap_get_config_blob
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	8(%rax), %rcx
	movq	%rcx, 8(%rbx)
	movslq	(%rax), %rax
	addq	%rcx, %rax
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_4:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	movq	%r14, %rdx
	callq	_wpa_printf
	movq	24(%rbx), %rdi
	callq	_os_free
	movl	$-1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"blob://"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"EAP-FAST: No PAC blob '%s' - assume no PAC entries have been provisioned"

L_.str.2:                               ## @.str.2
	.asciz	"rb"

L_.str.3:                               ## @.str.3
	.asciz	"EAP-FAST: No PAC file '%s' - assume no PAC entries have been provisioned"

	.no_dead_strip	_eap_fast_init_pac_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_fast_init_pac_data
_eap_fast_init_pac_data:                ; @eap_fast_init_pac_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	mov	w1, #0
	mov	w2, #40
	bl	_os_memset
	mov	w8, #2048
	str	w8, [x19]
	mov	w0, #2048
	bl	_os_malloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #7
	bl	_os_strncmp
	cbz	x0, LBB0_4
; %bb.2:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_fopen
	str	x0, [x19, #32]
	cbz	x0, LBB0_6
; %bb.3:
	mov	w0, #0
	b	LBB0_10
LBB0_4:
	add	x20, x20, #7
	mov	x0, x21
	mov	x1, x20
	bl	_eap_get_config_blob
	cbz	x0, LBB0_7
; %bb.5:
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x8, #8]
	ldrsw	x8, [x8]
	add	x8, x9, x8
	stp	x9, x8, [x19, #8]
	b	LBB0_10
LBB0_6:
Lloh4:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x2, x20
	bl	_wpa_printf
	ldr	x0, [x19, #24]
	bl	_os_free
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"blob://"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"EAP-FAST: No PAC blob '%s' - assume no PAC entries have been provisioned"

l_.str.2:                               ; @.str.2
	.asciz	"rb"

l_.str.3:                               ; @.str.3
	.asciz	"EAP-FAST: No PAC file '%s' - assume no PAC entries have been provisioned"

	.no_dead_strip	_eap_fast_init_pac_data
.subsections_via_symbols
