	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism54_get_essid
_prism54_get_essid:                     ## @prism54_get_essid
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	callq	_netdev_priv
	movq	_DOT11_OID_SSID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-40(%rbp), %r8
	movq	%rax, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_mgt_get_request
	movl	%eax, %r15d
	movq	-40(%rbp), %rbx
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	$1, (%r12)
	movq	_IW_ESSID_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_min
	jmp	LBB0_3
LBB0_2:
	movl	$0, (%r12)
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, 8(%r12)
	movq	(%rbx), %rcx
	movb	$0, (%rcx,%rax)
	movq	(%rbx), %rsi
	movq	8(%r12), %rdx
	movq	%r14, %rdi
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_kfree
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DOT11_OID_SSID,4,2             ## @DOT11_OID_SSID
	.comm	_IW_ESSID_MAX_SIZE,8,3          ## @IW_ESSID_MAX_SIZE
	.no_dead_strip	_prism54_get_essid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism54_get_essid
_prism54_get_essid:                     ; @prism54_get_essid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x20, x2
	bl	_netdev_priv
Lloh0:
	adrp	x8, _DOT11_OID_SSID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DOT11_OID_SSID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x4, sp, #8
	mov	w2, #0
	mov	x3, #0
	bl	_mgt_get_request
	mov	x21, x0
	ldr	x22, [sp, #8]
	ldr	x1, [x22, #8]
	cbz	x1, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x20]
Lloh3:
	adrp	x8, _IW_ESSID_MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IW_ESSID_MAX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_min
	b	LBB0_3
LBB0_2:
	mov	x0, #0
	str	wzr, [x20]
LBB0_3:
	str	x0, [x20, #8]
	ldr	x8, [x22]
	strb	wzr, [x8, x0]
	ldr	x1, [x22]
	ldr	x2, [x20, #8]
	mov	x0, x19
	bl	_memcpy
	mov	x0, x22
	bl	_kfree
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DOT11_OID_SSID,4,2             ; @DOT11_OID_SSID
	.comm	_IW_ESSID_MAX_SIZE,8,3          ; @IW_ESSID_MAX_SIZE
	.no_dead_strip	_prism54_get_essid
.subsections_via_symbols
