	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_driver_ndis_get_ssid
_wpa_driver_ndis_get_ssid:              ## @wpa_driver_ndis_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_OID_802_11_SSID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movl	$8, %ecx
	callq	_ndis_get_oid
	cmpl	$3, %eax
	jg	LBB0_4
## %bb.1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.3:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	movl	-24(%rbp), %edx
	movl	-20(%rbp), %esi
	movq	%r14, %rdi
	callq	_os_memcpy
	movl	-24(%rbp), %eax
	jmp	LBB0_5
LBB0_2:
	movl	$-1, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OID_802_11_SSID,4,2            ## @OID_802_11_SSID
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NDIS: Failed to get SSID"

L_.str.1:                               ## @.str.1
	.asciz	"NDIS: Allow get_ssid failure with a wired interface"

	.no_dead_strip	_wpa_driver_ndis_get_ssid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_driver_ndis_get_ssid
_wpa_driver_ndis_get_ssid:              ; @wpa_driver_ndis_get_ssid
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _OID_802_11_SSID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OID_802_11_SSID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	w3, #8
	bl	_ndis_get_oid
	cmp	w0, #3
	b.gt	LBB0_3
; %bb.1:
Lloh3:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x20]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	ldp	w2, w1, [sp, #8]
	mov	x0, x20
	bl	_os_memcpy
	ldr	w0, [sp, #8]
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OID_802_11_SSID,4,2            ; @OID_802_11_SSID
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NDIS: Failed to get SSID"

l_.str.1:                               ; @.str.1
	.asciz	"NDIS: Allow get_ssid failure with a wired interface"

	.no_dead_strip	_wpa_driver_ndis_get_ssid
.subsections_via_symbols
