	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpiphp_enable_slot            ## -- Begin function acpiphp_enable_slot
	.p2align	4, 0x90
_acpiphp_enable_slot:                   ## @acpiphp_enable_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pci_lock_rescan_remove
	movl	(%r14), %eax
	movq	_SLOT_IS_GOING_AWAY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_pci_unlock_rescan_remove
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	movq	_SLOT_ENABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_enable_slot
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pci_unlock_rescan_remove
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SLOT_IS_GOING_AWAY,4,2         ## @SLOT_IS_GOING_AWAY
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_SLOT_ENABLED,4,2               ## @SLOT_ENABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpiphp_enable_slot            ; -- Begin function acpiphp_enable_slot
	.p2align	2
_acpiphp_enable_slot:                   ; @acpiphp_enable_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	_pci_lock_rescan_remove
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _SLOT_IS_GOING_AWAY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SLOT_IS_GOING_AWAY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	bl	_pci_unlock_rescan_remove
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
Lloh6:
	adrp	x9, _SLOT_ENABLED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SLOT_ENABLED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	bl	_enable_slot
LBB0_4:
	bl	_pci_unlock_rescan_remove
	mov	w0, #0
LBB0_5:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SLOT_IS_GOING_AWAY,4,2         ; @SLOT_IS_GOING_AWAY
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_SLOT_ENABLED,4,2               ; @SLOT_ENABLED
.subsections_via_symbols
