	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_get_ssid        ## -- Begin function wpa_supplicant_get_ssid
	.p2align	4, 0x90
_wpa_supplicant_get_ssid:               ## @wpa_supplicant_get_ssid
	.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	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SSID_MAX_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_wpa_drv_get_ssid
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	movl	%eax, %r12d
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_wpa_drv_get_bssid
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	movq	8(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdx
LBB0_2:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_wpa_msg
LBB0_22:
	xorl	%ebx, %ebx
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_WPA_DRIVER_FLAGS_WIRED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r13)
	setne	%cl
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
LBB0_8:
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.9:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r14d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_22
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_wpas_network_disabled
	testl	%eax, %eax
	jne	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%r14, (%rbx)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	40(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	sete	%al
	orb	-52(%rbp), %al                  ## 1-byte Folded Reload
	jne	LBB0_15
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpb	$0, -52(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$0, 32(%rbx)
	je	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	24(%rbx), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_23
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_wpas_network_disabled
	testl	%eax, %eax
	jne	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$0, 32(%rbx)
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$0, (%rbx)
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	24(%rbx), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_21
	jmp	LBB0_23
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SSID_MAX_LEN,4,2               ## @SSID_MAX_LEN
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not read SSID from driver"

L_.str.1:                               ## @.str.1
	.asciz	"Could not read BSSID from driver"

	.comm	_WPA_DRIVER_FLAGS_WIRED,4,2     ## @WPA_DRIVER_FLAGS_WIRED
	.comm	_WPA_KEY_MGMT_WPS,4,2           ## @WPA_KEY_MGMT_WPS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_get_ssid        ; -- Begin function wpa_supplicant_get_ssid
	.p2align	2
_wpa_supplicant_get_ssid:               ; @wpa_supplicant_get_ssid
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	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, #-72]
Lloh3:
	adrp	x8, _SSID_MAX_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSID_MAX_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh8:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh9:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	x1, x20
	bl	_wpa_drv_get_ssid
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x21
	bl	_wpa_drv_get_bssid
	tbnz	x0, #63, LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
	cbz	x9, LBB0_9
; %bb.3:
	mov	w25, #0
	ldr	x23, [x8, #8]
	cbnz	x23, LBB0_10
	b	LBB0_7
LBB0_4:
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_6:
Lloh16:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpa_msg
	mov	x23, #0
LBB0_7:
	ldur	x8, [x29, #-72]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.8:
	mov	x0, x23
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	w9, [x19]
Lloh22:
	adrp	x10, _WPA_DRIVER_FLAGS_WIRED@GOTPAGE
Lloh23:
	ldr	x10, [x10, _WPA_DRIVER_FLAGS_WIRED@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
	tst	w10, w9
	cset	w25, ne
	ldr	x23, [x8, #8]
	cbz	x23, LBB0_7
LBB0_10:
	mov	w26, w22
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x23, [x23, #16]
	cbz	x23, LBB0_7
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_wpas_network_disabled
	cbnz	w0, LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x23]
	cmp	x8, x26
	b.ne	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x1, [x23, #40]
	cbz	x1, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	mov	x2, x22
	bl	_os_memcmp
	cmp	x0, #0
	cset	w8, eq
	orr	w8, w8, w25
	tbnz	w8, #0, LBB0_17
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	cbz	w25, LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x23, #32]
	cbz	x8, LBB0_7
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x1, [x23, #24]
	ldr	w2, [x24]
	mov	x0, x21
	bl	_os_memcmp
	cbz	x0, LBB0_7
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_wpas_network_disabled
	cbnz	w0, LBB0_11
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x23, #32]
	cbz	x8, LBB0_11
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x23]
	cbnz	x8, LBB0_11
; %bb.22:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x1, [x23, #24]
	ldr	w2, [x24]
	mov	x0, x21
	bl	_os_memcmp
	cbnz	x0, LBB0_11
	b	LBB0_7
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_SSID_MAX_LEN,4,2               ; @SSID_MAX_LEN
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not read SSID from driver"

l_.str.1:                               ; @.str.1
	.asciz	"Could not read BSSID from driver"

	.comm	_WPA_DRIVER_FLAGS_WIRED,4,2     ; @WPA_DRIVER_FLAGS_WIRED
	.comm	_WPA_KEY_MGMT_WPS,4,2           ; @WPA_KEY_MGMT_WPS
.subsections_via_symbols
