	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IsWlanAdapter                  ## -- Begin function IsWlanAdapter
	.p2align	4, 0x90
_IsWlanAdapter:                         ## @IsWlanAdapter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	_OID_GEN_PHYSICAL_MEDIUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_IOCTL_NDISUIO_QUERY_OID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rax
	leaq	-24(%rbp), %rdx
	movl	$16, %ecx
	movq	%rdx, %r8
	movl	$16, %r9d
	pushq	$0
	pushq	%rax
	callq	_DeviceIoControl
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	-24(%rbp), %rax
	movq	(%rax), %rax
	movq	_NdisPhysicalMediumWirelessLan@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OID_GEN_PHYSICAL_MEDIUM,4,2    ## @OID_GEN_PHYSICAL_MEDIUM
	.comm	_IOCTL_NDISUIO_QUERY_OID_VALUE,4,2 ## @IOCTL_NDISUIO_QUERY_OID_VALUE
	.comm	_NdisPhysicalMediumWirelessLan,8,3 ## @NdisPhysicalMediumWirelessLan
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IsWlanAdapter                  ; -- Begin function IsWlanAdapter
	.p2align	2
_IsWlanAdapter:                         ; @IsWlanAdapter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, _OID_GEN_PHYSICAL_MEDIUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OID_GEN_PHYSICAL_MEDIUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh3:
	adrp	x8, _IOCTL_NDISUIO_QUERY_OID_VALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IOCTL_NDISUIO_QUERY_OID_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	add	x4, sp, #8
	sub	x6, x29, #4
	mov	w3, #16
	mov	w5, #16
	mov	x7, #0
	bl	_DeviceIoControl
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x9, [sp, #8]
Lloh8:
	adrp	x10, _NdisPhysicalMediumWirelessLan@GOTPAGE
Lloh9:
	ldr	x10, [x10, _NdisPhysicalMediumWirelessLan@GOTPAGEOFF]
	ldr	x9, [x9]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	adrp	x11, _TRUE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _TRUE@GOTPAGEOFF]
	cmp	x9, x10
	csel	x8, x11, x8, eq
LBB0_2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OID_GEN_PHYSICAL_MEDIUM,4,2    ; @OID_GEN_PHYSICAL_MEDIUM
	.comm	_IOCTL_NDISUIO_QUERY_OID_VALUE,4,2 ; @IOCTL_NDISUIO_QUERY_OID_VALUE
	.comm	_NdisPhysicalMediumWirelessLan,8,3 ; @NdisPhysicalMediumWirelessLan
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
