	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw2100_wx_get_name
_ipw2100_wx_get_name:                   ## @ipw2100_wx_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_libipw_priv
	movq	_STATUS_ASSOCIATED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rbx), %edi
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_snprintf
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
LBB0_3:
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_IPW_DEBUG_WX
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_ASSOCIATED,4,2          ## @STATUS_ASSOCIATED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unassociated"

	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
L_.str.1:                               ## @.str.1
	.asciz	"IEEE 802.11b"

L_.str.2:                               ## @.str.2
	.asciz	"Name: %s\n"

	.no_dead_strip	_ipw2100_wx_get_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw2100_wx_get_name
_ipw2100_wx_get_name:                   ; @ipw2100_wx_get_name
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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	_libipw_priv
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _STATUS_ASSOCIATED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STATUS_ASSOCIATED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w0, [x19]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
LBB0_3:
	ldr	w1, [x19]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_IPW_DEBUG_WX
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_ASSOCIATED,4,2          ; @STATUS_ASSOCIATED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unassociated"

	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
l_.str.1:                               ; @.str.1
	.asciz	"IEEE 802.11b"

l_.str.2:                               ; @.str.2
	.asciz	"Name: %s\n"

	.no_dead_strip	_ipw2100_wx_get_name
.subsections_via_symbols
