	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fs_remove_slot
_fs_remove_slot:                        ## @fs_remove_slot
	.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	%rdi, %rbx
	callq	_has_power_file
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_hotplug_slot_attr_power@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sysfs_remove_file
LBB0_2:
	movq	%rbx, %rdi
	callq	_has_attention_file
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_hotplug_slot_attr_attention@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sysfs_remove_file
LBB0_4:
	movq	%rbx, %rdi
	callq	_has_latch_file
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_hotplug_slot_attr_latch@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sysfs_remove_file
LBB0_6:
	movq	%rbx, %rdi
	callq	_has_adapter_file
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_hotplug_slot_attr_presence@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sysfs_remove_file
LBB0_8:
	movq	%rbx, %rdi
	callq	_has_test_file
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_hotplug_slot_attr_test@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sysfs_remove_file
LBB0_10:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pci_hp_remove_module_link      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hotplug_slot_attr_power,4,2    ## @hotplug_slot_attr_power
	.comm	_hotplug_slot_attr_attention,4,2 ## @hotplug_slot_attr_attention
	.comm	_hotplug_slot_attr_latch,4,2    ## @hotplug_slot_attr_latch
	.comm	_hotplug_slot_attr_presence,4,2 ## @hotplug_slot_attr_presence
	.comm	_hotplug_slot_attr_test,4,2     ## @hotplug_slot_attr_test
	.no_dead_strip	_fs_remove_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fs_remove_slot
_fs_remove_slot:                        ; @fs_remove_slot
	.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, x0
	bl	_has_power_file
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, _hotplug_slot_attr_power@GOTPAGE
Lloh1:
	ldr	x1, [x1, _hotplug_slot_attr_power@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_file
LBB0_2:
	mov	x0, x19
	bl	_has_attention_file
	cbz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, _hotplug_slot_attr_attention@GOTPAGE
Lloh3:
	ldr	x1, [x1, _hotplug_slot_attr_attention@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_file
LBB0_4:
	mov	x0, x19
	bl	_has_latch_file
	cbz	x0, LBB0_6
; %bb.5:
Lloh4:
	adrp	x1, _hotplug_slot_attr_latch@GOTPAGE
Lloh5:
	ldr	x1, [x1, _hotplug_slot_attr_latch@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_file
LBB0_6:
	mov	x0, x19
	bl	_has_adapter_file
	cbz	x0, LBB0_8
; %bb.7:
Lloh6:
	adrp	x1, _hotplug_slot_attr_presence@GOTPAGE
Lloh7:
	ldr	x1, [x1, _hotplug_slot_attr_presence@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_file
LBB0_8:
	mov	x0, x19
	bl	_has_test_file
	cbz	x0, LBB0_10
; %bb.9:
Lloh8:
	adrp	x1, _hotplug_slot_attr_test@GOTPAGE
Lloh9:
	ldr	x1, [x1, _hotplug_slot_attr_test@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_file
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pci_hp_remove_module_link
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_hotplug_slot_attr_power,4,2    ; @hotplug_slot_attr_power
	.comm	_hotplug_slot_attr_attention,4,2 ; @hotplug_slot_attr_attention
	.comm	_hotplug_slot_attr_latch,4,2    ; @hotplug_slot_attr_latch
	.comm	_hotplug_slot_attr_presence,4,2 ; @hotplug_slot_attr_presence
	.comm	_hotplug_slot_attr_test,4,2     ; @hotplug_slot_attr_test
	.no_dead_strip	_fs_remove_slot
.subsections_via_symbols
