	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function osu_connect
_osu_connect:                           ## @osu_connect
	.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	$600, %rsp                      ## imm = 0x258
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rdx, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r14d, %r14d
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	cmpb	$0, (%rcx)
	cmovneq	%rcx, %r14
LBB0_2:
	movl	%r9d, -628(%rbp)                ## 4-byte Spill
	movq	(%r12), %rbx
	movq	16(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:
	movq	%r15, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	testq	%r14, %r14
	je	LBB0_49
## %bb.7:
	movq	16(%r12), %rsi
	movq	%r14, %rdi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_8
LBB0_49:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rbx
	jmp	LBB0_45
LBB0_3:
	movq	%r13, -624(%rbp)                ## 8-byte Spill
	jmp	LBB0_10
LBB0_5:
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %r15
LBB0_9:
	movq	%r13, -624(%rbp)                ## 8-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wpa_printf
LBB0_10:
	movq	%rbx, %rdi
	callq	_add_network
	movl	$-1, %ecx
	testl	%eax, %eax
	js	LBB0_47
## %bb.11:
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rcx
	callq	_set_network_quoted
	testq	%rax, %rax
	js	LBB0_46
## %bb.12:
	movq	%rbx, -616(%rbp)                ## 8-byte Spill
	movq	24(%rbp), %r15
	testq	%r14, %r14
	cmovneq	32(%rbp), %r15
	testq	%r15, %r15
	je	LBB0_26
## %bb.13:
	movq	%r15, %rdi
	callq	_os_strlen
	testq	%rax, %rax
	jle	LBB0_26
## %bb.14:
	leaq	-304(%rbp), %rdi
	movl	$255, %esi
	callq	_getcwd
	testq	%rax, %rax
	je	LBB0_46
## %bb.15:
	leaq	L_.str.4(%rip), %rdx
	leaq	-608(%rbp), %rdi
	leaq	-304(%rbp), %rcx
	movl	$300, %esi                      ## imm = 0x12C
	callq	_os_snprintf
	testq	%r14, %r14
	je	LBB0_17
## %bb.16:
	leaq	L_.str.3(%rip), %rdx
	movq	-616(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	movq	%r14, %rcx
	callq	_set_network_quoted
	testq	%rax, %rax
	js	LBB0_46
LBB0_17:
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.6(%rip), %rcx
	movq	-616(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	callq	_set_network
	testq	%rax, %rax
	js	LBB0_46
## %bb.18:
	leaq	L_.str.7(%rip), %rdx
	leaq	L_.str.6(%rip), %rcx
	movq	-616(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	callq	_set_network
	testq	%rax, %rax
	js	LBB0_46
## %bb.19:
	leaq	L_.str.8(%rip), %rdx
	leaq	L_.str.9(%rip), %rcx
	movq	-616(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	callq	_set_network
	testq	%rax, %rax
	js	LBB0_46
## %bb.20:
	leaq	L_.str.10(%rip), %rdx
	leaq	L_.str.11(%rip), %rcx
	movq	-616(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	callq	_set_network
	testq	%rax, %rax
	js	LBB0_46
## %bb.21:
	leaq	L_.str.12(%rip), %rdx
	leaq	L_.str.13(%rip), %rcx
	movq	-616(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	callq	_set_network
	testq	%rax, %rax
	js	LBB0_46
## %bb.22:
	leaq	L_.str.14(%rip), %rdx
	leaq	L_.str.15(%rip), %rcx
	movq	-616(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	callq	_set_network
	testq	%rax, %rax
	js	LBB0_46
## %bb.23:
	leaq	L_.str.16(%rip), %rdx
	movq	-616(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	movq	%r15, %rcx
	callq	_set_network_quoted
	testq	%rax, %rax
	js	LBB0_46
## %bb.24:
	leaq	L_.str.17(%rip), %rdx
	leaq	-608(%rbp), %rcx
	movq	-616(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	callq	_set_network_quoted
	testq	%rax, %rax
	js	LBB0_46
## %bb.25:
	movq	-616(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_29
LBB0_26:
	testq	%r14, %r14
	je	LBB0_28
## %bb.27:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.18(%rip), %rbx
LBB0_45:
	movq	%rbx, %rsi
	callq	_wpa_printf
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_write_summary
LBB0_46:
	movl	$-1, %ecx
LBB0_47:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_50
## %bb.48:
	movl	%ecx, %eax
	addq	$600, %rsp                      ## imm = 0x258
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	leaq	L_.str.7(%rip), %rdx
	leaq	L_.str.19(%rip), %rcx
	movq	-616(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_set_network
	testq	%rax, %rax
	js	LBB0_46
LBB0_29:
	movq	%rbx, %rdi
	callq	_open_wpa_mon
	testq	%rax, %rax
	je	LBB0_46
## %bb.30:
	movq	%rax, %r15
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.20(%rip), %r14
	movq	%r14, %rsi
	callq	_wpa_printf
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_write_summary
	leaq	L_.str.21(%rip), %rdx
	leaq	-608(%rbp), %r14
	movq	%r14, %rdi
	movl	$200, %esi
	movl	%r13d, %ecx
	callq	_snprintf
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_wpa_command
	testq	%rax, %rax
	js	LBB0_46
## %bb.31:
	leaq	L_.str.22(%rip), %rsi
	leaq	-608(%rbp), %rdx
	movq	%r15, %rdi
	movl	$200, %ecx
	callq	_get_wpa_cli_event
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_wpa_ctrl_detach
	movq	%r15, %rdi
	callq	_wpa_ctrl_close
	testl	%r14d, %r14d
	js	LBB0_32
## %bb.33:
	movl	16(%rbp), %ebx
	leaq	L_.str.27(%rip), %rsi
	movq	%r12, %rdi
	callq	_write_summary
	movq	-616(%rbp), %rdi                ## 8-byte Reload
	movl	$15, %esi
	callq	_wait_ip_addr
	testq	%rax, %rax
	movq	_MSG_INFO@GOTPCREL(%rip), %r15
	jns	LBB0_35
## %bb.34:
	movl	(%r15), %edi
	leaq	L_.str.28(%rip), %rsi
	callq	_wpa_printf
LBB0_35:
	testl	%ebx, %ebx
	je	LBB0_37
## %bb.36:
	movl	(%r15), %edi
	leaq	L_.str.29(%rip), %rbx
	movq	%rbx, %rsi
	callq	_wpa_printf
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_write_summary
	xorl	%ecx, %ecx
	jmp	LBB0_47
LBB0_32:
	movq	_MSG_INFO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.23(%rip), %rsi
	callq	_wpa_printf
	leaq	L_.str.24(%rip), %rsi
	movq	%r12, %rdi
	callq	_write_summary
	movl	(%rbx), %edi
	leaq	L_.str.25(%rip), %rsi
	callq	_wpa_printf
	leaq	L_.str.26(%rip), %rdx
	leaq	-608(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$200, %esi
	movl	%r13d, %ecx
	callq	_snprintf
	movq	-616(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_wpa_command
	jmp	LBB0_46
LBB0_37:
	movl	$1, 8(%r12)
	movl	-628(%rbp), %eax                ## 4-byte Reload
	testb	$2, %al
	jne	LBB0_38
## %bb.39:
	testb	$1, %al
	je	LBB0_42
## %bb.40:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.31(%rip), %rsi
	callq	_wpa_printf
	movq	%r12, %rdi
	movq	-624(%rbp), %rsi                ## 8-byte Reload
	callq	_cmd_oma_dm_prov
	jmp	LBB0_41
LBB0_38:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.30(%rip), %rsi
	callq	_wpa_printf
	movq	%r12, %rdi
	movq	-624(%rbp), %rsi                ## 8-byte Reload
	callq	_cmd_prov
LBB0_41:
	movl	%eax, %r14d
LBB0_42:
	movl	(%r15), %edi
	leaq	L_.str.25(%rip), %rbx
	movq	%rbx, %rsi
	callq	_wpa_printf
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_write_summary
	leaq	L_.str.26(%rip), %rdx
	leaq	-608(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$200, %esi
	movl	%r13d, %ecx
	callq	_snprintf
	movq	-616(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_wpa_command
	testl	%r14d, %r14d
	js	LBB0_46
## %bb.43:
	movl	(%r15), %edi
	leaq	L_.str.32(%rip), %rbx
	movq	%rbx, %rsi
	callq	_wpa_printf
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_write_summary
	movq	(%r12), %rdi
	leaq	L_.str.33(%rip), %rsi
	callq	_wpa_command
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jns	LBB0_47
## %bb.44:
	movl	(%r15), %edi
	leaq	L_.str.34(%rip), %rbx
	jmp	LBB0_45
LBB0_50:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enforced OSU SSID matches ANQP info"

L_.str.1:                               ## @.str.1
	.asciz	"Enforced OSU SSID matches RSN[OSEN] info"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"Enforced OSU SSID did not match"

L_.str.3:                               ## @.str.3
	.asciz	"ssid"

L_.str.4:                               ## @.str.4
	.asciz	"%s/osu-ca.pem"

L_.str.5:                               ## @.str.5
	.asciz	"proto"

L_.str.6:                               ## @.str.6
	.asciz	"OSEN"

L_.str.7:                               ## @.str.7
	.asciz	"key_mgmt"

L_.str.8:                               ## @.str.8
	.asciz	"pairwise"

L_.str.9:                               ## @.str.9
	.asciz	"CCMP"

L_.str.10:                              ## @.str.10
	.asciz	"group"

L_.str.11:                              ## @.str.11
	.asciz	"GTK_NOT_USED CCMP"

L_.str.12:                              ## @.str.12
	.asciz	"eap"

L_.str.13:                              ## @.str.13
	.asciz	"WFA-UNAUTH-TLS"

L_.str.14:                              ## @.str.14
	.asciz	"ocsp"

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

L_.str.16:                              ## @.str.16
	.asciz	"identity"

L_.str.17:                              ## @.str.17
	.asciz	"ca_cert"

L_.str.18:                              ## @.str.18
	.asciz	"No OSU_NAI set for RSN[OSEN]"

L_.str.19:                              ## @.str.19
	.asciz	"NONE"

L_.str.20:                              ## @.str.20
	.asciz	"Associate with OSU SSID"

L_.str.21:                              ## @.str.21
	.asciz	"SELECT_NETWORK %d"

L_.str.22:                              ## @.str.22
	.asciz	"CTRL-EVENT-CONNECTED"

L_.str.23:                              ## @.str.23
	.asciz	"Could not connect"

L_.str.24:                              ## @.str.24
	.asciz	"Could not connect to OSU network"

L_.str.25:                              ## @.str.25
	.asciz	"Remove OSU network connection"

L_.str.26:                              ## @.str.26
	.asciz	"REMOVE_NETWORK %d"

L_.str.27:                              ## @.str.27
	.asciz	"Waiting for IP address for subscription registration"

L_.str.28:                              ## @.str.28
	.asciz	"Could not get IP address for WLAN - try connection anyway"

L_.str.29:                              ## @.str.29
	.asciz	"No production connection used for testing purposes"

L_.str.30:                              ## @.str.30
	.asciz	"Calling cmd_prov from osu_connect"

L_.str.31:                              ## @.str.31
	.asciz	"Calling cmd_oma_dm_prov from osu_connect"

L_.str.32:                              ## @.str.32
	.asciz	"Requesting reconnection with updated configuration"

L_.str.33:                              ## @.str.33
	.asciz	"INTERWORKING_SELECT auto"

L_.str.34:                              ## @.str.34
	.asciz	"Failed to request wpa_supplicant to reconnect"

	.no_dead_strip	_osu_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function osu_connect
_osu_connect:                           ; @osu_connect
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #576
	mov	x25, x7
	mov	x24, x6
	mov	x22, x5
	mov	x21, x4
	mov	x27, x2
	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, #-88]
	cbz	x3, LBB0_2
; %bb.1:
	ldrb	w8, [x3]
	cmp	w8, #0
	csel	x26, xzr, x3, eq
	b	LBB0_3
LBB0_2:
	mov	x26, #0
LBB0_3:
	ldr	x20, [x19]
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_11
; %bb.4:
	mov	x0, x27
	bl	_os_strcmp
	cbz	x0, LBB0_8
; %bb.5:
	cbz	x26, LBB0_7
; %bb.6:
	ldr	x1, [x19, #16]
	mov	x0, x26
	bl	_os_strcmp
	cbz	x0, LBB0_9
LBB0_7:
Lloh3:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x20, l_.str.2@PAGE
Lloh7:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_28
LBB0_8:
	mov	x26, #0
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x27, x26
LBB0_10:
Lloh12:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_wpa_printf
LBB0_11:
	mov	x0, x20
	bl	_add_network
	tbnz	w0, #31, LBB0_29
; %bb.12:
	mov	x23, x0
Lloh15:
	adrp	x2, l_.str.3@PAGE
Lloh16:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	mov	x3, x27
	bl	_set_network_quoted
	tbnz	x0, #63, LBB0_29
; %bb.13:
	ldr	x8, [x29, #16]
	cmp	x26, #0
	csel	x25, x25, x8, eq
	cbz	x25, LBB0_26
; %bb.14:
	mov	x0, x25
	bl	_os_strlen
	cmp	x0, #1
	b.lt	LBB0_26
; %bb.15:
	add	x0, sp, #313
	mov	w1, #255
	bl	_getcwd
	cbz	x0, LBB0_29
; %bb.16:
Lloh17:
	adrp	x2, l_.str.4@PAGE
Lloh18:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #13
	add	x3, sp, #313
	mov	w1, #300
	bl	_os_snprintf
	cbz	x26, LBB0_18
; %bb.17:
Lloh19:
	adrp	x2, l_.str.3@PAGE
Lloh20:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	mov	x3, x26
	bl	_set_network_quoted
	tbnz	x0, #63, LBB0_29
LBB0_18:
Lloh21:
	adrp	x2, l_.str.5@PAGE
Lloh22:
	add	x2, x2, l_.str.5@PAGEOFF
Lloh23:
	adrp	x3, l_.str.6@PAGE
Lloh24:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	bl	_set_network
	tbnz	x0, #63, LBB0_29
; %bb.19:
Lloh25:
	adrp	x2, l_.str.7@PAGE
Lloh26:
	add	x2, x2, l_.str.7@PAGEOFF
Lloh27:
	adrp	x3, l_.str.6@PAGE
Lloh28:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	bl	_set_network
	tbnz	x0, #63, LBB0_29
; %bb.20:
Lloh29:
	adrp	x2, l_.str.8@PAGE
Lloh30:
	add	x2, x2, l_.str.8@PAGEOFF
Lloh31:
	adrp	x3, l_.str.9@PAGE
Lloh32:
	add	x3, x3, l_.str.9@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	bl	_set_network
	tbnz	x0, #63, LBB0_29
; %bb.21:
Lloh33:
	adrp	x2, l_.str.10@PAGE
Lloh34:
	add	x2, x2, l_.str.10@PAGEOFF
Lloh35:
	adrp	x3, l_.str.11@PAGE
Lloh36:
	add	x3, x3, l_.str.11@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	bl	_set_network
	tbnz	x0, #63, LBB0_29
; %bb.22:
Lloh37:
	adrp	x2, l_.str.12@PAGE
Lloh38:
	add	x2, x2, l_.str.12@PAGEOFF
Lloh39:
	adrp	x3, l_.str.13@PAGE
Lloh40:
	add	x3, x3, l_.str.13@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	bl	_set_network
	tbnz	x0, #63, LBB0_29
; %bb.23:
Lloh41:
	adrp	x2, l_.str.14@PAGE
Lloh42:
	add	x2, x2, l_.str.14@PAGEOFF
Lloh43:
	adrp	x3, l_.str.15@PAGE
Lloh44:
	add	x3, x3, l_.str.15@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	bl	_set_network
	tbnz	x0, #63, LBB0_29
; %bb.24:
Lloh45:
	adrp	x2, l_.str.16@PAGE
Lloh46:
	add	x2, x2, l_.str.16@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	mov	x3, x25
	bl	_set_network_quoted
	tbnz	x0, #63, LBB0_29
; %bb.25:
Lloh47:
	adrp	x2, l_.str.17@PAGE
Lloh48:
	add	x2, x2, l_.str.17@PAGEOFF
	add	x3, sp, #13
	mov	x0, x20
	mov	x1, x23
	bl	_set_network_quoted
	tbz	x0, #63, LBB0_33
	b	LBB0_29
LBB0_26:
	cbz	x26, LBB0_32
; %bb.27:
Lloh49:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
Lloh52:
	adrp	x20, l_.str.18@PAGE
Lloh53:
	add	x20, x20, l_.str.18@PAGEOFF
LBB0_28:
	mov	x1, x20
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x20
	bl	_write_summary
LBB0_29:
	mov	w0, #-1
LBB0_30:
	ldur	x8, [x29, #-88]
Lloh54:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh55:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_50
; %bb.31:
	add	sp, sp, #576
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_32:
Lloh57:
	adrp	x2, l_.str.7@PAGE
Lloh58:
	add	x2, x2, l_.str.7@PAGEOFF
Lloh59:
	adrp	x3, l_.str.19@PAGE
Lloh60:
	add	x3, x3, l_.str.19@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	bl	_set_network
	tbnz	x0, #63, LBB0_29
LBB0_33:
	mov	x0, x20
	bl	_open_wpa_mon
	cbz	x0, LBB0_29
; %bb.34:
	mov	x26, x0
Lloh61:
	adrp	x27, _MSG_INFO@GOTPAGE
Lloh62:
	ldr	x27, [x27, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh63:
	adrp	x25, l_.str.20@PAGE
Lloh64:
	add	x25, x25, l_.str.20@PAGEOFF
	mov	x1, x25
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x25
	bl	_write_summary
Lloh65:
	adrp	x2, l_.str.21@PAGE
Lloh66:
	add	x2, x2, l_.str.21@PAGEOFF
	add	x0, sp, #13
	mov	w1, #200
	mov	x3, x23
	bl	_snprintf
	add	x1, sp, #13
	mov	x0, x20
	bl	_wpa_command
	tbnz	x0, #63, LBB0_29
; %bb.35:
Lloh67:
	adrp	x1, l_.str.22@PAGE
Lloh68:
	add	x1, x1, l_.str.22@PAGEOFF
	add	x2, sp, #13
	mov	x0, x26
	mov	w3, #200
	bl	_get_wpa_cli_event
	mov	x25, x0
	mov	x0, x26
	bl	_wpa_ctrl_detach
	mov	x0, x26
	bl	_wpa_ctrl_close
	tbnz	w25, #31, LBB0_40
; %bb.36:
Lloh69:
	adrp	x1, l_.str.27@PAGE
Lloh70:
	add	x1, x1, l_.str.27@PAGEOFF
	mov	x0, x19
	bl	_write_summary
	mov	x0, x20
	mov	w1, #15
	bl	_wait_ip_addr
	tbz	x0, #63, LBB0_38
; %bb.37:
	ldr	w0, [x27]
Lloh71:
	adrp	x1, l_.str.28@PAGE
Lloh72:
	add	x1, x1, l_.str.28@PAGEOFF
	bl	_wpa_printf
LBB0_38:
	cbz	w24, LBB0_41
; %bb.39:
	ldr	w0, [x27]
Lloh73:
	adrp	x20, l_.str.29@PAGE
Lloh74:
	add	x20, x20, l_.str.29@PAGEOFF
	mov	x1, x20
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x20
	bl	_write_summary
	mov	w0, #0
	b	LBB0_30
LBB0_40:
	ldr	w0, [x27]
Lloh75:
	adrp	x1, l_.str.23@PAGE
Lloh76:
	add	x1, x1, l_.str.23@PAGEOFF
	bl	_wpa_printf
Lloh77:
	adrp	x1, l_.str.24@PAGE
Lloh78:
	add	x1, x1, l_.str.24@PAGEOFF
	mov	x0, x19
	bl	_write_summary
	ldr	w0, [x27]
Lloh79:
	adrp	x1, l_.str.25@PAGE
Lloh80:
	add	x1, x1, l_.str.25@PAGEOFF
	bl	_wpa_printf
Lloh81:
	adrp	x2, l_.str.26@PAGE
Lloh82:
	add	x2, x2, l_.str.26@PAGEOFF
	add	x0, sp, #13
	mov	w1, #200
	mov	x3, x23
	bl	_snprintf
	add	x1, sp, #13
	mov	x0, x20
	bl	_wpa_command
	b	LBB0_29
LBB0_41:
	mov	w8, #1
	str	w8, [x19, #8]
	tbnz	w22, #1, LBB0_44
; %bb.42:
	tbz	w22, #0, LBB0_46
; %bb.43:
Lloh83:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh84:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
Lloh86:
	adrp	x1, l_.str.31@PAGE
Lloh87:
	add	x1, x1, l_.str.31@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x21
	bl	_cmd_oma_dm_prov
	b	LBB0_45
LBB0_44:
Lloh88:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh89:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh90:
	ldr	w0, [x8]
Lloh91:
	adrp	x1, l_.str.30@PAGE
Lloh92:
	add	x1, x1, l_.str.30@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x21
	bl	_cmd_prov
LBB0_45:
	mov	x25, x0
LBB0_46:
	ldr	w0, [x27]
Lloh93:
	adrp	x21, l_.str.25@PAGE
Lloh94:
	add	x21, x21, l_.str.25@PAGEOFF
	mov	x1, x21
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x21
	bl	_write_summary
Lloh95:
	adrp	x2, l_.str.26@PAGE
Lloh96:
	add	x2, x2, l_.str.26@PAGEOFF
	add	x0, sp, #13
	mov	w1, #200
	mov	x3, x23
	bl	_snprintf
	add	x1, sp, #13
	mov	x0, x20
	bl	_wpa_command
	tbnz	w25, #31, LBB0_29
; %bb.47:
	ldr	w0, [x27]
Lloh97:
	adrp	x20, l_.str.32@PAGE
Lloh98:
	add	x20, x20, l_.str.32@PAGEOFF
	mov	x1, x20
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x20
	bl	_write_summary
	ldr	x0, [x19]
Lloh99:
	adrp	x1, l_.str.33@PAGE
Lloh100:
	add	x1, x1, l_.str.33@PAGEOFF
	bl	_wpa_command
	tbnz	x0, #63, LBB0_49
; %bb.48:
	mov	w0, #0
	b	LBB0_30
LBB0_49:
	ldr	w0, [x27]
Lloh101:
	adrp	x20, l_.str.34@PAGE
Lloh102:
	add	x20, x20, l_.str.34@PAGEOFF
	b	LBB0_28
LBB0_50:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpAdd	Lloh101, Lloh102
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enforced OSU SSID matches ANQP info"

l_.str.1:                               ; @.str.1
	.asciz	"Enforced OSU SSID matches RSN[OSEN] info"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"Enforced OSU SSID did not match"

l_.str.3:                               ; @.str.3
	.asciz	"ssid"

l_.str.4:                               ; @.str.4
	.asciz	"%s/osu-ca.pem"

l_.str.5:                               ; @.str.5
	.asciz	"proto"

l_.str.6:                               ; @.str.6
	.asciz	"OSEN"

l_.str.7:                               ; @.str.7
	.asciz	"key_mgmt"

l_.str.8:                               ; @.str.8
	.asciz	"pairwise"

l_.str.9:                               ; @.str.9
	.asciz	"CCMP"

l_.str.10:                              ; @.str.10
	.asciz	"group"

l_.str.11:                              ; @.str.11
	.asciz	"GTK_NOT_USED CCMP"

l_.str.12:                              ; @.str.12
	.asciz	"eap"

l_.str.13:                              ; @.str.13
	.asciz	"WFA-UNAUTH-TLS"

l_.str.14:                              ; @.str.14
	.asciz	"ocsp"

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

l_.str.16:                              ; @.str.16
	.asciz	"identity"

l_.str.17:                              ; @.str.17
	.asciz	"ca_cert"

l_.str.18:                              ; @.str.18
	.asciz	"No OSU_NAI set for RSN[OSEN]"

l_.str.19:                              ; @.str.19
	.asciz	"NONE"

l_.str.20:                              ; @.str.20
	.asciz	"Associate with OSU SSID"

l_.str.21:                              ; @.str.21
	.asciz	"SELECT_NETWORK %d"

l_.str.22:                              ; @.str.22
	.asciz	"CTRL-EVENT-CONNECTED"

l_.str.23:                              ; @.str.23
	.asciz	"Could not connect"

l_.str.24:                              ; @.str.24
	.asciz	"Could not connect to OSU network"

l_.str.25:                              ; @.str.25
	.asciz	"Remove OSU network connection"

l_.str.26:                              ; @.str.26
	.asciz	"REMOVE_NETWORK %d"

l_.str.27:                              ; @.str.27
	.asciz	"Waiting for IP address for subscription registration"

l_.str.28:                              ; @.str.28
	.asciz	"Could not get IP address for WLAN - try connection anyway"

l_.str.29:                              ; @.str.29
	.asciz	"No production connection used for testing purposes"

l_.str.30:                              ; @.str.30
	.asciz	"Calling cmd_prov from osu_connect"

l_.str.31:                              ; @.str.31
	.asciz	"Calling cmd_oma_dm_prov from osu_connect"

l_.str.32:                              ; @.str.32
	.asciz	"Requesting reconnection with updated configuration"

l_.str.33:                              ; @.str.33
	.asciz	"INTERWORKING_SELECT auto"

l_.str.34:                              ; @.str.34
	.asciz	"Failed to request wpa_supplicant to reconnect"

	.no_dead_strip	_osu_connect
.subsections_via_symbols
