	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism54_get_name
_prism54_get_name:                      ## @prism54_get_name
	.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	%rdx, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_islpci_get_state
	movq	_PRV_STATE_INIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.1:
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strncpy
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movq	_OID_INL_PHYCAPABILITIES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_mgt_get_request
	movl	%eax, %ebx
	movl	-24(%rbp), %eax
	cmpl	$128, %eax
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %rdx
	cmoveq	%rcx, %rdx
	cmpl	$129, %eax
	leaq	L_.str.1(%rip), %rsi
	cmovneq	%rdx, %rsi
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_strncpy
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRV_STATE_INIT,8,3             ## @PRV_STATE_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NOT READY!"

	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_OID_INL_PHYCAPABILITIES,4,2    ## @OID_INL_PHYCAPABILITIES
L_.str.1:                               ## @.str.1
	.asciz	"IEEE 802.11a/b/g"

L_.str.2:                               ## @.str.2
	.asciz	"IEEE 802.11b/g - FAA Support"

L_.str.3:                               ## @.str.3
	.asciz	"IEEE 802.11b/g"

	.no_dead_strip	_prism54_get_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism54_get_name
_prism54_get_name:                      ; @prism54_get_name
	.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	x19, x2
	bl	_netdev_priv
	mov	x20, x0
	bl	_islpci_get_state
Lloh0:
	adrp	x8, _PRV_STATE_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PRV_STATE_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strncpy
	mov	w20, #0
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _OID_INL_PHYCAPABILITIES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OID_INL_PHYCAPABILITIES@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x4, sp, #8
	mov	x0, x20
	mov	w2, #0
	mov	x3, #0
	bl	_mgt_get_request
	mov	x20, x0
Lloh11:
	adrp	x8, l_.str.3@PAGE
Lloh12:
	add	x8, x8, l_.str.3@PAGEOFF
	ldr	w9, [sp, #8]
Lloh13:
	adrp	x10, l_.str.2@PAGE
Lloh14:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w9, #128
Lloh15:
	adrp	x11, l_.str.1@PAGE
Lloh16:
	add	x11, x11, l_.str.1@PAGEOFF
	csel	x8, x10, x8, eq
	cmp	w9, #129
	csel	x1, x11, x8, eq
Lloh17:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_strncpy
LBB0_3:
	mov	x0, x20
	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	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PRV_STATE_INIT,8,3             ; @PRV_STATE_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NOT READY!"

	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_OID_INL_PHYCAPABILITIES,4,2    ; @OID_INL_PHYCAPABILITIES
l_.str.1:                               ; @.str.1
	.asciz	"IEEE 802.11a/b/g"

l_.str.2:                               ; @.str.2
	.asciz	"IEEE 802.11b/g - FAA Support"

l_.str.3:                               ; @.str.3
	.asciz	"IEEE 802.11b/g"

	.no_dead_strip	_prism54_get_name
.subsections_via_symbols
