	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw2100_pci_remove_one
_ipw2100_pci_remove_one:                ## @ipw2100_pci_remove_one
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_pci_get_drvdata
	movq	%rax, %rbx
	movq	24(%rax), %r14
	leaq	12(%rax), %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	_STATUS_INITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 16(%rbx)
	movq	_ipw2100_attribute_group@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_remove_group
	movq	%rbx, %rdi
	callq	_ipw2100_down
	movq	%r12, %rdi
	callq	_mutex_unlock
	movq	%r14, %rdi
	callq	_unregister_netdev
	movq	%rbx, %rdi
	callq	_ipw2100_kill_works
	movq	%rbx, %rdi
	callq	_ipw2100_queues_free
	movq	%rbx, %rdi
	callq	_ipw2100_snapshot_free
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movl	8(%rbx), %esi
	movq	%r15, %rdi
	callq	_pci_iounmap
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	callq	_wiphy_unregister
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_kfree
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_free_libipw
	movq	%r15, %rdi
	callq	_pci_release_regions
	movq	%r15, %rdi
	callq	_pci_disable_device
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IPW_DEBUG_INFO                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_INITIALIZED,4,2         ## @STATUS_INITIALIZED
	.comm	_ipw2100_attribute_group,4,2    ## @ipw2100_attribute_group
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"exit\n"

	.comm	_ipw2100_firmware,8,3           ## @ipw2100_firmware
	.no_dead_strip	_ipw2100_pci_remove_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw2100_pci_remove_one
_ipw2100_pci_remove_one:                ; @ipw2100_pci_remove_one
	.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	x19, x0
	bl	_pci_get_drvdata
	mov	x21, x0
	ldr	x20, [x0, #24]
	add	x22, x0, #12
	mov	x0, x22
	bl	_mutex_lock
Lloh0:
	adrp	x8, _STATUS_INITIALIZED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATUS_INITIALIZED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x21, #16]
	bic	w8, w9, w8
	str	w8, [x21, #16]
Lloh3:
	adrp	x1, _ipw2100_attribute_group@GOTPAGE
Lloh4:
	ldr	x1, [x1, _ipw2100_attribute_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
	mov	x0, x21
	bl	_ipw2100_down
	mov	x0, x22
	bl	_mutex_unlock
	mov	x0, x20
	bl	_unregister_netdev
	mov	x0, x21
	bl	_ipw2100_kill_works
	mov	x0, x21
	bl	_ipw2100_queues_free
	mov	x0, x21
	bl	_ipw2100_snapshot_free
	ldr	w0, [x20]
	mov	x1, x21
	bl	_free_irq
	ldr	w1, [x21, #8]
	mov	x0, x19
	bl	_pci_iounmap
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	bl	_wiphy_unregister
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_kfree
	mov	x0, x20
	mov	w1, #0
	bl	_free_libipw
	mov	x0, x19
	bl	_pci_release_regions
	mov	x0, x19
	bl	_pci_disable_device
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	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
	b	_IPW_DEBUG_INFO
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_INITIALIZED,4,2         ; @STATUS_INITIALIZED
	.comm	_ipw2100_attribute_group,4,2    ; @ipw2100_attribute_group
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"exit\n"

	.comm	_ipw2100_firmware,8,3           ; @ipw2100_firmware
	.no_dead_strip	_ipw2100_pci_remove_one
.subsections_via_symbols
