	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_init_wpa        ## -- Begin function wpa_supplicant_init_wpa
	.p2align	4, 0x90
_wpa_supplicant_init_wpa:               ## @wpa_supplicant_init_wpa
	.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
	movq	%rdi, %r14
	movl	$128, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 120(%rax)
	movq	%r14, 112(%rax)
	movq	__wpa_supplicant_set_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 108(%rbx)
	movq	__wpa_supplicant_get_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%rbx)
	movq	__wpa_supplicant_deauthenticate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%rbx)
	movq	_wpa_supplicant_set_key@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rbx)
	movq	_wpa_supplicant_get_network_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%rbx)
	movq	_wpa_supplicant_get_bssid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	__wpa_ether_send@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%rbx)
	movq	_wpa_supplicant_get_beacon_ie@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	movq	__wpa_alloc_eapol@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%rbx)
	movq	__wpa_supplicant_cancel_auth_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	_wpa_supplicant_add_pmkid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movq	_wpa_supplicant_remove_pmkid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	_wpa_supplicant_set_config_blob@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_wpa_supplicant_get_config_blob@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_wpa_supplicant_mlme_setprotection@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_wpa_supplicant_set_rekey_offload@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_wpa_supplicant_key_mgmt_set_pmk@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_wpa_supplicant_fils_hlp_rx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_wpa_supplicant_channel_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_wpa_sm_init
	movq	%rax, %rcx
	movq	%rax, (%r14)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.3:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_os_free
	jmp	LBB0_4
LBB0_1:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
LBB0_4:
	movl	$-1, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate WPA context."

	.comm	__wpa_supplicant_set_state,4,2  ## @_wpa_supplicant_set_state
	.comm	__wpa_supplicant_get_state,4,2  ## @_wpa_supplicant_get_state
	.comm	__wpa_supplicant_deauthenticate,4,2 ## @_wpa_supplicant_deauthenticate
	.comm	_wpa_supplicant_set_key,4,2     ## @wpa_supplicant_set_key
	.comm	_wpa_supplicant_get_network_ctx,4,2 ## @wpa_supplicant_get_network_ctx
	.comm	_wpa_supplicant_get_bssid,4,2   ## @wpa_supplicant_get_bssid
	.comm	__wpa_ether_send,4,2            ## @_wpa_ether_send
	.comm	_wpa_supplicant_get_beacon_ie,4,2 ## @wpa_supplicant_get_beacon_ie
	.comm	__wpa_alloc_eapol,4,2           ## @_wpa_alloc_eapol
	.comm	__wpa_supplicant_cancel_auth_timeout,4,2 ## @_wpa_supplicant_cancel_auth_timeout
	.comm	_wpa_supplicant_add_pmkid,4,2   ## @wpa_supplicant_add_pmkid
	.comm	_wpa_supplicant_remove_pmkid,4,2 ## @wpa_supplicant_remove_pmkid
	.comm	_wpa_supplicant_set_config_blob,4,2 ## @wpa_supplicant_set_config_blob
	.comm	_wpa_supplicant_get_config_blob,4,2 ## @wpa_supplicant_get_config_blob
	.comm	_wpa_supplicant_mlme_setprotection,4,2 ## @wpa_supplicant_mlme_setprotection
	.comm	_wpa_supplicant_set_rekey_offload,4,2 ## @wpa_supplicant_set_rekey_offload
	.comm	_wpa_supplicant_key_mgmt_set_pmk,4,2 ## @wpa_supplicant_key_mgmt_set_pmk
	.comm	_wpa_supplicant_fils_hlp_rx,4,2 ## @wpa_supplicant_fils_hlp_rx
	.comm	_wpa_supplicant_channel_info,4,2 ## @wpa_supplicant_channel_info
L_.str.1:                               ## @.str.1
	.asciz	"Failed to initialize WPA state machine"

	.comm	_wpa_supplicant_mark_authenticated,4,2 ## @wpa_supplicant_mark_authenticated
	.comm	_wpa_supplicant_send_ft_action,4,2 ## @wpa_supplicant_send_ft_action
	.comm	_wpa_supplicant_send_tdls_mgmt,4,2 ## @wpa_supplicant_send_tdls_mgmt
	.comm	_wpa_supplicant_tdls_disable_channel_switch,4,2 ## @wpa_supplicant_tdls_disable_channel_switch
	.comm	_wpa_supplicant_tdls_enable_channel_switch,4,2 ## @wpa_supplicant_tdls_enable_channel_switch
	.comm	_wpa_supplicant_tdls_get_capa,4,2 ## @wpa_supplicant_tdls_get_capa
	.comm	_wpa_supplicant_tdls_oper,4,2   ## @wpa_supplicant_tdls_oper
	.comm	_wpa_supplicant_tdls_peer_addset,4,2 ## @wpa_supplicant_tdls_peer_addset
	.comm	_wpa_supplicant_update_ft_ies,4,2 ## @wpa_supplicant_update_ft_ies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_init_wpa        ; -- Begin function wpa_supplicant_init_wpa
	.p2align	2
_wpa_supplicant_init_wpa:               ; @wpa_supplicant_init_wpa
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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	w0, #128
	bl	_os_zalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	stp	x20, x20, [x0, #112]
Lloh0:
	adrp	x8, __wpa_supplicant_set_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, __wpa_supplicant_set_state@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #108]
Lloh3:
	adrp	x8, __wpa_supplicant_get_state@GOTPAGE
Lloh4:
	ldr	x8, [x8, __wpa_supplicant_get_state@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, __wpa_supplicant_deauthenticate@GOTPAGE
Lloh7:
	ldr	x9, [x9, __wpa_supplicant_deauthenticate@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #100]
Lloh9:
	adrp	x8, _wpa_supplicant_set_key@GOTPAGE
Lloh10:
	ldr	x8, [x8, _wpa_supplicant_set_key@GOTPAGEOFF]
Lloh11:
	adrp	x9, _wpa_supplicant_get_network_ctx@GOTPAGE
Lloh12:
	ldr	x9, [x9, _wpa_supplicant_get_network_ctx@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #92]
Lloh15:
	adrp	x8, _wpa_supplicant_get_bssid@GOTPAGE
Lloh16:
	ldr	x8, [x8, _wpa_supplicant_get_bssid@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, __wpa_ether_send@GOTPAGE
Lloh19:
	ldr	x9, [x9, __wpa_ether_send@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #84]
Lloh21:
	adrp	x8, _wpa_supplicant_get_beacon_ie@GOTPAGE
Lloh22:
	ldr	x8, [x8, _wpa_supplicant_get_beacon_ie@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, __wpa_alloc_eapol@GOTPAGE
Lloh25:
	ldr	x9, [x9, __wpa_alloc_eapol@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #76]
Lloh27:
	adrp	x8, __wpa_supplicant_cancel_auth_timeout@GOTPAGE
Lloh28:
	ldr	x8, [x8, __wpa_supplicant_cancel_auth_timeout@GOTPAGEOFF]
Lloh29:
	adrp	x9, _wpa_supplicant_add_pmkid@GOTPAGE
Lloh30:
	ldr	x9, [x9, _wpa_supplicant_add_pmkid@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #68]
Lloh33:
	adrp	x8, _wpa_supplicant_remove_pmkid@GOTPAGE
Lloh34:
	ldr	x8, [x8, _wpa_supplicant_remove_pmkid@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _wpa_supplicant_set_config_blob@GOTPAGE
Lloh37:
	ldr	x9, [x9, _wpa_supplicant_set_config_blob@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #60]
Lloh39:
	adrp	x8, _wpa_supplicant_get_config_blob@GOTPAGE
Lloh40:
	ldr	x8, [x8, _wpa_supplicant_get_config_blob@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _wpa_supplicant_mlme_setprotection@GOTPAGE
Lloh43:
	ldr	x9, [x9, _wpa_supplicant_mlme_setprotection@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #52]
Lloh45:
	adrp	x8, _wpa_supplicant_set_rekey_offload@GOTPAGE
Lloh46:
	ldr	x8, [x8, _wpa_supplicant_set_rekey_offload@GOTPAGEOFF]
Lloh47:
	adrp	x9, _wpa_supplicant_key_mgmt_set_pmk@GOTPAGE
Lloh48:
	ldr	x9, [x9, _wpa_supplicant_key_mgmt_set_pmk@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
Lloh50:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
Lloh51:
	adrp	x8, _wpa_supplicant_fils_hlp_rx@GOTPAGE
Lloh52:
	ldr	x8, [x8, _wpa_supplicant_fils_hlp_rx@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _wpa_supplicant_channel_info@GOTPAGE
Lloh55:
	ldr	x9, [x9, _wpa_supplicant_channel_info@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
	bl	_wpa_sm_init
	str	x0, [x20]
	cbz	x0, LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh57:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh58:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
Lloh60:
	adrp	x1, l_.str@PAGE
Lloh61:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	b	LBB0_5
LBB0_4:
Lloh62:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh63:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
Lloh65:
	adrp	x1, l_.str.1@PAGE
Lloh66:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	bl	_os_free
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh49
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate WPA context."

	.comm	__wpa_supplicant_set_state,4,2  ; @_wpa_supplicant_set_state
	.comm	__wpa_supplicant_get_state,4,2  ; @_wpa_supplicant_get_state
	.comm	__wpa_supplicant_deauthenticate,4,2 ; @_wpa_supplicant_deauthenticate
	.comm	_wpa_supplicant_set_key,4,2     ; @wpa_supplicant_set_key
	.comm	_wpa_supplicant_get_network_ctx,4,2 ; @wpa_supplicant_get_network_ctx
	.comm	_wpa_supplicant_get_bssid,4,2   ; @wpa_supplicant_get_bssid
	.comm	__wpa_ether_send,4,2            ; @_wpa_ether_send
	.comm	_wpa_supplicant_get_beacon_ie,4,2 ; @wpa_supplicant_get_beacon_ie
	.comm	__wpa_alloc_eapol,4,2           ; @_wpa_alloc_eapol
	.comm	__wpa_supplicant_cancel_auth_timeout,4,2 ; @_wpa_supplicant_cancel_auth_timeout
	.comm	_wpa_supplicant_add_pmkid,4,2   ; @wpa_supplicant_add_pmkid
	.comm	_wpa_supplicant_remove_pmkid,4,2 ; @wpa_supplicant_remove_pmkid
	.comm	_wpa_supplicant_set_config_blob,4,2 ; @wpa_supplicant_set_config_blob
	.comm	_wpa_supplicant_get_config_blob,4,2 ; @wpa_supplicant_get_config_blob
	.comm	_wpa_supplicant_mlme_setprotection,4,2 ; @wpa_supplicant_mlme_setprotection
	.comm	_wpa_supplicant_set_rekey_offload,4,2 ; @wpa_supplicant_set_rekey_offload
	.comm	_wpa_supplicant_key_mgmt_set_pmk,4,2 ; @wpa_supplicant_key_mgmt_set_pmk
	.comm	_wpa_supplicant_fils_hlp_rx,4,2 ; @wpa_supplicant_fils_hlp_rx
	.comm	_wpa_supplicant_channel_info,4,2 ; @wpa_supplicant_channel_info
l_.str.1:                               ; @.str.1
	.asciz	"Failed to initialize WPA state machine"

	.comm	_wpa_supplicant_mark_authenticated,4,2 ; @wpa_supplicant_mark_authenticated
	.comm	_wpa_supplicant_send_ft_action,4,2 ; @wpa_supplicant_send_ft_action
	.comm	_wpa_supplicant_send_tdls_mgmt,4,2 ; @wpa_supplicant_send_tdls_mgmt
	.comm	_wpa_supplicant_tdls_disable_channel_switch,4,2 ; @wpa_supplicant_tdls_disable_channel_switch
	.comm	_wpa_supplicant_tdls_enable_channel_switch,4,2 ; @wpa_supplicant_tdls_enable_channel_switch
	.comm	_wpa_supplicant_tdls_get_capa,4,2 ; @wpa_supplicant_tdls_get_capa
	.comm	_wpa_supplicant_tdls_oper,4,2   ; @wpa_supplicant_tdls_oper
	.comm	_wpa_supplicant_tdls_peer_addset,4,2 ; @wpa_supplicant_tdls_peer_addset
	.comm	_wpa_supplicant_update_ft_ies,4,2 ; @wpa_supplicant_update_ft_ies
.subsections_via_symbols
