	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function islpci_open
_islpci_open:                           ## @islpci_open
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_islpci_reset
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_prism54_bring_down
	jmp	LBB0_6
LBB0_2:
	movq	%r14, %rdi
	callq	_netif_start_queue
	movq	(%rbx), %rax
	movq	_IW_MODE_INFRA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_IW_MODE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	callq	_netif_carrier_on
	jmp	LBB0_6
LBB0_4:
	movq	%r14, %rdi
	callq	_netif_carrier_off
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IW_MODE_INFRA,8,3              ## @IW_MODE_INFRA
	.comm	_IW_MODE_ADHOC,8,3              ## @IW_MODE_ADHOC
	.no_dead_strip	_islpci_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function islpci_open
_islpci_open:                           ; @islpci_open
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	mov	w1, #1
	bl	_islpci_reset
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_prism54_bring_down
	b	LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_netif_start_queue
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _IW_MODE_INFRA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IW_MODE_INFRA@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IW_MODE_ADHOC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IW_MODE_ADHOC@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	mov	x0, x20
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.3:
	bl	_netif_carrier_off
	b	LBB0_5
LBB0_4:
	bl	_netif_carrier_on
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IW_MODE_INFRA,8,3              ; @IW_MODE_INFRA
	.comm	_IW_MODE_ADHOC,8,3              ; @IW_MODE_ADHOC
	.no_dead_strip	_islpci_open
.subsections_via_symbols
